D365: Get PO total amount in X++
In Dynamics 365 for Finance and Operations, the business requirement to display the total amount of a purchase order can be met using X++ code. By extending the PurchTable class, the getPurchTotalAmount method can be implemented to calculate and return the total dollar amount of a specific purchase order.
