Bank statement posting period incorrect. Fixes #272

(transplanted and modified for idempiere from http://adempiere.hg.sourceforge.net/hgweb/adempiere/contribution_adaxa/rev/53b4ceb2ecaa)
This commit is contained in:
Paul Bowden 2011-11-09 12:23:30 +11:00
parent e377f62aec
commit ccf712f7d6
1 changed files with 0 additions and 4 deletions

View File

@ -103,10 +103,6 @@ public class Doc_BankStatement extends Doc
MBankStatementLine line = lines[i];
DocLine_Bank docLine = new DocLine_Bank(line, this);
MPeriod period = MPeriod.get(getCtx(), line.getDateAcct(), line.getAD_Org_ID());
if (period != null && period.isOpen(DOCTYPE_BankStatement, line.getDateAcct()))
docLine.setC_Period_ID(period.getC_Period_ID());
//
list.add(docLine);
}