Enable trackers
YAML
preferences:
enable: [ feature_trackers ]
Create the Gift Certificates Tracker
YAML
objects:
-
type: tracker
ref: tracker_7
data:
name: Gift Certificates
sort_default_field: modification
-
type: tracker_field
ref: field_70
data:
name: Gift Certificate ID
tracker: $tracker_7
options: ,,,itemId
type: auto_increment
flags: [link, public]
is_tbl_visible: y
-
type: tracker_field
ref: field_68
data:
name: Name
tracker: $tracker_7
type: text_field
order: 5
flags: [link, public]
-
type: tracker_field
ref: field_64
data:
name: Type
tracker: $tracker_7
options: Cash,Product,Product Class,Product Bundle,Bundle Class
type: dropdown
order: 10
flags: [link, public]
-
type: tracker_field
ref: field_65
data:
name: Balance Original
tracker: $tracker_7
type: currency
order: 20
flags: [link, public]
-
type: tracker_field
ref: field_66
data:
name: Balance Current
tracker: $tracker_7
type: currency
order: 30
flags: [link, public]
-
type: tracker_field
ref: field_67
data:
name: Origination
tracker: $tracker_7
options: Order,Employee
type: dropdown
order: 40
flags: [link, public]
-
type: tracker_field
ref: field_69
data:
name: Order ID
tracker: $tracker_7
type: numeric
order: 60
flags: [link, public]
-
type: tracker_field
ref: field_71
data:
name: Redeem Code
tracker: $tracker_7
type: text_field
order: 70
flags: [link, public]