Adding a currency field to a form
Use this procedure to add a currency field to a form.
To add a currency field to a form
- Open the appropriate form.
- Right-click the form, and select Create a New Field > Currency.
The new field appears on the form. - Select the field.
In the Properties tab, select the Currency Types property, and click its ellipsis button.
If default allowable currency types are not specified in the AR System Administration: Server Information form, all the available currency types are selected in the Currency Types dialog box on the Allowable Currency Types tab, as shown in the following figure.
Initial Allowable Currency Types tab without default currencies
(Click the image to expand it.)
If defaults are specified in the AR System Administration: Server Information form, those default currencies are selected on the Allowable Currency Types tab. For example, see the following figure.
Initial Allowable Currency Types tab with default currencies
(Click the image to expand it.)For information about allowable and functional currencies, see Allowable and functional currencies.
- To change the allowable currencies for this field, perform these tasks in the Allowable Currency Types tab:
- In the Select Types field, select the Customize option.
- Use the arrow buttons to move currencies to and from the Available Types and Selected Types lists.
Currencies in the Selected Types list appear in the menu attached to the currency field. For example:
(Click the image to expand it.)
If you remove all currencies from the Selected Types list, all the available currencies are allowed and appear in the menu. - (Optional) To change a currency's decimal precision, click the precision field in the Selected Types list, and select a precision value from the drop-down list.
- In the Primary Currency list, select the currency to use when no currency code is entered in the currency field.
If you do not select a primary currency, the first currency in the Selected Types list is used as the primary currency.
For more information, see Currency fields.
- To change the functional currencies for this field, perform these tasks in the Functional Currency Types tab:
Use the arrow buttons to move currencies to and from the Available Types and Selected Types lists.
The Selected Types list must contain at least one currency.
(Optional) To change a currency's decimal precision, click the precision field in the Selected Types list, and select a precision value from the drop-down list.
- Click OK.
- In the Properties tab, you can set one or both of these currency field properties:
- Default Value — Specifies the value that appears in the field when a user initially opens the form in New mode. The value consists of a decimal number and an allowable currency code. This value overrides the Initial Currency Type field property value set in BMC Remedy Developer Studio and the initial currency type preference set in the AR System Preference form.
- Initial Currency Type — Specifies the currency code that appears in the field when the form opens in New mode if there is no Default Value and if the user has not specified an initial currency type in the mid tier.
- Set the other field properties as needed.
See Field-Properties. - Select the field, drag it to a position in the form, and adjust its size.
See Arranging-fields-in-a-form-view. - Right-click the form, and select Save.