Format Masks

Format masks, which are specified in your row and column definitions, define how FSG prints numerical values on your reports. With a format mask, you can control:

Format Mask Control Characters

A format mask is comprised of control characters representing the various formatting features you can control. These control characters are:

Number Indicator: This is always the numeric digit "9". For each 9 which appears in the format mask, FSG will print one number of a value. For example, a format mask of 9999 will print four numbers.

Decimal Symbol: The actual symbol used for the decimal point is controlled by Oracle Applications. If you want to use a different symbol in FSG and Forms, contact your system administrator.

Currency Symbol: You can specify whatever symbol you need for currency values. For example, to display U.S. dollars, you can specify a dollar sign. To display British pounds, you can specify a pound sign.

Other Characters: You can include any other leading and/or trailing characters in a format mask. For example, you could have each number print with the phrase "(estimated)" immediately following it.

Thousands Separator Symbol: There are two elements that influence the thousands separator symbol:

Example Format Masks

The table below shows how the number 4234941 would be displayed using different format masks:

Example Format Masks

Other Format Mask Displayed As . . .
Profile Option Currency: Thousands Separator set to No. 9999999 4234941
Profile Option Currency: Thousands Separator set to Yes. 99,999,999 4,234,941
Profile Option Currency: Thousands Separator set to Yes. $ 99,999,999 $ 4,234,941
Profile Option Currency: Thousands Separator set to Yes. GBP 99,999,999.99 GBP 4,234,941.00
Profile Option Currency: Thousands Separator set to Yes. Thousands separator symbol and decimal symbol changed at the Oracle Applications level. 99.999.999,99 4.234.941,00
Profile Option Currency: Thousands Separator set to Yes. Fractional amounts not displayed as part of format mask. DM 99,999,999 (translated) DM 4,234,941 (translated)

Column Width

Since format masks affect how FSG displays values on your reports, you must take your format masks into consideration when determining the widths of the columns in your column sets.

If you define both a row and column format mask, FSG uses the smaller of the column format width or position width for printing report values. The row format width is ignored.

Printing Rules

If the column width is too small to accommodate a formatted amount (including any leading and trailing characters), FSG will try to alter the formatting so the value can be printed on your report. FSG follows these printing rules, in order, when trying to alter the amount format:

Currency Formats

Currency formats override any formatting options you specify in your row and/or column sets, except for precision, leading characters, and trailing characters. You specify a currency format by setting:

Accordingly, when you create format masks and determine column positions for your FSG reports, you should consider how you defined your currency formats.

Related Topics