Commit 4381059d authored by smanohar's avatar smanohar

chgTerm default assigned SYSTEM if value in extraParm is null

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@205958 ce508802-f39f-4f6c-b175-0d175dae99d5
parent a28abeee
...@@ -906,7 +906,10 @@ public class InvHoldRelGen extends ProcessEJB implements InvHoldRelGenLocal, Inv ...@@ -906,7 +906,10 @@ public class InvHoldRelGen extends ProcessEJB implements InvHoldRelGenLocal, Inv
userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode"); userId = genericUtility.getValueFromXTRA_PARAMS(xtraParams,"loginCode");
chgTerm = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "chgTerm" ); chgTerm = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "chgTerm" );
siteCode = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "site_code" ); siteCode = genericUtility.getValueFromXTRA_PARAMS( xtraParams, "site_code" );
if (chgTerm == null || chgTerm.trim().length() == 0)
{
chgTerm = "SYSTEM";
}
confirmed = "N"; confirmed = "N";
empCode = ""; empCode = "";
......
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