Calculate Quantity Remaining
Summary:
We have requirement to get the difference between the quantity stored in two Bos Bo1 and BO2.
The result of the difference should be stored as Quantity Remaining field in BO1.
BO1.Quantity_Remaining= Bo1.Quantity -Bo2.Quantity_Used
The Quantity_Remaning should get recalculated and should be available to be used for the next entry
We tried object function but seems to be not working.
Please advise any other approach. with a sample App or a script as reference.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):