kReceiptPriceModifier
Receipt Discounts & Promos
Info
Inherits from kDataObject
Abstract
Note
//TODO: Should be abstract
Properties
Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
---|---|---|---|---|---|---|---|---|
LineNumber | tkInteger | Receipt Line Number | - | Line Number is shared with all other child classes of kReceipt | ||||
Type | tkReceiptPriceModifierType | Type | - | |||||
ModifierSource | tkReceiptPriceModifierSource | Origin | - | |||||
PromotionalCampaign | kPromotionalCampaign | Promotional Campaign | - | |||||
Promotion | kPromotion | Promotion | - | |||||
Reason | kSalesDiscountReasonCode | Reason | - | |||||
Amount | tkAmount | Total Amount | - | |||||
Amount.Value | tkValue | Amount | - | |||||
Amount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
Percentage | tkValue | Percentage | - | |||||
Coupon | kCoupon | Coupon | - | |||||
LoyaltyTransaction | kLoyaltyTransaction | Loyalty Transaction | - | |||||
Remark | kRemark | Remark | Owned | - | ||||
FreeofCharge | tkYesNo | - | ||||||
Description | tkTranslatableDescription | Description | - | |||||
Inherited from kDataObject | ||||||||
Id | tkUnique | Id | ||||||
ClassName | tkCode | Class Name | ||||||
CreatedBy | tkCode | Created BY | - | |||||
LastModifiedBy | tkCode | Last Modified By | - | |||||
CreatedDate | tkDateTime | Created Date | - | |||||
LastModifiedDate | tkDateTime | Last Modified Date | - | |||||
RevisionNumber | tkInteger | Revision Number | - | |||||
WorkflowStatus | kWorkflowStatus | Workflow Status | - | |||||
OwnedOnRequest | tkYesNo | Is owned on request | - | |||||
Origin | kSystem | Origin | - | |||||
LastModifiedProcess | tkGuid | Last process | - |
(E) : Type have an event assigned to it, look at type documentation for mode details
(A) : Property have an autocoderole, look autocoderole grid for mode details
Events
When | Method Name | Module | Parameters | On | Off | Asynch |
---|---|---|---|---|---|---|
beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
afterinsert (I) | AutoTransition | kCoreServices | ||||
afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
- class : kReceiptPriceModifier
- searchproperty : Id,LineNumber
- displayproperties : id,LineNumber
- displaytextproperties : Id,ParentId.Code,LineNumber
Inherited
- kReceipt_PriceModifiers
- And 1 more
Used By
Class | Property |
---|---|
kReceipt | PriceModifiers |