Commit 572bd779 authored by wansari's avatar wansari

D15AKAT008 updated showing multiple lines for GRL multi scan receipt.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99432 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 244e7cf7
...@@ -1725,7 +1725,7 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc ...@@ -1725,7 +1725,7 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
java.sql.Timestamp mfgDate = null; java.sql.Timestamp mfgDate = null;
java.sql.Timestamp lotMfgDate =null,lotExpDate =null,lotMfgDateForByPass=null,lotExpDateForByPass=null; java.sql.Timestamp lotMfgDate =null,lotExpDate =null,lotMfgDateForByPass=null,lotExpDateForByPass=null;
int selfLife = 0; int selfLife = 0;
double shipperSize = 0d, grossWeight = 0d, netWeight = 0d, tareWeight = 0d; double shipperSize = 0d, grossWeight = 0d, netWeight = 0d, tareWeight = 0d,shipperSizeData = 0d;
double exchRate = 0d, noArt = 0d, rate = 0d, netAmt = 0d , amount = 0d, loose = 0d; double exchRate = 0d, noArt = 0d, rate = 0d, netAmt = 0d , amount = 0d, loose = 0d;
int currentFormNo = 0; int currentFormNo = 0;
...@@ -2999,25 +2999,27 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc ...@@ -2999,25 +2999,27 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
continue;//item code already present in porcp_art table. continue;//item code already present in porcp_art table.
} }
/*domID++; //Changed by wasim on 15-12-2015 to display quantity as shipper size for GRL [START]
maxLine++; if(data == 0)
data++; {
lineNo = domID+"";*/ shipperSizeData = shipperSize;
}
/*int loop = 0, l = 1; else
loop = (int)loose + 1; {
System.out.println("Loop="+loop); shipperSizeData = data + shipperSize;
}
double grlQty = noArt * shipperSize; System.out.println("shipperSizeData="+shipperSizeData);
System.out.println("GRL QTY="+grlQty);*/
//while(l <= loop) while(shipperSizeData < oldQuantity)
//{ {
//Changed by wasim on 15-12-2015 to display quantity as shipper size for GRL [END]
domID++; domID++;
maxLine++; maxLine++;
data++; data++;
lineNo = domID+""; lineNo = domID+"";
shipperSizeData = shipperSizeData + shipperSize;
valueXmlString.append( "<Detail3 domID='"+ domID +"' objContext = '"+currentFormNo+"' selected=\"N\">\r\n" ); valueXmlString.append( "<Detail3 domID='"+ domID +"' objContext = '"+currentFormNo+"' selected=\"N\">\r\n" );
valueXmlString.append( "<attribute selected=\"N\" updateFlag=\"A\" status=\"N\" pkNames=\"\"/>\r\n" ); valueXmlString.append( "<attribute selected=\"N\" updateFlag=\"A\" status=\"N\" pkNames=\"\"/>\r\n" );
valueXmlString.append("<tran_id><![CDATA[").append(tranId).append("]]></tran_id>\r\n"); valueXmlString.append("<tran_id><![CDATA[").append(tranId).append("]]></tran_id>\r\n");
...@@ -3045,6 +3047,7 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc ...@@ -3045,6 +3047,7 @@ private String disParmValue( Connection conn , String disparmVar ) throws ITMExc
valueXmlString.append("<no_art><![CDATA[").append("1").append("]]></no_art>\r\n"); valueXmlString.append("<no_art><![CDATA[").append("1").append("]]></no_art>\r\n");
//Changed by wasim on 14-10-2015 to enter quantity as shipper size and no_art will be saved as 1[END] //Changed by wasim on 14-10-2015 to enter quantity as shipper size and no_art will be saved as 1[END]
valueXmlString.append("</Detail3>\r\n"); valueXmlString.append("</Detail3>\r\n");
}
//l++; //l++;
// System.out.println("L="+l); // System.out.println("L="+l);
//} //}
......
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