Skip to content

Selection Definition

Attribute Type Read Only Description
id int true Selection ID.
machineId int true Link to Machine.
productId int false Link to the Product in the selection.
price decimal false The price of the selection.
invoicePrice decimal false If invoicing is enabled, cost added per product in selection to the invoice.
restockTo int false The level to which a selection should be restocked to. Must be 0 <= restockTo <= depth.
depth int false The maximum quantity of product the selection can hold.
count int false The quantity of product currently in the selection.
isActive bool false Determines if the selection is active. Primarily indicates if we believe there may be a problem with the motor for this selection.
alertLevel int false Level at which an alert will be generated. Must be 0 <= alertLevel <= restockAt.
restockAt int false The level at which product should be restocked. Must be alertLevel <= criticalLevel <= restockTo.
freeCount int false The quantity of product available in selection to be dispensed for free.
tax decimal? false Tax percentage, only applied if machine.useMachineTaxRate is false and organization.ChargeTax is true.
commission decimal false Commission percentage, only applied if machine.useMachineCommissionRate is false.
selectionNumber string false Hardware based selection identifier.
friendlyNumber string true Custom mapping for selectionNumber (such as A1).