Commit 753cbafe authored by ssalve's avatar ssalve

Sarita: Done changes to set tran_id on 21 DEC 2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@195961 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8ecbe06d
......@@ -995,7 +995,10 @@ public class CostCtrAllocIC extends ValidatorEJB implements CostCtrAllocICRemote
valueXmlString.append("<Detail2 domID='" + domID + "' selected=\"Y\">\r\n");
valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"A\" status=\"N\"/>\r\n");
//valueXmlString.append("<tran_id><![CDATA[" ).append(checkNull("1")).append( "]]></tran_id>\r\n" );
valueXmlString.append("<tran_id_mst><![CDATA[" ).append(checkNull(tranIDMst)).append( "]]></tran_id_mst>\r\n" );
//Commented and Added by sarita on 16 JAN 2018 [START]
//valueXmlString.append("<tran_id_mst><![CDATA[" ).append(checkNull(tranIDMst)).append( "]]></tran_id_mst>\r\n" );
valueXmlString.append("<tran_id><![CDATA[" ).append(checkNull(tranIDMst)).append( "]]></tran_id>\r\n" );
//Commented and Added by sarita on 16 JAN 2018 [END]
valueXmlString.append("<prd_code><![CDATA[" ).append(checkNull(prdCode)).append( "]]></prd_code>\r\n" );
valueXmlString.append("<site_code><![CDATA[" ).append(checkNull(siteCode)).append( "]]></site_code>\r\n" );
//Commented and added by sarita to set from_date and to_date on 31-MAY-2018 [START]
......@@ -1043,7 +1046,10 @@ public class CostCtrAllocIC extends ValidatorEJB implements CostCtrAllocICRemote
prdCode = checkNull(genericUtility.getColumnValue("prd_code", dom2));
siteCode = checkNull(genericUtility.getColumnValue("site_code", dom2));
tranIdMaster = checkNull(genericUtility.getColumnValue("tran_id_mst", dom2));
//Commented and Added by sarita on 16 JAN 2018 [START]
//tranIdMaster = checkNull(genericUtility.getColumnValue("tran_id_mst", dom2));
tranIdMaster = checkNull(genericUtility.getColumnValue("tran_id", dom2));
//Commented and Added by sarita on 16 JAN 2018 [END]
acctCodeGet = checkNull(genericUtility.getColumnValue("acct_code", dom2));
resBas = checkNull(genericUtility.getColumnValue("res_basis", dom2));
allocBas = checkNull(genericUtility.getColumnValue("alloc_basis", dom2));
......@@ -1511,7 +1517,10 @@ public class CostCtrAllocIC extends ValidatorEJB implements CostCtrAllocICRemote
//valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"E\" status=\"O\"/>\r\n");
valueXmlString.append("<attribute selected=\"Y\" updateFlag=\"A\" status=\"N\"/>\r\n");
valueXmlString.append("<selectbox>true</selectbox>\r\n");
valueXmlString.append("<tran_id><![CDATA[" ).append(checkNull("")).append( "]]></tran_id>\r\n" );
//Commented and Added by sarita on 16 JAN 2018 [START]
//valueXmlString.append("<tran_id><![CDATA[" ).append(checkNull("")).append( "]]></tran_id>\r\n" );
valueXmlString.append("<tran_id><![CDATA[" ).append(checkNull(traidMst)).append( "]]></tran_id>\r\n" );
//Commented and Added by sarita on 16 JAN 2018 [END]
valueXmlString.append("<line_no><![CDATA[" ).append(domIDDet).append( "]]></line_no>\r\n" );
if("1".equalsIgnoreCase(allocBas))
......
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