Bring in Manufacturing Light code from Adaxa / Paul Bowden
This commit is contained in:
parent
41338b001f
commit
1df6102e09
|
@ -146,7 +146,7 @@ public class MProduction extends X_M_Production {
|
||||||
MProduct bomproduct = new MProduct(Env.getCtx(), BOMProduct_ID, get_TrxName());
|
MProduct bomproduct = new MProduct(Env.getCtx(), BOMProduct_ID, get_TrxName());
|
||||||
|
|
||||||
|
|
||||||
if ( bomproduct.isPhantom() )
|
if ( bomproduct.isBOM() && bomproduct.isPhantom() )
|
||||||
{
|
{
|
||||||
createLines(mustBeStocked, bomproduct, BOMMovementQty);
|
createLines(mustBeStocked, bomproduct, BOMMovementQty);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue