- Select Totals. If you don’t see the Totals action, select the Purchase Order / Purchase Requisition tab on the action bar.
- This dialog box shows totals for the whole order.
- The Selection field allows you to change the basis of how totals are calculated. For example, you could choose Product receipt quantity to show totals that relate to the amount of the product(s) that have been received, or Ordered quantity to show the amount of product that was ordered.
- Select OK.
- Create a runnable class (job) named as CalculateTotalsOfPurchaseOrder
- Copy the below code and paste in the newly created class
- Change the Purchase order id according to your system’s data
- Execute the job
2 - Purchase Requisitions
- Create a runnable class (job) named as CalculateTotalsOfPurchaseRequisitions
- Copy the below code and paste in the newly created class
- Change the Purchase order id according to your system’s data
- Execute the job
No comments:
Post a Comment