Commit 4a66c4de authored by steurwadkar's avatar steurwadkar

Error xml changes

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@174560 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9158c392
......@@ -89,7 +89,7 @@ public class GstrPurchaseIC extends ValidatorEJB implements GstrPurchaseICRemote
ArrayList<String> errFields = new ArrayList<String>();
String tran_type="",gst_type="",gst_rate="",finalCode="",rec_type="";
String state_code="",tax_reg_no = "",itc_type="",state_code_cdn="",gstnStateCode="";
StringBuffer errStringXml = new StringBuffer("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
StringBuffer errStringXml = new StringBuffer();
String doc_type="",doc_date="",amount="",doc_no="",ecom_reg_no="",loginSite="",gs_code="",gs_descr="";
String quantity="",unit="",taxable_amt="",igst_perc="",igst_amt="",cgst_amt="",sgst_amt="",cess_amt="";
String ref_id__inv="",ref_date__inv="",lr_no="",lr_date="",supply_type="",cgst_perc="",sgst_perc="",reverse_chrg="";
......@@ -1235,6 +1235,7 @@ public class GstrPurchaseIC extends ValidatorEJB implements GstrPurchaseICRemote
String errFldName = null;
if (errList != null && errListSize > 0)
{
errStringXml.append("<?xml version = \"1.0\"?> \r\n <Root> <Errors>");
for (count = 0; count < errListSize; count++)
{
errCode = errList.get(count);
......
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