on 06-30-2010 1:05 PM
Hello gentlemen,
I have a requirement here which is to update the pricing in case of returns, but I dont want to leave this in the hands of the users.
We need to update the pricing at the item level (all items) using the option "C - Copy manual pricing elements and redetermine the others" in the moment that the user is processing the order (or when it saves, whatever).
Which user exit can I use for such? If you can post the code as suggestion, much better!!
Thanks in advance.
Adriano Cardoso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Those are both excellent ideas. But as per brazilian legislation, when we sell some goods and they are then returned, the taxes must be all the same (the values) from the first billing, and the taxes here change all the time.
Thus, if I go in the copy control path, when the taxes change and we redetermine the pricing we will have incorrect taxes values.
And right now you are maybe wondering what is really my problem. The thng is that the system is copying the wrong values between billing doc and return sales order, and that's why I thought about an user exit to solve the question.
Thanks for the replies anyway.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would recommend using the same copy control settings.
At the header level settings from the source document to billing document, you can find field copying requirements for transferring business data.
Check the routine assigned in this field. Copy the existing routine (t.code VOFM) and add relevant code to copy the pricing date from the billing document pricing date field. By this way, the same tax will be captured.
Regards
Try G - Copy pricing elements unchanged and redetermine taxes in Item (from OR) of your copying control setting (VTAA target:RE - Source:OR).
Thanks & Regards
JP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the copy control settings (t.code VTAF and VTAA).
Maintain the value C in the field Pricing type at item level settings.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
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.