IDEMPIERE-4222 GL Distribution can't work with organization set on the Org_ID field
This commit is contained in:
parent
132cc4036c
commit
92cd714221
|
@ -110,7 +110,7 @@ public class MDistribution extends X_GL_Distribution
|
|||
continue;
|
||||
|
||||
// Optional Elements - "non-Any"
|
||||
if (!distribution.isAnyOrg() && distribution.getAD_Org_ID() != AD_Org_ID)
|
||||
if (!distribution.isAnyOrg() && distribution.getOrg_ID() != AD_Org_ID)
|
||||
continue;
|
||||
if (!distribution.isAnyAcct() && distribution.getAccount_ID() != Account_ID)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue