Description |
Create a procedure that when a purchase contract is saved to a invoice receipt that the Sceduled Qty is increased.
Available = Balance - Scheduled
Available Qty can not be less than zero. Saving the receipt should be prevented if the received quantity would reduced the available qty below zero.
Posting the receipt will reduce the Balance and Scheduled quantity of the purchase contract.
|