cancel
Showing results for 
Search instead for 
Did you mean: 

Rounding Issue

Former Member
0 Kudos

Dear All,

I met a Rounding Issue and hope someone can help. For example, I have 2 condition types in my pricing procedure, GP00 and ZDIS. GP00 is Basic price, ZDIS is 50% discount for some items (with requirement). And this case have 3 item, S1, S2, S3. And the total price of this case, these 3 items is $300, and my requirement is to distribute the $300 to 2 payers P1 and P2. P1 is $100 and P2 is $200.

Condition Types,

GP00, ZDIS

Item,GP00ZDIS--Amount

S1,--$100-$50---$50

S2,--$200-$0-----$200

S3,--$100-$50---$50

-


$300

Payer P1 takes $100, means 0.33333333333333 of the total amount, I need to change the basic price of every item for P1.

Item,GP00


ZDIS-----Amount

S1,--$100 * 0.33333333333333 = 33.33$16.67--$16.66

S2,--$200 * 0.33333333333333 = 66.67$0--


$66.67

S3,--$100 * 0.33333333333333 = 33.33$16.67--$16.66

-


$99.99

Then the total price of this case for P1 is not $100. It is 1 cent less.

I want to solve this problem by add one more condition type ZRND in the end of the pricing procedure, it is a group condtion. Then in the pricing procedure, I add one CalType in ZRND whose Routine Number is 900.

In 900, I know the total amount of the invoice for P1 is $100, and if I can know the sum of the current SD pricing is $99.99, then I add 1 cent to the total case, this problem can be solved.

If my idea of group condition is correct, my question is how to get the total price of current $99.99 in the Routine and how to add $0.01 to P1 in the Routine?

Any idea would be helpful for us. Thanks.

Regards,

Junjie

Edited by: Junjie Ge on Jan 26, 2011 10:42 AM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Dear Ge

Pls pardon me...

Its not routine 7, its Routine # 17.

Pls test & revert.

Rgds

Sumanth.G

eduardo_hinojosa
Active Contributor
0 Kudos

HI,

See these notes:

Note 315792 - Group conditions of the same amount on item

Note 80183 - Rounding

Note 166952 - Rounding when distributing header conditions

Regards

Eduardo

Former Member
0 Kudos

hi ,

cant confirm confirm with the complete requirement that you are asking but please try with following setting in the pricing procedure for rounding,

-c.type-reqt-alt c.type-alt c bv-act key

-DIFF - 13 - 16 - 4 -ers

revert if helpful

Mohit Singh

Former Member
0 Kudos

Check with assigning routine # 7, as Alt Cal type to te necessary condition type in your pricing procedure.

Check & revert immediately.

Rgds

Sumanth.G