Use Rounding Code F/M (SMF610) to enter rounding code information for contract pricing. This maintenance program allows you to establish rounding rules for contract prices, then indicate on the contract which rounding code (if any) to use.
You can set rounding rules by several methods:
For more information how to use maintenances, refer to the following topics:
How to use file maintenance programs
The following fields are required to enter rounding code information:
1. Rounding Code
Enter the rounding code (e.g., AP or 1,) (2 characters).
2. Description
Enter rounding description (e.g., Basic Rounding .05) (up to 30 characters).
Note that during processing the system checks the $ Minimum value first and performs the $ Action before checking the % Limit value and performing the % Action.
3. % Limit
Enter the percentage change limit for action to be required. For example if you enter 5 in this input the system reads it as: Take % action is changer is greater than 5%.
4. % Action
Enter the action to be done when the percentage limit is met. You can select from: N—Do Not Round, C-Round Cents Only, or A-Use Another Rounding Code.
5. Alt Code
If you select to use an alternate rounding code enter it in the Alt Code input adjacent to the Action % input.
6. $ Minimum
Enter the dollar minimum for action to be required. For example if you enter 10 in this input the system reads it as: Take $ Action if price is less than 10$.
7. $ Action
Select the action to be done when the dollar minimum is not met. You can select from: N—Do Not Round, C-Round Cents Only, A-Use Another Rounding Code.
8. Alt Code
If you select to use an alternate rounding code enter it in the Alt Code input adjacent to the $ Action input.
Note that you can enter a rounding procedure (input #9) or select how you want to round dollars and cents (inputs 10-11). You cannot enter both a rounding procedure and use the Round Dollars and Round Cents inputs in one rounding code record.
9. Procedure
(Optional) Enter the program and label to use a customer rounding algorithm. Note: This input should only be completed by a programmer or implementation consultant.
10. Round Dollars
Select how you want the dollars rounded. You can select from:
N-Do Not Round dollars, 1-Up to the next increment of, 2-Down to the next increment of, 3-To nearest increment of, 4-Up to end with, 5-Down to end with, 6-To nearest number ending with, or 7-Force dollars to
In the adjacent input, enter the value to use in how you selected to round dollars in contract prices that use this rounding code.
11. Round Cents
Select how you want the cents rounded. You can select from: N-Do Not Round Cents, 1-Up to the next increment of, 2-Down to the next increment of, 3-To nearest increment of, 4-Up to end with, 5-Down to end with, 6-To nearest number ending with, or 7-Force Cents to
In the adjacent input, enter the value to use in how you selected to round dollars in contract prices that use this rounding code.
12. Try It!
Enter a value to test the rounding rule against. The system displays the rounded value to the right side of this input.