Revision: 8054

http://adempiere.svn.sourceforge.net/adempiere/?rev=8054&view=rev
Author:   vpj-cd
Date:     2009-01-12 20:39:55 +0000 (Mon, 12 Jan 2009)

Log Message:
-----------
fixed the issue with IDColumn

[vpj-cd] Make To Kit functionality
http://sourceforge.net/tracker2/?func=detail&atid=879335&aid=2501713&group_id=176962

The kit functionality let define a BOM Type of Make To Kit Type when it is
combined with BOM Use Manufacturing ADempiere let create a Manufacturing
Order from Standard Sales Order this functionality is very similar to Make
To Order but with de different that when a Customer Shipment for this Sales
Order is completed the Manufacturing Order is close , finish product is
receipt and the components are issue automatically.
This commit is contained in:
vpj-cd 2009-01-12 20:51:09 +00:00
parent 1e7409cca8
commit ce7b1aeb45
1 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,6 @@ import java.util.Properties;
import org.adempiere.exceptions.AdempiereException;
import org.adempiere.exceptions.DocTypeNotFoundException;
import org.compiere.minigrid.IDColumn;
import org.compiere.model.MAcctSchema;
import org.compiere.model.MClient;
import org.compiere.model.MCost;
@ -657,7 +656,7 @@ public class MPPOrder extends X_PP_Order implements DocAction
for(int i = 0; i < issue.length; i++ )
{
IDColumn id = (IDColumn) issue[i][0].get(0);
KeyNamePair key = (KeyNamePair) issue[i][0].get(0);
Boolean isCritical = (Boolean) issue[i][0].get(1);
String value = (String)issue[i][0].get(2);
KeyNamePair productkey = (KeyNamePair) issue[i][0].get(3);
@ -674,7 +673,7 @@ public class MPPOrder extends X_PP_Order implements DocAction
MPPOrder.createIssue(
this,
id.getRecord_ID(),
key.getKey(),
today, qtyToDeliver,
qtyScrapComponent,
Env.ZERO,