Coupon Generation Rule
Info
Inherits from kDataObject\kDataBasic
Properties
|
Name |
Type |
Label |
List |
Owned |
Cluster |
Mandatory |
Unique |
Note |
|---|---|---|---|---|---|---|---|---|
|
StartAt |
Rule Start Date |
- |
||||||
|
EndAt |
Rule End Date |
- |
||||||
|
StartValidityFormula |
Coupon Validity Start Formula |
- |
||||||
|
EndValidityFormula |
Coupon Validity End Formula |
- |
||||||
|
DiscountAmount |
Amount of Discount |
- |
||||||
|
DiscountAmount.Value |
Amount |
- |
||||||
|
DiscountAmount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
DiscountPercentage |
Percentage of Discount |
- |
||||||
|
DiscountMethod |
Discount Method |
- |
||||||
|
CouponType |
Coupon Type |
- |
||||||
|
MaxAmount |
Discount Max Amount |
- |
||||||
|
MaxAmount.Value |
Amount |
- |
||||||
|
MaxAmount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
MinReceiptAmount |
Min Receipt Amount |
- |
||||||
|
MinReceiptAmount.Value |
Amount |
- |
||||||
|
MinReceiptAmount.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
MinReceiptPercentage |
Min Receipt Discount Percentage |
- |
||||||
|
IgnorePromotion |
Ignore Promotional sales |
- |
||||||
|
MinAmountCalcType |
Minimum amount calculation type |
- |
||||||
|
Stores |
Enabled Store Cluster |
|
- |
|||||
|
Products |
Enabled Product Cluster |
|
- |
|||||
|
Combinable |
Combinable with other Coupons |
- |
||||||
|
ManualIssueAllowed |
Manual Issuing allowed |
- |
||||||
|
BarcodeType |
Barcode Generation Type |
- |
||||||
|
UsageLocationRestriction |
Locations restrictions |
- |
||||||
|
MustReadCard |
Only for Loyalty Customer |
- |
||||||
|
WeekdayValidity |
Weekdays validity |
- |
||||||
|
WeekdayValidity.Monday |
Monday |
- |
||||||
|
WeekdayValidity.Tuesday |
Tuesday |
- |
||||||
|
WeekdayValidity.Wednesday |
Wednesday |
- |
||||||
|
WeekdayValidity.Thursday |
Thursday |
- |
||||||
|
WeekdayValidity.Friday |
Friday |
- |
||||||
|
WeekdayValidity.Saturday |
Saturday |
- |
||||||
|
WeekdayValidity.Sunday |
Sunday |
- |
||||||
|
Inherited from kDataBasic |
||||||||
|
Code |
Code |
|
|
|||||
|
Description |
Description |
- |
||||||
|
Remark |
Remark |
Owned |
- |
|||||
|
Inherited from kDataObject |
||||||||
|
Id |
Id |
|
|
|||||
|
ClassName |
Class Name |
- |
||||||
|
CreatedBy |
Created by |
- |
||||||
|
LastModifiedBy |
Last Modified By |
- |
||||||
|
CreatedDate |
Created Date |
- |
||||||
|
LastModifiedDate |
Last Modified Date |
- |
||||||
|
RevisionNumber |
Revision Number |
- |
||||||
|
WorkflowStatus |
Workflow Status |
- |
||||||
|
OwnedOnRequest |
Is owned upon request |
- |
||||||
|
Origin |
Origin |
- |
||||||
|
LastModifiedProcess |
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 |
(I) : Event is defined in parent class
IncrementalSearch
Inherited from kDataBasic
-
class : kDataBasic
-
searchproperty : description,code
-
displayproperties : code,description
Used By
|
Class |
Property |
|---|---|
| kCrm_ComunicationHeader |
CouponGenerationRule |
| kCrm_RecurrentCommunicationTemplate |
CouponGenerationRule |
| kCouponRule |
CouponGenerationRule |
| kPromoBenefit |
CouponGenerationRule |