Skip to Content
1

SD PRICING - RELATED CONDITIONS

Apr 19, 2017 at 11:37 AM

141

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

G Lakshmipathi
Apr 19, 2017 at 11:56 AM
0
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

Show 1 Share
10 |10000 characters needed characters left 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

0
G Lakshmipathi
Apr 19, 2017 at 01:27 PM
0
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.

Share
10 |10000 characters needed characters left characters exceeded
Phanikumar Valiveti Apr 20, 2017 at 11:15 AM
0

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

Phanikumar

Share
10 |10000 characters needed characters left characters exceeded
Surya Sarathi Lahiri Apr 26, 2017 at 10:26 AM
0

I go with Phanikumar's approach.

Regards ,

SSL

Share
10 |10000 characters needed characters left characters exceeded