From 6581080b38769908ca7638e5f68fb2a0ca6c6ce9 Mon Sep 17 00:00:00 2001 From: Heng Sin Low Date: Wed, 17 May 2017 22:26:07 +0800 Subject: [PATCH] IDEMPIERE-3350 Accounting Processor GL postings to "secondary" schema unreliable. Fix concurrency issue with accounting schema cache. --- org.adempiere.base/src/org/compiere/model/MAcctSchema.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.adempiere.base/src/org/compiere/model/MAcctSchema.java b/org.adempiere.base/src/org/compiere/model/MAcctSchema.java index 5f2b3b2ce7..e30e0380e6 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctSchema.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctSchema.java @@ -90,7 +90,7 @@ public class MAcctSchema extends X_C_AcctSchema * @param trxName optional trx * @return Array of AcctSchema of Client */ - public static MAcctSchema[] getClientAcctSchema (Properties ctx, int AD_Client_ID, String trxName) + public static synchronized MAcctSchema[] getClientAcctSchema (Properties ctx, int AD_Client_ID, String trxName) { // Check Cache Integer key = new Integer(AD_Client_ID);