Markup.checkForCurrencyMismatch Method [AX 2012]
Compares the currency code on a MarkupTrans record and associated records.
Syntax
protected void checkForCurrencyMismatch(
MarkupTrans _markupTrans,
Common _source,
Common _dest)
Run On
Server
Parameters
- _markupTrans
Type: MarkupTrans Table
A MarkupTrans record.
- _source
Type: Common Table
A source record related to the MarkupTrans record.
- _dest
Type: Common Table
A destination record related to the MarkupTrans record.
Exceptions
Exception | Condition |
---|---|
Error | A mismatch exists between the currency code on a MarkupTrans record and another record. |