PurchLine.calcPendingLineAmounts Method
Calculates a sum of the LineAmount values that are in transaction and company currency for all pending invoice lines that are connected to this record in the PurchLine table.
Syntax
public container calcPendingLineAmounts([TradeLineRefId _excludeTableRefId])
Run On
ClientOrServer
Parameters
- _excludeTableRefId
Type: TradeLineRefId Extended Data Type
A TableRefId value for which to exclude invoices; optional.
Return Value
Type: container
A container with the sum of the LineAmount values and the LineAmount values in the default currency.
Remarks
Records in the VendInvoiceInfoLine table are used in the calculation. The exchange rate from the VendInvoiceInfoTable table is used if populated; otherwise, the exchange rate is retrieved.