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

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

commit c1aa1056dee05f7b89432ccb20b84aeec104fcd7
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Thu Mar 18 09:55:22 2021 +0100

    Fixed: EditFinAccountReconciliations does not work (OFBIZ-12198)
    
    Like for createGlReconciliation at OFBIZ-10675 it must be that this has 
never
    been tested nor used by anybody. In relation with OFBIZ-10675, took me 
hours to
    understand that it was only missing an INOUT instead of a simple IN :/
---
 applications/accounting/servicedef/services_ledger.xml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/applications/accounting/servicedef/services_ledger.xml 
b/applications/accounting/servicedef/services_ledger.xml
index e0bd432..35b8249 100644
--- a/applications/accounting/servicedef/services_ledger.xml
+++ b/applications/accounting/servicedef/services_ledger.xml
@@ -136,7 +136,7 @@ under the License.
     <service name="updateGlReconciliation" 
default-entity-name="GlReconciliation" engine="entity-auto" invoke="update" 
auth="true">
         <description>Update a GlReconciliation record</description>
         <permission-service service-name="basicGeneralLedgerPermissionCheck" 
main-action="UPDATE"/>
-        <auto-attributes include="pk" mode="IN" optional="false"/>
+        <auto-attributes include="pk" mode="INOUT" optional="false"/>
         <auto-attributes include="nonpk" mode="IN" optional="true">
             <exclude field-name="createdByUserLogin"/>
             <exclude field-name="lastModifiedByUserLogin"/>
@@ -563,7 +563,7 @@ under the License.
         <attribute name="customTimePeriodId" mode="IN" type="String"/>
         <attribute name="previousTimePeriod" mode="OUT" type="Map" 
optional="true"/>
     </service>
-    <service name="getAcctgTransEntriesAndTransTotal" engine="simple" 
invoke="getAcctgTransEntriesAndTransTotal" 
+    <service name="getAcctgTransEntriesAndTransTotal" engine="simple" 
invoke="getAcctgTransEntriesAndTransTotal"
         
location="component://accounting/minilang/ledger/AcctgTransServices.xml" 
auth="true">
         <description>Given AcctgTransAndEntire and Calculate acctg trans total 
for specific time period.</description>
         <attribute name="customTimePeriodStartDate" mode="IN" 
type="Timestamp"/>
@@ -588,7 +588,7 @@ under the License.
         <attribute name="debitCreditDifference" type="BigDecimal" mode="OUT"/>
     </service>
     
-    <service name="revertAcctgTransOnCancelInvoice" engine="simple" 
+    <service name="revertAcctgTransOnCancelInvoice" engine="simple"
             
location="component://accounting/minilang/ledger/AcctgTransServices.xml" 
invoke="revertAcctgTransOnCancelInvoice" auth="true">
         <description>Reverting Accounting Transaction And Entries on Canceling 
an Invoice</description>
         <attribute name="invoiceId" mode="IN" type="String" optional="false"/>
@@ -596,7 +596,7 @@ under the License.
     <service name="revertAcctgTransOnRemovePaymentApplications" engine="simple"
            
location="component://accounting/minilang/ledger/AcctgTransServices.xml" 
invoke="revertAcctgTransOnRemovePaymentApplications" auth="true">
         <description>Create Reverse Accounting Transaction and Entries on 
removing PaymentApplication records.</description>
-        <attribute name="paymentApplicationId" mode="IN" type="String" 
optional="false"/>       
+        <attribute name="paymentApplicationId" mode="IN" type="String" 
optional="false"/>
     </service>
 
     <service name="createGlAccountCategory" engine="entity-auto" 
default-entity-name="GlAccountCategory" invoke="create" auth="true">
@@ -663,7 +663,7 @@ under the License.
         <attribute name="oldStatusId" type="String" mode="OUT" 
optional="true"/>
     </service>
 
-    <service name="createUpdateCostCenter" engine="java" auth="true" 
invoke="createUpdateCostCenter" 
+    <service name="createUpdateCostCenter" engine="java" auth="true" 
invoke="createUpdateCostCenter"
         location="org.apache.ofbiz.accounting.ledger.GeneralLedgerServices">
         <description>Create Update CostCenters</description>
         <attribute name="glAccountId" mode="IN" type="String"/>

Reply via email to