svn commit: r731612 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml

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

svn commit: r731612 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml

jleroux@apache.org
Author: jleroux
Date: Mon Jan  5 08:34:08 2009
New Revision: 731612

URL: http://svn.apache.org/viewvc?rev=731612&view=rev
Log:
Fix a bug introduced with recent minilang changes. Thanks to Daniel Riquelme on dev ML
I checked : no others like that.

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml?rev=731612&r1=731611&r2=731612&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml Mon Jan  5 08:34:08 2009
@@ -410,7 +410,7 @@
                         </calculate>
                     <else>
                         <if-compare field="acctgTransEntry.debitCreditFlag" operator="equals" value="C">
-                            <calculate field="glAccountHistory" type="BigDecimal.postedCredits" >
+                            <calculate field="postedCredits" map-name="glAccountHistory" type="BigDecimal" >                                    
                                 <calcop operator="add">
                                     <calcop operator="get" field="amount" map-name="acctgTransEntry"/>
                                     <calcop operator="get" field="postedCredits" map-name="glAccountHistory"/>