PurchTableDocument.parmCalcCashDiscount Method [AX 2012]

Calculates the purchase totals cash discount converted into company currency.

public CashDiscountMST parmCalcCashDiscount(
    CompanyId _companyId, 
    TableId _tableId, 
    RecId _recId)

Run On

Called

Parameters

_companyId
Type: CompanyId Extended Data Type
The company ID that corresponds to the workflow instance.
_tableId
Type: TableId Extended Data Type
The table ID that corresponds to the workflow instance.
_recId
Type: RecId Extended Data Type
The record ID that corresponds to the workflow instance.

Return Value

Type: CashDiscountMST Extended Data Type
The purchase order cash discount.

Community Additions

ADD
Show: