Author: jonesde
Date: Mon Jan 5 11:52:10 2009
New Revision: 731665
URL:
http://svn.apache.org/viewvc?rev=731665&view=revLog:
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>