SpecTransManager.updateSettleBalanceAndDisc Method [AX 2012]
Updates the referenced SpecTrans record with the specified balance and discount amount.
Syntax
public void updateSettleBalanceAndDisc(
CompanyId _refCompany,
TableId _refTableId,
RefRecId _refRecId,
Amount _updateBalanceAmount,
Amount _updateDiscAmount,
[TransDate _selectedDateUsedToCalcCashDisc])
Run On
Called
Parameters
- _refCompany
Type: CompanyId Extended Data Type
The reference company of the SpecTrans record to update.
- _refTableId
Type: TableId Extended Data Type
The reference table ID of the SpecTrans record to update.
- _refRecId
Type: RefRecId Extended Data Type
The reference record ID of the SpecTrans record to update.
- _updateBalanceAmount
Type: Amount Extended Data Type
The settlement amount of the marked transaction to settle.
- _updateDiscAmount
Type: Amount Extended Data Type
The cash discount amount of the marked transaction to settle.
- _selectedDateUsedToCalcCashDisc
Type: TransDate Extended Data Type
The payment date for the calculation of cash discount to settle.
Remarks
Replaces the updateRefAmount method on the Specification class.