FORMAT_MASK property is not working with SET_ITEM_INSTANCE_PROPERTY
I have a detail block in Oracle Forms in which I need to set the decimal places of a numberic field "Invoice Amount" based on the currency. The requirement is below:
If the currency is USD decimals should be two precisions for e.g., 150.23
If any other currency decimals should appear in 3 precision for e.g., 150.234
I have tried to set the format_mask property dynamically but it applies the mask to all the records not a specific item of a specific record.
If anybody has any clue regarding this, please help.
Regards
Zia