Fix [2815046] ImportGLJournal lock on ad_sequence

Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2815046
This commit is contained in:
Carlos Ruiz 2010-03-19 19:27:35 +00:00
parent 494097b12b
commit 0e7a09116d
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ public class ImportGLJournal extends SvrProcess
|| !BatchDocumentNo.equals(impBatchDocumentNo))
{
BatchDocumentNo = impBatchDocumentNo; // cannot compare real DocumentNo
batch = new MJournalBatch (getCtx(), 0, null);
batch = new MJournalBatch (getCtx(), 0, get_TrxName());
batch.setClientOrg(imp.getAD_Client_ID(), imp.getAD_OrgDoc_ID());
if (imp.getBatchDocumentNo() != null
&& imp.getBatchDocumentNo().length() > 0)