Develop > Persistence layer > Data assets > Add a currency


Changing the currency suffix

Complete the following steps to change the suffix of the currency amount:


Procedure

  1. To change a positive currency suffix, use the following line in a mass loadable file:

    <curfmtdesc storeent_id="
    -1"
    setccurr="
    CAD" language_id="
    &en_US;"
    numbrusg_id="
    -3" currencysuffixpos="
    F"
    />
    

    Where:

    storeent_id

    The store or store group ID.

    setccurr

    the three-character ISO 4217 currency code representing the currency to format. This code must appear in the SETCCURR column of the SETCURR table.

    language_id

    The language ID of the format record.

    numbrusg_id

    The ID of the number usage.

    currencysuffixpos

    The string you want to display to the left of the amount.

    To change a negative currency suffix, use the following line in a mass loadable file:

    <curfmtdesc storeent_id="
    -1" setccurr="
    CAD"
    language_id="
    &en_US;" numbrusg_id="
    -3"
    currencysuffixneg="
    F" />
    

    Where:

    storeent_id

    The store or store group ID.

    setccurr

    the three-character ISO 4217 currency code representing the currency to format. This code must appear in the SETCCURR column of the SETCURR table.

    language_id

    The language ID of the format record.

    numbrusg_id

    The ID of the number usage.

    currencysuffixneg

    The string you want to display to the left of the amount.

  2. Load the data to the WebSphere Commerce database. For instructions on how to load the data to the database, see Load the data to the WebSphere Commerce database.


Related concepts

Shop currency


Related tasks

Enable euro currency support

Changing the currency prefix

Update registry components

Related reference

Euro currency guidelines

Dual display guidelines


+

Search Tips   |   Advanced Search