IntrastatTransferIT.calcAmountCurrency Method [AX 2012]
This method calculates the Intrastat.AmountCur field.
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
private AmountCur calcAmountCurrency(
Intrastat _intrastat,
CurrencyCode _transactionCurrencyCode,
AmountCur _transactionAmountCur)
Microsoft Dynamics AX 2012 R2 (SYS)
private AmountCur calcAmountCurrency(
Intrastat _intrastat,
CurrencyCode _transactionCurrencyCode,
AmountCur _transactionAmountCur)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
private void calcAmountCurrency(
Intrastat _intrastat,
CurrencyCode _transactionCurrencyCode,
AmountCur _transactionAmountCur)
Microsoft Dynamics AX 2012 (FPK)
private void calcAmountCurrency(
Intrastat _intrastat,
CurrencyCode _transactionCurrencyCode,
AmountCur _transactionAmountCur)
Microsoft Dynamics AX 2012 (SYS)
private void calcAmountCurrency(
Intrastat _intrastat,
CurrencyCode _transactionCurrencyCode,
AmountCur _transactionAmountCur)
Run On
Called
Parameters
- _intrastat
Type: Intrastat Table
Intrastat record to be updated
- _transactionCurrencyCode
Type: CurrencyCode Extended Data Type
Currency of the transaction
- _transactionAmountCur
Type: AmountCur Extended Data Type
Amount in the currency of the transaction
Return Value
Type: AmountCur Extended Data Type
Amount in the Intrastat currency.
Remarks
The assumption is that the Intrastat.AmountMST, Intrastat.CurrencyCode and Intrastat.InvoiceDate fields are already filled with data.