Skip to Content

SD PRICING - RELATED CONDITIONS

Dear community,

I am dealing with a requirement in which our customer asks us to create a new condition. The condition (Z1MN sales area/customer) is a surcharge - a fixed amount to apply if the total gross value of the sales order is lower than a certain threshold (condition ZPMN sales area/customer) - for instance, being the threshold 20 €, if the gross value is 9 € the surcharge to apply will be 10 €.

At the Z1MN level we add a routine that sums the ZPRE (gross price) of each position and compares it to ZPMN (threshold). If ZPRE < ZPMN the Z1MN is triggered.

The problem I have is that if we create just one position in the sales order, we get just the "threshold condition"...

... and we need to update prices (new determination) so that the Z1MN condition is triggered!

captura-1.jpg (27.0 kB)
captura-1.jpg (27.0 kB)
captura-2.jpg (30.2 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Apr 19, 2017 at 11:56 AM
    The problem I have is that if we create just one position in the sales order, we get just the "threshold condition"...

    Since it is a customized routine, you can very well change the coding to overcome from the above

    Add comment
    10|10000 characters needed characters exceeded

    • I don't know if I understand you right... You mean that I could add in the code of the routine this "update operation"?

      I re-question as I'm not writing the code and I could misunderstand.

      Thanks for your help Mr. Lakshmipathi

  • Apr 19, 2017 at 01:27 PM
    At the Z1MN level we add a routine that sums the ZPRE

    From your original post, my understanding was you have some customized routine added to those zee condition types in which case, you can certainly, add the required logic in that zee routine.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 20, 2017 at 11:15 AM

    Have you tried with standard condition types AMIW and AMIZ in your scenario..

    Phanikumar

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26, 2017 at 10:26 AM

    I go with Phanikumar's approach.

    Regards ,

    SSL

    Add comment
    10|10000 characters needed characters exceeded