Commit 645c9a11 authored by wansari's avatar wansari

W15GSUN003 changed by wasim for not allocating stock on location code TO in case of ref ser PR/PRS.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99307 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 2c165c73
......@@ -447,7 +447,9 @@ public class ScheduleAWMSInOutTasks implements Schedule
//else if("D-SO".equalsIgnoreCase(refSer) || "S-ORD".equalsIgnoreCase(refSer))
//Changed by wasim on 19-11-2015 to add new ref ser PRS
//if("D-SO".equalsIgnoreCase(refSer) || "S-ORD".equalsIgnoreCase(refSer) || "PR".equalsIgnoreCase(refSer))
if("D-SO".equalsIgnoreCase(refSer) || "S-ORD".equalsIgnoreCase(refSer) || "PR".equalsIgnoreCase(refSer) || "PRS".equalsIgnoreCase(refSer))
//Changed by wasim on 19-11-2015 to remove ref ser PRS/PR
//if("D-SO".equalsIgnoreCase(refSer) || "S-ORD".equalsIgnoreCase(refSer) || "PR".equalsIgnoreCase(refSer) || "PRS".equalsIgnoreCase(refSer))
if("D-SO".equalsIgnoreCase(refSer) || "S-ORD".equalsIgnoreCase(refSer))
{
System.out.println("Going for Allocation location code TO");
HashMap hashMap = new HashMap();
......@@ -505,7 +507,8 @@ public class ScheduleAWMSInOutTasks implements Schedule
System.out.println("Stock transfer confirm for ===============PR/PRS="+errString);
if( errString != null && errString.indexOf( "CONFSUCC" ) > -1)
{
errString = allocStockLocCodeTo(allocList,tranIdIssList,refSer,refId,countDso,conn);
//Changed by wasim on 30-11-2015 to not allow to allocate stock for location code to for PR/PRS [END]
/*errString = allocStockLocCodeTo(allocList,tranIdIssList,refSer,refId,countDso,conn);
System.out.println("Return from alloc To for PR/PRS="+errString);
allocList.clear();//Changed by wasim on to clear list for PR/PRS as we take pallet one by one for this ref ser.
......@@ -518,7 +521,9 @@ public class ScheduleAWMSInOutTasks implements Schedule
else
{
throw new Exception (errString);
}
}*/
conn.commit();
//Changed by wasim on 30-11-2015 to not allow to allocate stock for location code to for PR/PRS [END]
}
else
{
......
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