[ 2259575 ] Issue when the component is different component or tool
http://sourceforge.net/tracker/index.php?func=detail&aid=2259575&group_id=176962&atid=879332
This commit is contained in:
parent
388288425f
commit
77d334b461
|
@ -789,7 +789,7 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
|
|||
}
|
||||
else if (componentType.equals(MPPProductBOMLine.COMPONENTTYPE_Tools))
|
||||
{
|
||||
componentToDeliverQty = qtyBom; // TODO; set Number scale
|
||||
componentToDeliverQty = qtyBom; // TODO; set Number scale
|
||||
if (componentToDeliverQty.signum() != 0)
|
||||
{
|
||||
componentQtyReq = qtyBom;
|
||||
|
@ -800,7 +800,8 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
|
|||
}
|
||||
else
|
||||
{
|
||||
throw new AdempiereException("@NotSupported@ @ComponentType@ "+componentType);
|
||||
issue.setValueAt(Env.ZERO, row, 6); // QtyRequiered
|
||||
issue.setValueAt(Env.ZERO, row, 8); // QtyToDelivery
|
||||
}
|
||||
|
||||
row++;
|
||||
|
|
Loading…
Reference in New Issue