Share via


VendInvoiceInfo_PaymentDisbursement::getSumOfAllocationPercentage Method

Gets the sum of the AllocationPercentage field of the VendInvoiceInfo_PaymentDisbursement table.

Syntax

client server public static Percent getSumOfAllocationPercentage(ParmId _parmId, TradeLineRefId _tableRefId)

Run On

Called

Parameters

  • _parmId
    Type: ParmId Extended Data Type
    The parameter ID of the VendInvoiceInfoTable table that is used to retrieve the sum of the VendInvoiceInfo_PaymentDisbursement table records.
  • _tableRefId
    Type: TradeLineRefId Extended Data Type
    The tableRefId of the VendInvoiceInfoTable table that is used to retrieves the sum of VendInvoiceInfo_PaymentDisbursement table records.

Return Value

Type: Percent Extended Data Type
A sum of the VendInvoiceInfo_PaymentDisbursement table; otherwise, zero.

See Also

Reference

VendInvoiceInfo_PaymentDisbursement Table