Skip to Content
0
Former Member
Apr 16, 2010 at 02:00 AM

Problem in pricing procedure

35 Views

Hi,

I face a strange problem in pricing procedure..i added a manual condition type at sales order header level for a fixed amount. Now this condition amount is to be distributed proportionally among the items.It works fine if the order has one line item.

But, if the order has more than one line item, the condition value is multiplied by no. of line items each time i display the item conditions and display the header conditions.this is happening in loop.

Ex: cond type hdr1 cond value is Rs 10 in sales order sls1 having 2 line items. now, when i display the item conditions , the condition value is supposed to be 5 for each line item(supposing both the line items are equal) but i see the value 10 for each line item the first time i display the conditions. Now, if i display the header conditions, the conditon value is becoming 20(initial 10no.of line items) and the same is carried to the items. If i display the hdr condition for 3rd time, the condition value is becoming 40(202) and this is happening each time i display the hdr conditions and then item conditions in loop.

I used routine 1 for Alt Base Value, and the condition is configured as group condition and for fixed amount.

Please let me know your inputs.

Thanks