Skip to Content

Routine problem

Hi,

We have created new routine (condition base value). The functionality of this routine will be as follows,

The routine will consider the material entered in the sales order, the material is less than or equal to 5 ltr's then it should be multiplied with 70%.and if he material is greater than 5 ltr's then it should calculate 65%.

In sales order I have entered both the materials of less than 5 ltrs and greater than 5 lts.In item level it is calculating the specified percentage.But in header condition it is calculating either 65 or 70% for the both materials.

How can i rectify this one???

Pls suggest...

Regards,

Cherukuri

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 13, 2009 at 12:16 PM

    Hi, Please use two differnet item condition type to store the 70% or 65% condition value based upon material qty. In this case system will calculate the approriate value at header level and both value will not be mixed.

    regards

    vivek.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 16, 2009 at 04:45 AM

    Hi

    Put a breakpoint in the routine code and try to debug the routine, you could easily found the bug, where the routine is going wrong.

    try and revert

    Add comment
    10|10000 characters needed characters exceeded