PurchSpendingThresholdValidation_PSN::calcMiscChargesInvoiceAmount Method [AX 2012]
Calculate the total miscellaneous and line miscellaneous charges for a vendor invoice line.
server private static AmountMST calcMiscChargesInvoiceAmount(VendInvoiceInfoTable _vendInvoiceInfoTable, Amount _vendLineAmountMST)
Run On
ServerParameters
- _vendInvoiceInfoTable
- Type: VendInvoiceInfoTable Table
The VendInvoiceInfoTable table record.
- _vendLineAmountMST
- Type: Amount Extended Data Type
Vendor Line Amount of the vendor invoice line that is being processed.
Return Value
Type: AmountMST Extended Data TypeReturns a miscellaneous charge of a vendor invoice line in accounting currency.
Show: