on 12-29-2014 1:27 PM
Hello Experts,
If I have applied reason of rejection manually while creating sales order then system deletes the Production Order relevant to that Sales Order Item.
But if I have applied same reason of rejection at FORM userexit_save_document_prepare then system saves the order with Reason of rejection but it does not delete the Production Order rather it runs MRP.
Please let me know where I can applied reason of rejection to restrict the Production order creation in sales order.
Note - If I have applied the reason of rejection at the time of entering the Sales Item then it restrict the sales order to create through interface with reason "unable to update schedule lines since item line has been grayed out". So we need to put the reason of rejection at a time before creating Production Order in sales order.
Regards,
Kiran
First of all, you have to explain as to why you have gone for user exit to control generation of production order? In fact, to restrict generation of Production Order, you should have tried with badi WORKORDER_UPDATE
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
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.