svn commit: r1863840 - /ofbiz/ofbiz-framework/trunk/applications/accounting/widget/GlForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1863840 - /ofbiz/ofbiz-framework/trunk/applications/accounting/widget/GlForms.xml

Pawan Verma-2
Author: pawan
Date: Sat Jul 27 08:02:55 2019
New Revision: 1863840

URL: http://svn.apache.org/viewvc?rev=1863840&view=rev
Log:
[Improved]: findGlAccountReconciliation(s) providing not associated glAccounts
[OFBIZ-10841]
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.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/widget/GlForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/widget/GlForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/widget/GlForms.xml?rev=1863840&r1=1863839&r2=1863840&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/widget/GlForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/widget/GlForms.xml Sat Jul 27 08:02:55 2019
@@ -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>