Commit 3ef900a1 authored by ngadkari's avatar ngadkari

VTNOAPRRHT error msg displayed

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@188917 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 4399ad9b
...@@ -581,13 +581,17 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind ...@@ -581,13 +581,17 @@ public class IndentConf extends ActionHandlerEJB implements IndentConfLocal, Ind
} }
if(cnt == 0) if(cnt == 0)
{ {
ls_errcode = "VTNOAPRRHT"; //ls_errcode = "VTNOAPRRHT";Commented by Nandkumar Gadkari on 07/08/18
ls_errcode = itmDBAccess.getErrorString("","VTNOAPRRHT","","",conn);
return ls_errcode;
// ls_errcode = 'VTNOAPRRHT~t'+'No valid role exist for role code: '+ls_aprvrole+' for userID: '+as_userid // ls_errcode = 'VTNOAPRRHT~t'+'No valid role exist for role code: '+ls_aprvrole+' for userID: '+as_userid
} }
} }
else else
{ {
ls_errcode = "VTNOAPRRHT"; //ls_errcode = "VTNOAPRRHT"; Commented by Nandkumar Gadkari on 07/08/18
ls_errcode = itmDBAccess.getErrorString("","VTNOAPRRHT","","",conn);
return ls_errcode;
//ls_errcode = 'VTNOAPRRHT~t'+'Not Authorised For Approval or Indent Approver is null' //ls_errcode = 'VTNOAPRRHT~t'+'Not Authorised For Approval or Indent Approver is null'
} }
} }
......
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