kPromoTrigger
Promo Trigger
Info
Inherits from kDataObject
Abstract
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Type | tkPromoTriggerType | |||||||
| SelectRule | tkPromoSelectRule | |||||||
| ProductCluster | kProduct | Product Cluster | On Request | - | ||||
| ProductsQuantity | tkQuantity | Products Quantity >= | - | |||||
| ProductsQuantity.Value | tkValue | Quantity | - | |||||
| ProductsQuantity.UnitOfMeasure | kUnitOfMeasure | UOM | - | TODO: true only if tkvalue<>0 | ||||
| ProductsAmount | tkAmount | Products Amount >= | - | |||||
| ProductsAmount.Value | tkValue | Amount | - | |||||
| ProductsAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| QuantityOnSameProduct | tkYesNo | Quantity on same product | - | |||||
| IgnoreInRecursiveCount | tkYesNo | Ignore in recursive count | - | |||||
| IgnoreInCumulativeLogic | tkYesNo | Ignore in cumulative logic | - | |||||
| CouponTypes | kPromoCouponType | Coupon Types | List | Owned | - | |||
| TenderTypes | kPromoTenderType | Tender Types | List | 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
Inherited from kDataObject
- class : kDataObject
- searchproperty : id
- displayproperties : id,ClassName
- displaytextproperties : id,ClassName
Inherited
- kPromoDefinition_Triggers
- And 1 more
Used By
| Class | Property |
|---|---|
| kPromoDefinition | Triggers |