Yes there are problem with no check on change parent bom.
But my problem is not really that.
In your video, you create bomA on product « [led] elec card » and two component each on product « [led] led sub prod ».
My scenario is :
- create bomA on product « [led] elec card »
- create component 1 on product « [card1] card »
- create component 2 on product « [card2] card »
- create subcomponent 11 (component of component 1) on product « [led] led sub prod »
( at this step normally all is OK but i will use bom component menu or field parent bom )
- create subcomponent 22 (component of component 2) on product « [led] led sub prod »
(with special manipulation used to make that, you don't have any alert)
We can see our bomA is no respect check_product constraint when we want to edit it.
For me bomA is OK and check_product is too strict because subsubcomponent may have same product association that an other subsubcomponent.
More clearly, I have modify check_product to have a recursion with depth limit at one.
Hello an thanks for your answer,
Yes there are problem with no check on change parent bom.
But my problem is not really that.
In your video, you create bomA on product « [led] elec card » and two component each on product « [led] led sub prod ».
My scenario is :
- create bomA on product « [led] elec card »
- create component 1 on product « [card1] card »
- create component 2 on product « [card2] card »
- create subcomponent 11 (component of component 1) on product « [led] led sub prod »
( at this step normally all is OK but i will use bom component menu or field parent bom )
- create subcomponent 22 (component of component 2) on product « [led] led sub prod »
(with special manipulation used to make that, you don't have any alert)
We can see our bomA is no respect check_product constraint when we want to edit it.
For me bomA is OK and check_product is too strict because subsubcomponent may have same product association that an other subsubcomponent.
More clearly, I have modify check_product to have a recursion with depth limit at one.