LedgerJournalTrans.calcCreditMST Method
Calculates the MST amount for a LedgerJournalTrans.amountCurCredit value.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public Amount calcCreditMST([boolean _throwExceptions, LedgerJournalTable _ledgerJournalTable])
Microsoft Dynamics AX 2012 R2 (SYS)
public Amount calcCreditMST([boolean _throwExceptions])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public Amount calcCreditMST([boolean _throwExceptions])
Microsoft Dynamics AX 2012 (FPK)
public Amount calcCreditMST([boolean _throwExceptions])
Microsoft Dynamics AX 2012 (SYS)
public Amount calcCreditMST([boolean _throwExceptions])
Run On
Called
Parameters
- _throwExceptions
Type: boolean
Throw exceptions; optional.
- _ledgerJournalTable
Type: LedgerJournalTable Table
The corresponding LedgerJournalTable record; optional.
Return Value
Type: Amount Extended Data Type
An amount in MST currency.
Remarks
For intercompany transactions, currency conversions will use the exchange rate of the current company for the transaction currency code and transaction date that is indicated on the transaction if the transaction currency codes are different in the two companies.
Pass the corresponding LedgerJournalTable record so this method does not have to retrieve it.