cancel
Showing results for 
Search instead for 
Did you mean: 

Block the sales order based on Usage

Former Member
0 Kudos

I have scenario to block the sales order based  on the customer usage , The Process will calculate a rolling 6 month average order quantity by sold to and product family. example if take the average for last six months as 100 qty . When a customer places new order if the order qty exceeds by 200% then order is blocked for delivery  .. Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

You have to add the logic in MV45AFZZ

Former Member
0 Kudos

Thank you so much for the reply if possible can you plz elaborate in detail ... do we need to add any custom table

Thank you

Lakshmipathi
Active Contributor
0 Kudos

Not necessary because in VBAP table itself, you have customer code, material code and quantity.  The coding should just do the calculation logic.

G. Lakshmipathi