/scripts/ahub.form.attachments.js
0

How can I control the quantity of Replenishment?

Mar 22, 2017 at 03:15 PM

41

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Schaude
Mar 27, 2017 at 11:32 AM
0

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 Viktor's blog.

HTH,
. Horst

Share
10 |10000 characters needed characters left characters exceeded
Skip to Content