This is an automated email from the ASF dual-hosted git repository.

arunpati pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release24.09 by this push:
     new 342866c3dc Fixed: Accounting Transaction CSV Export functionality by 
using organizationPartyId from application decorator (OFBIZ-12111) (#1252)
342866c3dc is described below

commit 342866c3dcad07d09358d45c90d1c8213b1c30e6
Author: Ravi Lodhi <[email protected]>
AuthorDate: Fri May 22 20:13:29 2026 +0530

    Fixed: Accounting Transaction CSV Export functionality by using 
organizationPartyId from application decorator (OFBIZ-12111) (#1252)
    
    Fixed: Accounting Transaction CSV Export functionality by using
    organizationPartyId from application decorator (OFBIZ-12111).
    
    Explanation
    In AcctgTransSearchResultsCsv form, used in the
    AcctgTransSearchResultsCsv screen for preparing the CSV while exporting
    accounting transactions, organizationPartyId was being read from the
    context, but it was not available there. organizationPartyId was passed
    in parameters and could be read from there, but it was preferred to read
    it from the Application Decorator, as is done in other places (Refer:
    [OFBIZ-6847](https://issues.apache.org/jira/browse/OFBIZ-6847) ).
    
    Thanks:
---
 applications/accounting/widget/GlForms.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/accounting/widget/GlForms.xml 
b/applications/accounting/widget/GlForms.xml
index 3288e7cb5e..b38aeafffe 100644
--- a/applications/accounting/widget/GlForms.xml
+++ b/applications/accounting/widget/GlForms.xml
@@ -1073,7 +1073,7 @@ under the License.
         <actions>
            <entity-condition entity-name="AcctgTransAndEntries" 
list="acctgTransList" result-set-type="forward" distinct="true">
                 <condition-list>
-                    <condition-expr field-name="organizationPartyId" 
operator="equals" from-field="organizationPartyId"/>
+                    <condition-expr field-name="organizationPartyId" 
operator="equals" 
value="${groovy:parameters.get('ApplicationDecorator|organizationPartyId')}"/>
                     <condition-expr field-name="acctgTransTypeId" 
operator="equals" from-field="parameters.acctgTransTypeId" 
ignore-if-empty="true"/>
                     <condition-expr field-name="glFiscalTypeId" 
operator="equals" from-field="parameters.glFiscalTypeId" 
ignore-if-empty="true"/>
                     <condition-expr field-name="glJournalId" operator="equals" 
from-field="parameters.glJournalId" ignore-if-empty="true"/>

Reply via email to