Commit e6e7e037 authored by manohar's avatar manohar

first time seq not incremented - corrected


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@91158 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 94e0252c
......@@ -183,10 +183,10 @@ public class DownloadCSVBatchBean implements Schedule
}
rsSeq.close();
rsSeq = null;
if (recCounter == 0 )
{
recCounter = 1;
}
//if (recCounter == 0 )
//{
recCounter++;// = 1;
//}
// end 11/09/09 manoharan to store the sequence number (file suffix) in invoice table and increment for the same day
}
dnldFileName = ( uniformCode == null ? "" : uniformCode.trim() ) + "_" + dt + "_" + ( new java.text.DecimalFormat( "000" ) ).format( recCounter );
......
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