Commit 2430d08b authored by ssalve's avatar ssalve

Sarita : Done changes for exp_date for line_no__invtrace on 04 SEPT 2018

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@190348 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1ebeb032
......@@ -2687,7 +2687,10 @@ public class SalesReturn extends ValidatorEJB implements SalesReturnLocal, Sales
if (expDate != null)
{
valueXmlString.append("<exp_date>").append("<![CDATA[" + genericUtility.getValidDateString( expDate.toString(), genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat() ) + "]]>").append("</exp_date>");
//Commented and added by sarita if exp_date is found then it should be non-editable on 04 SEPT 2018 [START]
//valueXmlString.append("<exp_date>").append("<![CDATA[" + genericUtility.getValidDateString( expDate.toString(), genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat() ) + "]]>").append("</exp_date>");
valueXmlString.append("<exp_date protect =\"1\">").append("<![CDATA[" + genericUtility.getValidDateString( expDate.toString(), genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat() ) + "]]>").append("</exp_date>");
//Commented and added by sarita if exp_date is found then it should be non-editable on 04 SEPT 2018 [END]
setNodeValue( dom, "exp_date", genericUtility.getValidDateString( expDate.toString(), genericUtility.getDBDateFormat(), genericUtility.getApplDateFormat() ) );
}
......
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