A class that represents a list back order.
List back orders represent pull requests that are waiting to be fulfilled.flags | The flags used by this back order. |
labelProperties | Use your own named properties to get/set label values. |
labels | Accesses a node's labels as nodes. |
numRequested | The number of things this back order is requesting. |
numRequired | The number of things this back order is requiring. |
puller | Gets the variant value of the thing pulling from the list. |
query | Gets the sql query this back order is using to define the pull requirements. |
remove | Removes the back order from the partition. |
readonly int flags
The flags used by this back order.
int requireNum = List("ItemList").backOrders()[1].flags;
Variant labelProperties
Use your own named properties to get/set label values.
Works just like labelProperties on treenodes.
readonly labels
Accesses a node's labels as nodes.
Works just like labels on treenodes.
readonly double numRequested
The number of things this back order is requesting.
double requestNum = List("ItemList").backOrders()[1].numRequested;
readonly double numRequired
The number of things this back order is requiring.
double requireNum = List("ItemList").backOrders()[1].numRequired;
readonly Variant puller
Gets the variant value of the thing pulling from the list.
List("ItemList").backOrders()[1].puller == current;
readonly string query
Gets the sql query this back order is using to define the pull requirements.
List("ItemList").backOrders()[1].query.startsWith("WHERE");
void remove( ) |
Removes the back order from the partition.
List("ItemList").backOrders()[1].remove();
Use this instead of destroyobject() so the list can keep track of its statistics.