Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _sourceDocumentLineRecId
Type: SourceDocumentLineRecId Extended Data Type
The SourceDocumentLineRecId value of the source document line to calculate a due amount for.
- _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.