kPromoDefinition
Promo Definition
Info
Inherits from kDataObject\kDataBasic
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| PromoType | tkPromoType | Promotion Type | ||||||
| ReceiptDescription | tkShortDescription | Description on Receipt | - | |||||
| ReceiptDescriptionTranslatable | tkTranslatableShortDescription | Description on Receipt | - | |||||
| Group | kPromoGroup | - | ||||||
| SalesPromo | kPromotion | - | ||||||
| Priority | tkSequence | Priority: 1=Lowest | ||||||
| Enabled | tkPromoEnabled | Enabled | ||||||
| TransactionUsageLimit | tkInteger | Usage Limit in a single Transaction | - | |||||
| UsageLimitRule | kPromoEngineUsageLimitRule | Usage Limit Rule | - | |||||
| PeriodUsageLimit | tkInteger | Usage Limit in a period | - | |||||
| PeriodUsageLimitTarget | tkPromoUsageLimitTarget | Usage Limit Target | - | |||||
| PeriodUsageLimitStores | kStore | Usage Limit Stores | List | Not Owned | - | |||
| PeriodUsageLimitPromoDefinitions | kPromoCumulateException | Usage Limit Promo Definition | List | Owned | - | |||
| PeriodUsageLimitOnDeliveryDate | tkYesNo | Usage Limit On Delivery Date | - | |||||
| PeriodDateStartFormula | tkDateFormula | Period Start Formula | - | |||||
| PeriodDateEndFormula | tkDateFormula | Period End Formula | - | |||||
| Triggers | kPromoTrigger | List | Owned | - | ||||
| TriggersCondition | tkTriggerConditions | Trigger components condition | - | |||||
| RecursiveCountOperator | tkCumulativeCountOperator | Cumulative Count Operator | - | |||||
| Benefits | kPromoBenefit | List | Owned | - | ||||
| LoyaltyCustomers | kLoyaltyCustomer | Loyalty Customers | - | |||||
| Customers | kCustomer | Customers | - | |||||
| CumulateWithOtherPromos | tkYesNo | Cumulate with other promos | ||||||
| CumulateExceptions | kPromoCumulateException | List | Owned | - | ||||
| AvailableToSuspendedCustomers | tkYesNo | Available To Suspended Customers | - | |||||
| StrictlyNotCumulative | tkYesNo | Strictly not Cumulative with other promos | - | |||||
| CleanTriggersNotInvolved | tkYesNo | Apply benefit only to trigger lines with quantity/amount equal to recursivity count | - | |||||
| ExcludePromoItems | tkYesNo | Exclude Items with Promotional Prices | - | |||||
| ForcePromoChoice | tkYesNo | Force Promo Choice between promo with same priority | - | |||||
| Inherited from kDataBasic | ||||||||
| Code | tkCode | Code | ||||||
| Description | tkTranslatableDescription | Description | - | |||||
| Remark | kRemark | Remark | Owned | - | ||||
| 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 : kPromoDefinition
- searchproperty : code
- displayproperties : code,description
- displaytextproperties : code,description
Used By
| Class | Property |
|---|---|
| kPromoCumulateException | Promo |
| kBookingReservationCheckinDisabledRules | ResPromoDefinition |
| kPromoLink | Definition |
| kBookingReservationDiscountLine | PromoEngineDefinition |
| kPromoRaffleTicket | AllocationPromoDefinition |
| kPromoDefinitionUsage | PromoDefinition |