diff --git a/base/src/org/compiere/acct/Doc.java b/base/src/org/compiere/acct/Doc.java index 8e45f09bb3..80a4c58395 100644 --- a/base/src/org/compiere/acct/Doc.java +++ b/base/src/org/compiere/acct/Doc.java @@ -1053,6 +1053,12 @@ public abstract class Doc log.fine("(none) - " + toString()); return true; } + // Journal from a different acct schema + if (this instanceof Doc_GLJournal) { + int glj_as = ((Integer) p_po.get_Value("C_AcctSchema_ID")).intValue(); + if (acctSchema.getC_AcctSchema_ID() != glj_as) + return true; + } // Get All Currencies HashSet set = new HashSet(); set.add(new Integer(getC_Currency_ID()));