[ 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:
vpj-cd 2008-11-11 03:03:41 +00:00
parent 388288425f
commit 77d334b461
1 changed files with 3 additions and 2 deletions

View File

@ -789,7 +789,7 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
} }
else if (componentType.equals(MPPProductBOMLine.COMPONENTTYPE_Tools)) else if (componentType.equals(MPPProductBOMLine.COMPONENTTYPE_Tools))
{ {
componentToDeliverQty = qtyBom; // TODO; set Number scale componentToDeliverQty = qtyBom; // TODO; set Number scale
if (componentToDeliverQty.signum() != 0) if (componentToDeliverQty.signum() != 0)
{ {
componentQtyReq = qtyBom; componentQtyReq = qtyBom;
@ -800,7 +800,8 @@ public class VOrderReceiptIssue extends CPanel implements FormPanel,
} }
else else
{ {
throw new AdempiereException("@NotSupported@ @ComponentType@ "+componentType); issue.setValueAt(Env.ZERO, row, 6); // QtyRequiered
issue.setValueAt(Env.ZERO, row, 8); // QtyToDelivery
} }
row++; row++;