IDEMPIERE-874 Suspense Account is Posted with Wrong Org on GL Journal (#190)

This commit is contained in:
Carlos Ruiz 2020-07-30 17:06:14 +02:00 committed by GitHub
parent 0fa717cf0a
commit 937eaaa6ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -310,6 +310,7 @@ public final class Fact
FactLine line = new FactLine (m_doc.getCtx(), m_doc.get_Table_ID(),
m_doc.get_ID(), 0, m_trxName);
line.setDocumentInfo(m_doc, null);
line.setAD_Org_ID(m_doc.getAD_Org_ID());
line.setPostingType(m_postingType);
// Account
@ -586,6 +587,7 @@ public final class Fact
m_doc.get_ID(), 0, m_trxName);
line.setDocumentInfo (m_doc, null);
line.setPostingType (m_postingType);
line.setAD_Org_ID(m_doc.getAD_Org_ID());
line.setAccount (m_acctSchema, m_acctSchema.getCurrencyBalancing_Acct());
// Amount