Previous Topic

Next Topic

PPRuleData

property BaseCost: String(1) [PPBaseCost] heat 2
Values: C (Cost), D (Discounted Cost)

property BOF: Boolean readonly

property Break: Object readonly

property BypassZeroCost: Boolean [Boolean] heat 2

property ClassName: String readonly

property Comment: String(60) [Description] heat 2

property CreatedDate: Date readonly calculated

property CreatedTime: Date readonly calculated

property CreatedTimestamp: Date readonly heat 1

property CreatedUserCode: String(8) [CO User Code] readonly heat 1

property CurrencyCode: String(3) [CO Currency Code] required heat 2

property Editing: Boolean readonly

property EndDate: Date heat 3

property EOF: Boolean readonly

property Fields: Object readonly

property FieldsIndex: Variant readonly

property FilterSort: Object readonly

property HasQuantityBreaks: Boolean [Boolean] heat 3

property Inactive: Boolean [Boolean] heat 4

property IndexName: String
ValueIndex Fields
RuleRuleID
ActiveWhoWhatWhereInactive;Who1Type;Who1Code;Who2Type;Who2Code;What1Type;What1Code;What2Type;What2Code;Where1Type;Where1Code
ActiveWho1Inactive;Who1Type;Who1Code
ActiveWho2Inactive;Who2Type;Who2Code
ActiveWhat1Inactive;What1Type;What1Code
ActiveWhat2Inactive;What2Type;What2Code
ActiveWhere1Inactive;Where1Type;Where1Code

property ModifiedDate: Date readonly calculated

property ModifiedTime: Date readonly calculated

property ModifiedTimestamp: Date readonly heat 3

property ModifiedUserCode: String(8) [CO User Code] readonly heat 3

property Name: String

property Priority: Number [SmallInt] heat 3

property RecNo: Number [Integer]

property RecordCount: Number [Integer] readonly

property RecordMax: Number [Integer] readonly

property RecordRevision: Number [Record Revision] readonly heat 9

property Reference: String(30) [Reference] heat 2

property RuleID: Number [PP Rule ID] required heat 1

property RuleType: String(1) [PPRuleType] required heat 2
Values: F (Fixed), C (Cost Relative)

property StartDate: Date heat 3

property UOMQuantity: Boolean [Boolean] heat 3

property What1Code: String(28) [What Code] heat 3

property What1Type: String(1) [PPWhat] heat 3
Values: P (Product), G (Stock Group), 1 (IC Category 1), 2 (IC Category 2), N (None)

property What2Code: String(28) [What Code] heat 2

property What2Type: String(1) [PPWhat] heat 2
Values: P (Product), G (Stock Group), 1 (IC Category 1), 2 (IC Category 2), N (None)

property Where1Code: String(8) [Where Code] heat 2

property Where1Type: String(1) [PPWhere] heat 2
Values: B (Branch), L (Location), D (Department), N (None)

property Who1Code: String(20) [Who Code] heat 3

property Who1Type: String(1) [PPWho] heat 3
Values: C (Creditor), G (Creditor Group), 1 (AP Category 1), 2 (AP Category 2), 3 (PO Category 1), 4 (PO Category 2), N (None)

property Who2Code: String(20) [Who Code] heat 2

property Who2Type: String(1) [PPWho] heat 2
Values: C (Creditor), G (Creditor Group), 1 (AP Category 1), 2 (AP Category 2), 3 (PO Category 1), 4 (PO Category 2), N (None)

method Cancel

method CancelRange

method Delete

method Edit

method Find(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant]): Boolean

method FindExact(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant]): Boolean

method First

method GetFieldDomain(FieldName: String): String

method GetPropertyValue(PropertyName: String): Variant

method Insert

method Last

method Next

method Prev

method PropertyType(PropertyName: String): String

method Refresh

method Save

method SetPropertyValue(PropertyName: String, Value: Variant)

method SetRange(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant])

method SetRangeEnd(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant])

method SetRangeStart(Value1: Variant[, Value2: Variant, Value3: Variant, Value4: Variant])