Add typecodes for currency and jurisdiction

Before you begin

Complete the step for Add a New Zealand field validator file before you perform this step.

Procedure

  1. Navigate in the Project window to configuration > config > Extensions > Typelist.
  2. Double-click Currency.ttx to open this typelist in the editor.
  3. In the editor, right-click the top element on the left, typelistextension Currency, and choose Add new > typecode.
  4. Enter the following values for the new typecode:
    • codenzd
    • nameNZD
    • descNew Zealand Dollar
  5. Double-click Country.ttx to open this typelist in the editor.
  6. In the editor, right-click the NZ typecode and choose Add new > Add categories.
  7. Click NZ in the list of category typecodes and then click Next.
  8. In the Typelist list, click Currency, and in the Category list, click nzd, and then click Finish.
  9. Double-click Jursdiction.ttx to open this typelist in the editor.
  10. In the editor, right-click the top element on the left, typelistextension Jursdiction, and choose Add new > typecode.
  11. Enter the following values for the new typecode:
    • codeNZ
    • nameNew Zealand
    • descNew Zealand
  12. In the editor, right-click the NZ typecode and choose Add new > Add categories.
  13. Click NZ in the list of category typecodes and then click Next.
  14. In the Typelist list, click Country, and in the Category list, click NZ, and then click Finish.
  15. In the editor, right-click the NZ typecode again and choose Add new > Add categories.
  16. Click NZ in the list of typecodes and then click Next.
  17. In the Typelist list, click JurisdictionType, and in the Category list, click insurance, and then click Finish.

What to do next

The next step is Configure the Currency XML file for New Zealand currency.