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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new fdc9db41d0 Fixed: Used organizationPartyId from application decorator 
while expo… (#1242)
fdc9db41d0 is described below

commit fdc9db41d08180b8ddbd262819f9d8aff5ed463b
Author: Ravi Lodhi <[email protected]>
AuthorDate: Fri May 22 20:12:54 2026 +0530

    Fixed: Used organizationPartyId from application decorator while expo… 
(#1242)
    
    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