Gift Card
Info
Inherits from kDataObject\kDataBasic
Properties
|
Name |
Type |
Label |
List |
Owned |
Cluster |
Mandatory |
Unique |
Note |
|---|---|---|---|---|---|---|---|---|
|
Barcode |
Barcode |
|
|
(A) |
||||
|
BarcodeType |
Barcode Type |
- |
(A) |
|||||
|
Group |
Gift Card Group |
|
||||||
|
Status |
Status |
|
||||||
|
IssuedByStore |
Issued by Store |
- |
||||||
|
IssueDate |
Date of Issue |
- |
||||||
|
ExpiryDate |
Expiry Date |
- |
||||||
|
FirstUsed |
Date/Time of the first Transaction |
- |
||||||
|
LastUsed |
Date/Time of the last Transaction |
- |
||||||
|
AccountBalance |
Account Balance |
- |
||||||
|
AccountBalance.Value |
Amount |
- |
||||||
|
AccountBalance.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
Balance |
Available Balance |
- |
||||||
|
Balance.Value |
Amount |
- |
||||||
|
Balance.Currency |
Currency |
- |
mandatory(true) {TODO: Mandatory only if Value<>0} |
|||||
|
LoyaltyCustomer |
Customer |
- |
||||||
|
ExternalId |
ExternalId |
- |
||||||
|
Reference |
Reference |
- |
||||||
|
ReferenceLine |
Reference Line |
- |
||||||
|
Batch |
GiftCard Batch |
- |
||||||
|
Carnet |
Carnet |
- |
||||||
|
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
Autocoderoles
|
Property |
Ignore user input |
When |
Code part |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Type |
Value |
Start |
Length |
Fill Char |
Dir |
Seq. Suf. |
Prefix |
Limit Len |
|||
|
code |
|
insert |
property |
Group.StandardPrefix |
4 |
||||||
|
sequence |
basegiftcardseq |
8 |
0 |
left |
Group.StandardPrefix |
||||||
|
random |
999 |
0 |
3 |
0 |
left |
||||||
|
checksum |
gtin-16 |
||||||||||
|
barcode |
|
insert |
property |
code |
|||||||
|
barcodetype |
|
insert |
fixed |
2 |
|||||||
(I) : Autocoderole is defined in parent class
Events
|
When |
Method Name |
Module |
Parameters |
On |
Off |
Asynch |
|---|---|---|---|---|---|---|
|
afterinsert |
OmniCommerce_GiftCard_EventChanged |
kOmniCommerce |
||||
|
afterupdate |
OmniCommerce_GiftCard_EventChanged |
kOmniCommerce |
Balance,LastModifiedBy,LastModifiedDate,RevisionNumber |
|||
|
beforeinsert (I) |
OnInitWorkFlow |
kCoreServices |
||||
|
afterinsert (I) |
AutoTransition |
kCoreServices |
||||
|
afterupdate (I) |
AutoTransition |
kCoreServices |
workflowstatus |
(I) : Event is defined in parent class
IncrementalSearch
-
class : kGiftCard
-
searchproperty : code
-
displayproperties : code
-
displaytextproperties : code
Used By
|
Class |
Property |
|---|---|
| kOmniGiftCardAuthTransaction |
GiftCard |
| kLoyaltyAppPushNotificationRequest |
Gift |
| kOmniCartPaymentLine |
GiftCard |
| kGiftCardTransaction |
GiftCard |
| kBookingReservation |
RefundGiftCard |
| kCarnet |
GiftCards |