kCoupon
Coupon
Info
Inherits from kDataObject\kDataBasic
Properties
Name | Type | Label | List | Owned | Cluster | Mandatory | Unique | Note |
---|---|---|---|---|---|---|---|---|
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 | - | |||||
Extension | ||||||||
Booking | ||||||||
Location | kBookingLocation | Booking Location | List | Not Owned | - | |||
Channel | kBookingChannel | Channel | List | Not Owned | - | |||
AvailabilityRanges | kBookingServiceDateRangesLine | Available from | List | Owned | - | |||
ChannelShowBanner | kBookingChannel | Show Banner on Channel | List | Not Owned | - | |||
HideCouponCodeInReservation | tkYesNo | Hide Coupon Code In Reservation | - | |||||
MultiUseCouponInReservation | tkYesNo | Use Coupon multiple time in a reservation | - | |||||
MultiUseLimit | tkSmallIntPositive | Multiple use limit | - | |||||
RequireHumanCheck | tkYesNo | Require Human Check | - |
(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 | insert | fixed | VIBECODE | ||||||||
sequence | couponno | 7 | 0 | left | |||||||
fixed | B |
Events
When | Method Name | Module | Parameters | On | Off | Asynch |
---|---|---|---|---|---|---|
afterupdate | OmniCommerce_Coupon_EventChanged | kOmniCommerce | ||||
afterupdate | SendToCuda | kVNDC | Status | |||
beforeinsert (I) | OnInitWorkFlow | kCoreServices | ||||
afterinsert (I) | AutoTransition | kCoreServices | ||||
afterupdate (I) | AutoTransition | kCoreServices | workflowstatus |
IncrementalSearch
- class : kCoupon
- searchproperty : barcode
- displayproperties : barcode,description
- displaytextproperties : barcode,description
Inherited
- kReceipt_Benefits_IssuedCoupons
- And 11 more
Used By
Class | Property |
---|---|
kReceiptBenefit | Coupon |
kReceiptBenefit | IssuedCoupons |
kLoyaltyAppPushNotificationRequest | Coupon |
kSalesDiscount | Coupon |
kCouponLoyaltyCustomerAssociation | Coupon |
kOmniCartPaymentLine | Coupon |
kBeaconTransaction | Coupon |
kBusinessDocumentDiscount | Coupon |
kReceiptLine | Coupon |
kReceiptPriceModifier | Coupon |
kReceiptPayment | Coupon |