svn commit: r731665 - /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: r731665 - /ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/AcctgTransServices.xml

jonesde
Author: jonesde
Date: Mon Jan  5 11:52:10 2009
New Revision: 731665

URL: http://svn.apache.org/viewvc?rev=731665&view=rev
Log:
A few changes to get rid of map-name attributes and combine with field

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=731665&r1=731664&r2=731665&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 11:52:10 2009
@@ -402,18 +402,18 @@
 
                     <!-- update GlAccountHistory's debit and credit totals -->
                     <if-compare field="acctgTransEntry.debitCreditFlag" operator="equals" value="D">
-                        <calculate field="postedDebits" map-name="glAccountHistory" type="BigDecimal">
+                        <calculate field="glAccountHistory.postedDebits" type="BigDecimal">
                             <calcop operator="add">
-                                <calcop operator="get" field="amount" map-name="acctgTransEntry"/>
-                                <calcop operator="get" field="postedDebits" map-name="glAccountHistory"/>
+                                <calcop operator="get" field="acctgTransEntry.amount"/>
+                                <calcop operator="get" field="glAccountHistory.postedDebits"/>
                             </calcop>
                         </calculate>
                     <else>
                         <if-compare field="acctgTransEntry.debitCreditFlag" operator="equals" value="C">
-                            <calculate field="postedCredits" map-name="glAccountHistory" type="BigDecimal" >                                    
+                            <calculate field="glAccountHistory.postedCredits" type="BigDecimal">                                    
                                 <calcop operator="add">
-                                    <calcop operator="get" field="amount" map-name="acctgTransEntry"/>
-                                    <calcop operator="get" field="postedCredits" map-name="glAccountHistory"/>
+                                    <calcop operator="get" field="acctgTransEntry.amount"/>
+                                    <calcop operator="get" field="glAccountHistory.postedCredits"/>
                                 </calcop>
                             </calculate>
                             <else>