IDEMPIERE-3350 Accounting Processor GL postings to "secondary" schema unreliable. Fix concurrency issue with accounting schema cache.
This commit is contained in:
parent
c5aca27ae1
commit
6581080b38
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue