Fix [2815046] ImportGLJournal lock on ad_sequence
Link to SF Tracker: http://sourceforge.net/support/tracker.php?aid=2815046
This commit is contained in:
parent
494097b12b
commit
0e7a09116d
|
@ -629,7 +629,7 @@ public class ImportGLJournal extends SvrProcess
|
||||||
|| !BatchDocumentNo.equals(impBatchDocumentNo))
|
|| !BatchDocumentNo.equals(impBatchDocumentNo))
|
||||||
{
|
{
|
||||||
BatchDocumentNo = impBatchDocumentNo; // cannot compare real DocumentNo
|
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());
|
batch.setClientOrg(imp.getAD_Client_ID(), imp.getAD_OrgDoc_ID());
|
||||||
if (imp.getBatchDocumentNo() != null
|
if (imp.getBatchDocumentNo() != null
|
||||||
&& imp.getBatchDocumentNo().length() > 0)
|
&& imp.getBatchDocumentNo().length() > 0)
|
||||||
|
|
Loading…
Reference in New Issue