2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Add the following mapping in the mapping window and click on the Save & Close button.


Notes

=

{

ADDXML("<CurrencyRef>"+IF(VALUE("CurrencyIsoCode").equals("CAD"),"CAD",

IF(VALUE("CurrencyIsoCode").equals("USD"),"USD",

IF(VALUE("CurrencyIsoCode").equals("AUD"),"AUD",

IF(VALUE("CurrencyIsoCode").equals("GBP"),"GBP","EUR"))))+"</CurrencyRef>");

return "";

}



  • Now Open the map of the sequence no.2 Rule.
  • Add the following mapping in the mapping window and click on the Save & Close button.


Notes

=

{


ADDXML("<CurrencyRef>"+IF(VALUE("CurrencyIsoCode").equals("CAD"),"CAD",

IF(VALUE("CurrencyIsoCode").equals("USD"),"USD",

IF(VALUE("CurrencyIsoCode").equals("AUD"),"AUD",

IF(VALUE("CurrencyIsoCode").equals("GBP"),"GBP","EUR"))))+"</CurrencyRef>");


return "";

}


  • Now Open the map of the sequence no.4 Rule.

  • Add the following mapping in the mapping window and click on the Save & Close button.

...