How can I control the quantity of Replenishment?

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 27, 2017 at 11:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

Skip to Content