cancel
Showing results for 
Search instead for 
Did you mean: 

Blocking sales order on delivery on a date

0 Kudos

In every sales order there will be field where expiry date of order should stored if that date is passed user cannot create delivery of that sales order.

Accepted Solutions (0)

Answers (1)

Answers (1)

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

There is no direct Approcah to this requirement you need to use

USEREXIT_SAVE_DOCUMENT_PREPARE

and bild the logic that if the order is more than 3 0r 4 months old than the actual PO date the order need to be blocked with Rejection Reason

or you can use sales order release method based on te status profile

every order will be Blocked with reason maintained in schedule line category and released by Authorized person