Select Totals. If you don’t see the Totals action, select the Purchase Order 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.
Calculate total amount of PO using X++
- 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
You will see the total amount of the specified PO on the screen. Please note that I have tested this code in D365FO
No comments:
Post a Comment