K
Ken
I'm building a simple inventory tracking application that needs to decrease
item inventory as items are sold. The setup:
I have an Item table which includes a 'UnitsOnHand' field.
I have a Transaction table and a TransactionLineItem table, as each
Transaction can have 1 or more TransactionLineItems.
A transaction is entered via a Transaction/TransactionLineItem Form/SubForm.
When the user clicks on "Save Transaction", I'd like the 'UnitsOnHand' value
in the Item table to decrease by the 'UnitsSold' value in the
TransactionLineItem subform for every Item that is in the transaction.
Could someone please provide me with some general guidance on how this is
best achieved?
Thank you for any help,
Ken
item inventory as items are sold. The setup:
I have an Item table which includes a 'UnitsOnHand' field.
I have a Transaction table and a TransactionLineItem table, as each
Transaction can have 1 or more TransactionLineItems.
A transaction is entered via a Transaction/TransactionLineItem Form/SubForm.
When the user clicks on "Save Transaction", I'd like the 'UnitsOnHand' value
in the Item table to decrease by the 'UnitsSold' value in the
TransactionLineItem subform for every Item that is in the transaction.
Could someone please provide me with some general guidance on how this is
best achieved?
Thank you for any help,
Ken