User Guide
Shopping Cart Reference 211
Update inventory in [Recordset] with [ShoppingCart] data when
[button] is clicked
Use this contract when an order is being captured to increment the
'UnitsOnOrder' column of the products recordset by the number of items being
ordered for each product in the shopping cart. This is an interaction between the
shopping cart, a recordset and a button.
Note: This contract should be executed before the Cart contents are inserted into the
OrderDetails recordset, a process that destroys the cart. Be sure that it is assigned before the
"Insert [ShoppingCart]Ö" contract with respect to the Shopping Cart element.
Parameters:
QtyOnOrderCol is the name of the column in the recordset that stores the
value for units on order.
Participants:
Shopping Cart
Recordset
Button (any clickable object)