Commit fcefde30 authored by pchavan's avatar pchavan

To set default employee code in Retainer Contract Screen.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@184974 ce508802-f39f-4f6c-b175-0d175dae99d5
parent aab44ea9
......@@ -809,6 +809,8 @@ public class RetainerContractIC extends ValidatorEJB implements RetainerContract
accountsDescr="", currencyDescr="", currCode="",acctCode="",cctrCode="",acctCodeArAp="",lineNo="",
contractId="",taxClass="",taxChap="",taxEnv="",empCode="",deptCode="", fName="", lName="", mName="";
String stnTo = "", stnFr = "",contractDateStr="";
String logInEmpCode ="";//Added By PriyankC on15MAY2018 to set bydefault empCode.
PreparedStatement pstmt = null;
ResultSet rs = null;
StringBuffer valueXmlString = new StringBuffer();
......@@ -1464,7 +1466,13 @@ public class RetainerContractIC extends ValidatorEJB implements RetainerContract
{
allowDetEditable = "N";
}
//Added By PriyankaC on 15MAY2018 to set default employee code from login code.[START]
logInEmpCode = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginEmpCode");
System.out.println("logInEmpCode.. " + logInEmpCode);
//System.out.println("empCode... " + empCode);
valueXmlString.append("<emp_code>").append("<![CDATA[" + logInEmpCode + "]]>").append("</emp_code>");
//Added By PriyankaC on 15MAY2018 to set default employee code from login code.[END]
contractId = checkNull(genericUtility.getColumnValue("contract_id", dom));
valueXmlString.append("<contract_id>").append("<![CDATA[" + contractId + "]]>").append("</contract_id>");
taxClass = checkNull(genericUtility.getColumnValue("tax_class", dom1));
......
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