when i am printing the PO(PSAPurchaseorder ) , at last it is not showing the total, or does it have any parameter setup because in the method initFromVendPurchorderJour (PurchPurchaseOrder table ) i found a condition ‘enableAmountControls’.
It should work. Have you enabled it in both parameters and vendors?
If a vendor is created after enabling this parameter the vendor will inherit this parameter.
from vendTable it is carried to \Data Dictionary\Tables\VendPurchOrderJour\Fields\AmountPurchaseOrder, which will done when the PO is confirmed. so the prior confirmations will not have the information.
You can update the field \Data Dictionary\Tables\VendPurchOrderJour\Fields\AmountPurchaseOrder