Commit d90cd5ad authored by manohar's avatar manohar

In case of exception error code returned


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@95662 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1066f97b
......@@ -2659,10 +2659,10 @@ public class InvAcct
String sql = "", errString = "", errCode = "", siteCode = "", itemSer = "", currCode = "",remarks = "", acctType = "", currCodeBase = "";
String invOnline = "",vouchOnLine = "", invAcct = "", finEntity = "",itemCode = "",tranType="",analysis="", workOrder = "";
String acctCodeInv = "", cctrCodeInv = "", locCode = "", lotNo = "", lotSl = "", stkOpt = "",acctCodeWp = "", cctrCodeWp = "";
double exchRate = 0,quantity = 0,rate = 0, amount = 0, totAmt = 0 ;
double exchRate = 1,quantity = 0,rate = 0, amount = 0, totAmt = 0 ;
HashMap tempMap = null, glTraceMap = null;
int foundRow = 0;
ArrayList wipList = null;
ArrayList wipList = new ArrayList();
try
{
......@@ -2924,6 +2924,7 @@ public class InvAcct
catch(Exception exception)
{
exception.printStackTrace();
errString = "ERROR";
throw new ITMException(exception);
}
finally
......
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