Commit a6965fee authored by dpawar's avatar dpawar

insert record in edit mode


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97211 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 89f7166d
...@@ -906,10 +906,21 @@ public class MultiplePtcnWiz extends ValidatorEJB implements PickIssICLocal, Pic ...@@ -906,10 +906,21 @@ public class MultiplePtcnWiz extends ValidatorEJB implements PickIssICLocal, Pic
{ {
ptcnNo = ptcnMap.get(saleOrderL); ptcnNo = ptcnMap.get(saleOrderL);
} }
int cnt = getDBRowCount(conn, "MULTI_PICK_ISS_DET", "TRAN_ID", tranId);
System.out.println("MULTI_PICK_ISS_DET cnt1----->>["+cnt+"]");
if(cnt==0)
{
valueXmlString.append("<Detail3 domID='"+domId+"' selected=\"N\">\r\n"); valueXmlString.append("<Detail3 domID='"+domId+"' 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");
}
else
{
valueXmlString.append("<Detail3 domID='"+domId+"' selected=\"Y\">\r\n");
valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\" />\r\n"); valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\" />\r\n");
}
//valueXmlString.append("<Detail3 domID='"+domId+"' selected=\"N\">\r\n");
//valueXmlString.append("<attribute selected=\"N\" updateFlag=\"A\" status=\"N\" pkNames=\"\" />\r\n");
//valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\" pkNames=\"\" />\r\n");
valueXmlString.append( "<tran_id><![CDATA[" ).append( "").append( "]]></tran_id>\r\n" ); valueXmlString.append( "<tran_id><![CDATA[" ).append( "").append( "]]></tran_id>\r\n" );
valueXmlString.append( "<line_no><![CDATA[" ).append( lineNo).append( "]]></line_no>\r\n" ); valueXmlString.append( "<line_no><![CDATA[" ).append( lineNo).append( "]]></line_no>\r\n" );
......
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