cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control the quantity of Replenishment?

former_member200995
Contributor
0 Kudos

Hi experts,
In BYD system, at the work center New Replenishment with Reference, after enter the production order ID, "go".
Some item auto create, and the quantity had been created too.
My question is: when I do the Replenishment the second time, the quantity as the first, if I forgot I had Replenished, I will Replenish double quantity at the same order.
I can develop at the cloud application studio, I want to add some code to control the quantity, when I had Replenished, the second time, the default quantity is 0.
How can I do?

Or maybe someone tell me at work center New Replenishment with Reference,which BO be open and modify, could I add some code to check, which BO to be update, could I add some code to reject save?


Thanks a lot.
Benny

Accepted Solutions (0)

Answers (1)

Answers (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Benny,

As soon as you know the BO, this BO is PSM-realsed, and marked as extensible you can code in the BeforeSave event of it.
Depending on your code you can prevent the save, raise a message, reduce the quantity to zero, ...

All you need is to find the resp. BO.
Please have a look in victorluiz.silvablog.

HTH,
. Horst