Improved: findGlAccountReconciliation(s) providing not associated glAccounts
Used GlAccountOrganizationAndClass view-entity to get the GlAccounts of particular organizationParty instead of all GlAccount on FindGlAccountReconciliation and FindGlAccountReconciliations screen.
Thanks: Ulrich Heidfeld for your contribution.
@@ -796,7 +796,8 @@ under the License.
<field name="organizationPartyId"><hidden/></field>
<field name="glAccountId">
<drop-down allow-empty="false">
- <entity-options entity-name="GlAccount" key-field-name="glAccountId" description="${accountCode} - ${accountName} [${glAccountId}]">
+ <entity-options entity-name="GlAccountOrganizationAndClass" key-field-name="glAccountId" description="${accountCode} - ${accountName} [${glAccountId}]">
+ <entity-constraint name="organizationPartyId" value="${organizationPartyId}" />
<entity-order-by field-name="accountCode"/>
</entity-options>
</drop-down>
@@ -885,7 +886,8 @@ under the License.
<field name="organizationPartyId"><hidden/></field>
<field name="glAccountId">
<drop-down allow-empty="false">
- <entity-options entity-name="GlAccount" key-field-name="glAccountId" description="${accountCode} - ${accountName} [${glAccountId}]">
+ <entity-options entity-name="GlAccountOrganizationAndClass" key-field-name="glAccountId" description="${accountCode} - ${accountName} [${glAccountId}]">
+ <entity-constraint name="organizationPartyId" value="${organizationPartyId}" />
<entity-order-by field-name="accountCode"/>
</entity-options>
</drop-down>
