Commit 050adb94 authored by rtiwari's avatar rtiwari

updated


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@94183 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 26bbfc43
......@@ -2877,7 +2877,6 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
System.out.println("creaDt Initialized Current date:::- ["+creaDt+"]");
}
// 05/02/13 manoharan check for stock if issue
if (this.tranType.equalsIgnoreCase("I") || this.tranType.equalsIgnoreCase("ID") )
{
sql =" select count(1) from stock where item_code = ? "
......@@ -2909,7 +2908,6 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
}
}
// end 05/02/13 manoharan
/*if gs_run_mode <> 'B' then//Batch load to be checked, currently the current Date
s_updatestock.currdate = ldt_today // and create date is taken as current timestamp
......@@ -3103,8 +3101,6 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
rs.close();
System.out.println("Record from QC_ORDER:::- ["+count+"]");
}
/* //Commented n Added by Jasmina-05/05/08-DI89SUN004,Script for updating loc_code & lot_sl as null if qc order is found during stock transfer
//Error Uncommented by Jasmina 08/07/08 -DI89SUN004,
//Error While be bypass if transer = 'XFRX' and trantype = 'ID' i.e Stock transfer and quantity < 0 i.e Not Receipt
if s_updatestock.transer = 'XFRX' and s_updatestock.trantype = 'ID' and s_updatestock.quantity < 0 Then
else
......@@ -3113,9 +3109,6 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
ls_errcode = gf_error_location(ls_errcode)
return ls_errcode
end if
//Error Uncommented end by Jasmina 08/07/08 -DI89SUN004
*/
// 24/10/13 manoharan added this condition missing from PB source
if( (count > 0) && !("XFRX".equalsIgnoreCase(this.tranSer) && "ID".equalsIgnoreCase(this.tranType) && meffQty < 0) )
{
errString = "VTUNCFQC";
......@@ -3338,7 +3331,7 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
mexcRate = 1;
//This is commented as this is exp date not used further in PB logic - Jiten 10/04/07
//This is commented as this is exp date not used further in PB logic
//if required the code will be added
/*if isnull(mshlife) or mshlife = 0 then
setnull(mexpdate)
......@@ -4056,7 +4049,7 @@ public class WoTransferPrc extends ProcessEJB implements WoTransferPrcLocal,WoTr
pstmt.setString(48,this.considerAllocate);
pstmt.setString(49,this.partialUsed);
pstmt.setDouble(50,this.batchSize);
pstmt.setString(51,this.lotSlOrg); // cpatil
pstmt.setString(51,this.lotSlOrg);
System.out.println("ITEM_CODE :"+this.itemCode);
System.out.println("SITE_CODE :"+this.siteCode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment