Description

The CurrencyCodeGen Generator generates the Currency Code based on the referenced Country Code/Country Name.


Parameters

The following parameters may be configured for the CurrencyCodeGen Generator. Items with an asterisk* are required. 

  • countryReference* - References an Attribute that generates either Country Code or Country Name.

  • referenceType* - This should match the referenced Country Code or Country Name format. 
    • If the countryReference references to a 2 Character Country Code, then referenceType should be twoCharacter.
    • If the countryReference references to a 3 Character Country Code, then referenceType should be threeCharacter.
    • If the countryReference references to a Numeric Country Code, then referenceType should be numericCode.
    • If the countryReference references to a Country Name, then then the referenceType should be fullName.


Example: Currency Codes for Referenced Full Country Name

The CountryListGen Generator has been linked and generates random countries by full name, which are referenced by the CurrencyCodeGen Generator.



CountryListGen Generator configuration: 



Sample Output

gen1 = Country Name

gen2 = Currency Code