cancel
Showing results for 
Search instead for 
Did you mean: 

One should not be able to create sale order or purchase order if there is

Former Member
0 Kudos

Hi,

One shold not be able to create sale order or purchase order if enough stock is not available.

where to control this.

Regards

OM

Accepted Solutions (1)

Accepted Solutions (1)

SmileZhang
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi OM,

For sales order, I could understand that you would like to avoid the order creation without confirmed quantity.

First you need to set the customizing setting for ATP check and then use Userexit FORM USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ to perform the check that whether full quantity has been confirmed.

For purchase order, I could not understand the business requirement since the vendor should decide whether there is enough stock to send to you or not....

I would recommend you to create a thread at MM Forum for questions regarding purchase order creation.

Thanks and best regards,

Smile

Answers (1)

Answers (1)

marcin_milczynski
Contributor
0 Kudos

Hi,

You can assign incompletion procedure to sales order item checking field confirmed qty in schedule line. When confirmed qty is zero, you can trigger error message and user is not be able to save the order until the item is removed/rejected.

Regards,

Marcin