Commit 00c4d0c5 authored by msingh's avatar msingh

Changed by Manish on 20/05/16


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@101693 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 6e9e0b3c
...@@ -102,7 +102,25 @@ public class DDProductWizEditPosEJB extends ValidatorEJB implements DDProductWiz ...@@ -102,7 +102,25 @@ public class DDProductWizEditPosEJB extends ValidatorEJB implements DDProductWiz
retString = e.getMessage(); retString = e.getMessage();
throw new ITMException(e); throw new ITMException(e);
} }
// Changed by samadhan on 19/05/16 [start]
finally
{
deleteSkus = "";
attributeSetId = "";
item_parnt = "";
hdrlanguage_dtl = "";
simpleProductIdCollection.clear();
int simpleProductId = 0;
int siteCnt=0;
String storeInfo = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <store_info> ";
double price = 0.0;
parentMaxPrice.clear();
objProductsChild = null;
maxPriceMap.clear();
minFormDate.clear();;
maxToDate.clear();
}
// Changed by samadhan on 19/05/16 [end]
return retString; return retString;
} }
......
...@@ -117,7 +117,26 @@ public class DDProductWizPosEJB extends ValidatorEJB implements DDProductWizPosR ...@@ -117,7 +117,26 @@ public class DDProductWizPosEJB extends ValidatorEJB implements DDProductWizPosR
e.printStackTrace(); e.printStackTrace();
throw new ITMException(e); throw new ITMException(e);
} }
// Changed by samadhan on 19/05/16 [start]
finally
{
apiSimpleUrl="";
apiConfigUrl="";
apiDelSkusUrl="";
deleteSkus="";
simpleProductId = 0;
simpleProductIdCollection.clear();
parentMaxPrice.clear();
objProductsChild = null;
price = 0.0;
attributeSetId="";
siteCnt=0;
maxPriceMap.clear();
minFormDate.clear();
maxToDate.clear();
storeInfo = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> <store_info> ";
}
// Changed by samadhan on 19/05/16 [end]
return retString; return retString;
} }
...@@ -781,6 +800,12 @@ public class DDProductWizPosEJB extends ValidatorEJB implements DDProductWizPosR ...@@ -781,6 +800,12 @@ public class DDProductWizPosEJB extends ValidatorEJB implements DDProductWizPosR
} }
tranId = getTransID( "w_dd_productWiz", conn); tranId = getTransID( "w_dd_productWiz", conn);
// Changed by samadhan on 19/05/16 [start]
String whiteSpace = " ";
tranId = tranId + whiteSpace.substring(0,10-tranId.length());
System.out.println("tranId with whiteSpace is["+tranId+"]");
// Changed by samadhan on 19/05/16 [end]
//Changed by Samadhan on 21/15/2015 for size grid Start //Changed by Samadhan on 21/15/2015 for size grid Start
/*sql = "insert into item (item_code, descr, item_parnt, item_ser, grp_code, item_type, unit, track_shelf_life, unit__rate, " + /*sql = "insert into item (item_code, descr, item_parnt, item_ser, grp_code, item_type, unit, track_shelf_life, unit__rate, " +
" stk_opt, loc_type, loc_code, length, width, height, gross_weight, " + " stk_opt, loc_type, loc_code, length, width, height, gross_weight, " +
......
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