All data items that are part of the same transaction flow must use the same precision to avoid miscalculations and rounding errors. To help prevent these errors, Nextworld uses precision profiles to group data items together and control precision at a group level. Precision and extended precision for all Currency is controlled in the Currency Manager application, while for Number data items it is controlled in the Number Precision Setup application.
To use extended precision in an application, a data item must be associated with a precision profile group.
Extended precision profile groups - Number data items
Extended precision for all Number data items is controlled at a group level in the Number Precision Setup application.
Learn more in the Extended precision configuration – Number data items topic.
Extended precision profile groups - Currency data items
By default, the precision used for a Currency data item is determined by the Currency Decimals field in the Currency Manager application. Currency data items must have extended precision set for at least one currency in the Currency Manager application. Precision profiles let you manage the extended precision for all data items associated with the profile. You can build your own profile group or use one of Nextworld's delivered extended precision profile groups.
Learn more in the Extended precision configuration – Currency data items topic.
There are several currency profile groups Nextworld delivers with all relevant data items, and all currencies in the Currency Manager application with a set extended precision of seven decimals, such as the:
CurrencyFullPrecision—Used with currency variables for logic blocks using extended precision. This is a general precision profile and not uniquely associated with any one product family or transaction flow.ExtendedCostExtendedDecimal—Used for calculations with extended precision costs inManufacturingdata items.
There are also profile groups Nextworld delivers with all relevant data items, but no currencies or preset extended precision decimal, such as:
PriceExtendedPrecision—Used for calculations with price-related data items.CostExtendedPrecision—Used for calculations with cost-related data items.
If you want to use extended precision on data items not delivered, consider all the currency fields related to each other within a transactional flow and attach them all to the same precision group.
For more information on how to create your own extended precision profile group, see Precision Profile Group Setup application.
Currency Manager application
System administrators use the Currency Manager application to format currencies, set extended precision for a currency profile group, and to add additional extended precision profile groups to currencies.
Access the Precision Profile Group Setup application through a form action in the Currency Manager application. or from the Navigation Menu. In the application you can create a new profile group, or format an existing profile group. For more information see the Precision Profile Group Setup application and Extended precision configuration – Currency data items topics.
Sign out and sign back in to to see any changes made in the Currency Manager application.
To learn about delivered currency extended precision profile groups, see the Extended precision topic.
Precision Profile Group Setup application
Application developers use the Precision Profile Group Setup application to create precision profile groups that manage the extended precision for a set of related currency or number data items. Extended precision adds additional decimal places to the data items for complex financial calculations.
To open the application, select the Precision Profile Group Setup form action in the Currency Manager or Number Precision Setup applications, or open it from the Navigation Menu.
Once the profile group has been created, reference it in the Associated Precision Profile Group field in any data items you want included in the group. Learn more in the Extended precision configuration – Currency data items and Extended precision configuration – Number data items topics.
To view a list of data items associated with the profile group, select the View Associated Data Items form action in the Precision Profile Manager application.
Number Precision Setup application
System administrators use the Number Precision Setup application to format and set extended precision for all of the data items in a number profile group.
To set up new profile groups, open the Precision Profile Group Setup application through a form action in the Number Precision Setup application, or from the Navigation Menu. Once a profile is created, you can add number data items to the profile through the Data Item Definitions application.
Once the data items are added, you can set the extended precision as well as the number of decimals to display in number precision setup.
To learn more about extended precision , see the Extended precision and Extended precision configuration – Number data items topics.
Modifying extended precision in production environments
Number precision setup records do not migrate with metadata. If a different extended precision is required, you must create a new record in the Number Precision Setup application.
Extended precision configuration – Currency data items
Configure extended precision for a currency precision profile group using the Currency Manager application, and the Data Item Definitions application.
Currency Manager
You can either create a profile group, or use one of the delivered profile groups. To learn more about the delivered extended precision profile groups, see Extended precision.
To create a profile group:
- Open the application with the Precision Profile Group Setup form action from the Currency Manager application, or from the Navigation Menu.
- Select Create.
- Once you've created the profile group, navigate to the Data Item Definitions application to attach the data items to your profile.
Data Item Definitions
To associate a Currency data item with the profile group, select the data item in the Data Item Definitions application, navigate to the Settings page, and enter the name of the profile group in the Associated Precision Profile Group field.
For more information see Data Item Definitions application.
Currency Manager
To associate a profile group with a currency:
- Select the Edit row action on the currency you want to associate the profile group with.
- In the Extended Precision Definitions section, enter a profile group in the Extended Precision field and enter the number of decimals to be used for the currency.
- Select the Use Extend Precision on Display checkbox to display the extended precision value of a profile group for the currency in applications. If the checkbox is not selected, applications with currency data items in profile groups use the extended precision for calculations but use the Currency Decimals field to display currency values.
- Select the Delivered checkbox to lock the profile group, meaning it can't be deleted and no changes can be made.
For more information see Currency Manager application.
Extended precision configuration – Number data items
Configure extended precision for a number precision profile group using the Number Precision Setup application, and the Data Item Definitions application.
Precision Profile Group Setup
Open the application with the Precision Profile Group Setup form action in the Number Precision Setup application, or from the Navigation Menu. Create a new profile, then navigate to the Data Item application to attach the data items to your profile.
Data Item Definitions
In the Data Item Definitions application, you can associate Number data items with the profile group. Select each data item, navigate to the Settings page, and enter the name of the profile group in the Associated Precision Profile Group field.
Number Precision Setup
In the Number Precision Setup application, configure the extended precision for the profile group. In the application you must:
- In the Number Profile Name field, enter the name of the profile you created in the Precision Profile Group Setup application.
- Enter the extended precision you want associated with the data items, as well as the number of decimals to be displayed.
The extended precision and display precision from the number precision record are applied to all data items associated with the profile group. For more information, see the Number Precision Setup application topic.
Modifying extended precision in production environments
Number precision setup records do not migrate with metadata. If a different extended precision is required, you must create a new record in the Number Precision Setup application.