on 04-17-2007 5:31 AM
Hi Experts,
I need to put a minimum and maximum (value, quantity and weight) set up in Sales Order based on the Customer.
Based on the condition record I should be able to put the minimum and maximum quantity, order value and weight in condition record.
If anybody try to enter less than the minimum and more than maximum system should automatically block the sales order.
Is it possible ? If possible how can I create condition record for this.
Christine
For minimum order quantity you can maintain in the material master itself. So whenever you enter the quantity less than the minimum order qty it throws the error and will save the order.
Regarding the maxmum order quantity you have to write the userexit to control the max. quanity by specifying the max. qty in user exit.
Reward points if it is helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This should be possible by using the user exit MV45AFZZ. In that you have USEREXIT_SAVE_DOCUMENT_PREPARE. You can write a code to check the % here and to you can put delivery block accordingly.
Thanks
Mukund S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christine,
Exactly, When you use the user exit 'USEREXIT_SAVE_DOCUMENT_PREPARE', check for the quantity and the volume. If it exceeds, then call the error msg to pop up and come out without saving the sales order or go back sales order maintenance screen. Hope this answers your question.
Thanks
Mukund S
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
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.