Commit c6e4967a authored by ssarkar's avatar ssarkar

update by sumit on 07/02/13 for issue tracker point 140.2


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@92657 ce508802-f39f-4f6c-b175-0d175dae99d5
parent fa32a52b
...@@ -3543,7 +3543,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC ...@@ -3543,7 +3543,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
pstmt = null; pstmt = null;
*/ */
//Changed by sumit on 07/02/13 getting all required value from 3rd detail start //Changed by sumit on 07/02/13 getting all required value from 3rd detail and display selected and unselected record start
/*valueXmlString.append( "<Detail4 domID='"+(ctr+1)+"'>\r\n" ); /*valueXmlString.append( "<Detail4 domID='"+(ctr+1)+"'>\r\n" );
valueXmlString.append( "<tran_id/>" ); valueXmlString.append( "<tran_id/>" );
valueXmlString.append( "<loc_code__sys><![CDATA[" ).append(checkNullAndTrim(genericUtility.getColumnValueFromNode("loc_code__sys", parentNode))).append( "]]></loc_code__sys>\r\n" ); valueXmlString.append( "<loc_code__sys><![CDATA[" ).append(checkNullAndTrim(genericUtility.getColumnValueFromNode("loc_code__sys", parentNode))).append( "]]></loc_code__sys>\r\n" );
...@@ -3633,7 +3633,6 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC ...@@ -3633,7 +3633,6 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
} }
else else
{ {
//Changed by sumit on 07/02/13 getting all required value from 3rd detail end
//valueXmlString.append( "<Detail4 domID='"+(ctr+1)+"'>\r\n" ); //valueXmlString.append( "<Detail4 domID='"+(ctr+1)+"'>\r\n" );
valueXmlString.append( "<Detail4 domID='"+(ctr+1)+"' objContext = '"+currentFormNo+"' objName='"+objName+"' selected=\"N\">\r\n" ); valueXmlString.append( "<Detail4 domID='"+(ctr+1)+"' objContext = '"+currentFormNo+"' objName='"+objName+"' 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");
...@@ -3656,7 +3655,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC ...@@ -3656,7 +3655,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
} }
} }
//Changed by sumit on 07/02/13 showing selected 4th record end.
String updatedDetailDomStr = addSelectedRecToDom( allFormDataDom, valueXmlString.toString() ); String updatedDetailDomStr = addSelectedRecToDom( allFormDataDom, valueXmlString.toString() );
valueXmlString = null; valueXmlString = null;
...@@ -3666,7 +3665,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC ...@@ -3666,7 +3665,7 @@ public class ReplIssIC extends ValidatorEJB implements ReplIssICLocal, ReplIssIC
valueXmlString.append(updatedDetailDomStr); valueXmlString.append(updatedDetailDomStr);
System.out.println("\n*******sumit*******************\n"); System.out.println("\n*******sumit*******************\n");
System.out.println("updatedDetailDomStr[4]:>>>>>>>>>>> "+updatedDetailDomStr); System.out.println("updatedDetailDomStr[4]:>>>>>>>>>>> "+updatedDetailDomStr);
//Changed by sumit on 07/02/13 showing selected 4th record start. //Changed by sumit on 07/02/13 getting all required value from 3rd detail and display selected and unselected record end
} }
} }
......
...@@ -177,7 +177,9 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs ...@@ -177,7 +177,9 @@ public class ReplIssPos extends ValidatorEJB implements ReplIssPosRemote, ReplIs
if (locCodeTo != null && locCodeTo.trim().length() > 0) if (locCodeTo != null && locCodeTo.trim().length() > 0)
{ {
locCtr++; locCtr++;
sql = "update repl_iss_det set loc_code__to = ? where tran_id = ? and line_no = ? "; //Changed by sumit on 07/02/13 updating loc_to_assigned
//sql = "update repl_iss_det set loc_code__to = ? where tran_id = ? and line_no = ? ";
sql = "update repl_iss_det set loc_code__to = ?, loc_to_assigned = 'Y' where tran_id = ? and line_no = ? ";
pstmt = conn.prepareStatement(sql); pstmt = conn.prepareStatement(sql);
pstmt.setString( 1, locCodeTo); pstmt.setString( 1, locCodeTo);
pstmt.setString( 2, tranId); pstmt.setString( 2, tranId);
......
...@@ -29561,6 +29561,10 @@ INSERT INTO messages ( ...@@ -29561,6 +29561,10 @@ INSERT INTO messages (
'Base ', 'Base ',
NULL, NULL,
NULL); NULL);
-- Changed by sumit on 07/02/13
ALTER TABLE REPL_ISS_DET ADD LOC_TO_ASSIGNED CHAR(1);
COMMIT; COMMIT;
......
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