kReceipt_Benefits_IssuedCoupons
kReceipt_Benefits_IssuedCoupons
Info
Inherits from kDataObject\kDataBasic\kCoupon
Properties
| Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
|---|---|---|---|---|---|---|---|---|
| Inherited from kCoupon | ||||||||
| StandardPrefix | tkShortString | Standard Prefix | - | |||||
| Barcode | tkCode | Barcode | ||||||
| BarcodeType | tkLoyaltyBarcodeType | Barcode Type | - | |||||
| CouponType | kCouponType | Coupon Type | ||||||
| StartDate | tkDateTime | Start Date | - | |||||
| EndDate | tkDateTime | End Date | - | |||||
| DiscountAmount | tkAmount | Amount of Discount | - | |||||
| DiscountAmount.Value | tkValue | Amount | - | |||||
| DiscountAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| DiscountPercentage | tkPercentage | Percentage of Discount | - | |||||
| DiscountMethod | tkCouponDiscountMethod | Method of Discount Application | - | |||||
| Status | tkCouponStatus | Status | - | |||||
| UnlimitedUse | tkYesNo | Unlimited Use | - | |||||
| LoyaltyCustomer | kLoyaltyCustomer | Loyalty Customer | - | |||||
| MinPurchaseAmount | tkAmount | Min Purchase Amount | - | |||||
| MinPurchaseAmount.Value | tkValue | Amount | - | |||||
| MinPurchaseAmount.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| MaxDiscountValue | tkAmount | Max Discount Value | - | |||||
| MaxDiscountValue.Value | tkValue | Amount | - | |||||
| MaxDiscountValue.Currency | kCurrency | Currency | - | mandatory(true) {TODO: Mandatory only if Value<>0} | ||||
| UsedInStore | kStore | Used In Store | - | |||||
| IssueStore | kStore | Issued Store | - | |||||
| RedeemedDocumentReference | tkDescription | Redeemed Document Reference | - | |||||
| IssuedDocumentReference | tkDescription | Issued Document Reference | - | |||||
| Batch | kCouponBatch | Coupon Batch | - | |||||
| 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
Autocoderoles
| Property | Ignore user input | When | Code part | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Value | Start | Length | Fill Char | Dir | Seq. Suf. | Prefix | Limit Len | |||
| code (I) | insert | fixed | VIBECODE | ||||||||
| sequence | couponno | 7 | 0 | left | |||||||
| fixed | B | ||||||||||
Events
| When | Method Name | Module | Parameters | On | Off | Asynch |
|---|---|---|---|---|---|---|
| afterupdate (I) | OmniCommerce_Coupon_EventChanged | kOmniCommerce | ||||
| afterupdate (I) | SendToCuda | kVNDC | Status | |||
| beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
| afterinsert (I) | AutoTransition | kCoreServices | ||||
| afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
Inherited from kCoupon
- class : kCoupon
- searchproperty : barcode
- displayproperties : barcode,description
- displaytextproperties : barcode,description