CustVendOpenTransManager.getCashDiscAmountToTake Method [AX 2012]
Gets the cash discount amount to take for the specified open transaction.
Syntax
public CashDiscAmount getCashDiscAmountToTake(CustVendTransOpen _custVendTransOpen)
Run On
Called
Parameters
- _custVendTransOpen
Type: CustVendTransOpen Map
The open transaction for which to get the cash discount amount to take.
Return Value
Type: CashDiscAmount Extended Data Type
The cash discount amount to take for the open transaction.
Remarks
If the open transaction is marked for settlement, the current cash discount amount is returned.
Otherwise, the open transaction cash discount amount minus the cash discount already taken is returned.