CustVendTransCashDisc::findLastCashDisc Method [AX 2012]

Finds the CustVendTransCashDisc record with the last applicable discount.

client server public static CustVendTransCashDisc findLastCashDisc(
    ModuleCustVend _moduleCustVend, 
    TableId _refTableId, 
    RefRecId _refRecId)

Run On

Called

Parameters

_moduleCustVend
Type: ModuleCustVend Enumeration
The ModuleCustVend value that identifies the module for which the cash discount is retrieved.
_refTableId
Type: TableId Extended Data Type
The reference table ID of the CustVendTransCashDisc record to find.
_refRecId
Type: RefRecId Extended Data Type
The reference record ID of the CustVendTransCashDisc record to find.

Return Value

Type: CustVendTransCashDisc Map
The CustVendTransCashDisc record found for the open transaction record.
Show: