04-21-2009 12:17 PM
Hi,
My requirement is to change the sales office to 109 based on some conditions.
Here i am using FORM USEREXIT_SAVE_DOCUMENT user exit in the sales order to do it.
but it is not taking this value .
Can any one suggest me any other place i.e. user exit where we can change sales office depending on some conditions.
Thanks & regards
Manjari.
04-21-2009 1:39 PM
You have to use userexit 'USEREXIT_SAVE_DOCUMENT_PREPARE' because when exit 'USEREXIT_SAVE_DOCUMENT' is called all the order data has already been submitted into update task. So if you want to change data in the order and have it saved with it you need to use 'USEREXIT_SAVE_DOCUMENT_PREPARE'.
Regards,
Michael