Share via


VendRoutingSlipReportDP_PSN.getDueAmount Method [AX 2012]

Calculates the total amount due for the passed in SourceDocumentLineRecId value and subtracts and withholdings or deductions defined in the passed in VendDirective_PSN record.

Syntax

private Amount getDueAmount(SourceDocumentLineRecId _sourceDocumentLineRecId, VendDirective_PSN _vendDirective_PSN)

Run On

Server

Parameters

  • _vendDirective_PSN
    Type: VendDirective_PSN Table
    The VendDirective_PSN record that is associated with the passed in SourceDocumentLineRecId value.

Return Value

Type: Amount Extended Data Type
The amount due for the passed in SourceDocumentLineRecId value.

See Also

Reference

VendRoutingSlipReportDP_PSN Class