About this task
You can define a code list. Complete these
steps to define a code list:
Procedure
- Add the following to the ach.properties.in file:
currencyCodeListName=ACH_Currencies
- On the Code List screen, click Go! to
create a New Codelist.
- Type, ACH_Currencies in the Code List name
and click Next.
- In the Sender Code field, type the
currency from which you are converting. For example, if you are converting
from USD to EUR, type USD.
- In the Receiver Code field, type
the currency to which you are converting. For example, if you are
converting from USD to EUR, type, EUR.
- In the Text1 field, type the conversion
rate.
- Finish the code list configuration and run
setupfiles.sh in the ServerDirectory/bin/ directory, without supplying
any arguments.
Note: The ServerDirectory
is an example name for the directory the Sterling B2B Integrator Server
would use.
- Restart your Sterling B2B Integrator server
to use the new changes.
Results
For example, to create a codelist called
ACH_Currencies, add the line currencyCodeListName=ACH Currencies to
the ach.properties.in file.
If you want to provide
a conversion rate from US Dollar to Euro, then create a new entry
in this codelist with SenderID=USD, ReceiverID=EUR,
and Text1 =0.795.