LedgerJournalTrans.calcDebitMST Method

Calculates the MST amount for a LedgerJournalTrans.amountCurDebit 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 calcDebitMST([boolean _throwExceptions, LedgerJournalTable _ledgerJournalTable])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public Amount calcDebitMST([boolean _throwExceptions])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public Amount calcDebitMST([boolean _throwExceptions])

  Microsoft Dynamics AX 2012 (FPK)
          public Amount calcDebitMST([boolean _throwExceptions])

  Microsoft Dynamics AX 2012 (SYS)
          public Amount calcDebitMST([boolean _throwExceptions])

Run On

Called

Parameters

  • _throwExceptions
    Type: boolean
    Throw exceptions; 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.

See Also

Reference

LedgerJournalTrans Table