on 11-21-2014 11:38 AM
Hi Gurus,
Could anyone kindly help me to update the SO price during creation / change?
[Requirement]
Overwrite the condition price with the scale price, which is determined with referring to the total quantity of the same material under the document.
[Example]
Condition record
Condition type: ZLST
Material: A
Scale price:
101 - 200 qty -> 10USD
201 - 300 qty -> 9USD
301 - 400 qty -> 8USD
Sales Document
SO: #12345
Item 100: Material A, 100 qty
Item 200: Material B, 100 qty
Item 300: Material A, 150 qty
Here, determine 9USD for ZLST of both item 100 and 300, by summing up the quanty.
This is supposed to be done by CONDITION_RECORD_READ.
[Question]
How / where can I pass the ZLST price (9USD) for the price to be saved?
I am trying to change the value under USEREXIT_PRICING_PREPARE_TKOMP (MV45AFZZ), but so far out of luck.
Does anyone know how to overwrite the condition price with arbitrarily prepared price?
Your help would be greatly appreciated.
Best Regards,
Mari
you can use the following Exits
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Siva,
Thanks a lot for your advice!
I was successful to update the price.
But one thing I want to know, how can I trigger the exit?
Though I set the break point, first time I just saved the document it was not triggered.
When I pressed the Update bottun in Condition tab, it was triggered.
Is there any way I can trigger it upon saving without pressing Update bottun?
Thanks a lot in advance.
Best Regards,
Mari
User | Count |
---|---|
98 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.