Author: jacopoc
Date: Tue Apr 8 23:57:07 2008
New Revision: 646199
URL:
http://svn.apache.org/viewvc?rev=646199&view=revLog:
Applied patch from Rashko Rejmer (OFBIZ-1693) to pass a Double value to the convertUom service.
Modified:
ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml?rev=646199&r1=646198&r2=646199&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/ledger/GeneralLedgerServices.xml Tue Apr 8 23:57:07 2008
@@ -295,7 +295,7 @@
<set field="acctgTransEntry.currencyUomId" from-field="partyAcctgPreference.baseCurrencyUomId"/>
<if-compare-field field-name="acctgTransEntry.origCurrencyUomId" operator="not-equals" to-field-name="acctgTransEntry.currencyUomId">
<clear-field field-name="convertUomInMap"/>
- <set field="convertUomInMap.originalValue" from-field="acctgTransEntry.origAmount"/>
+ <set field="convertUomInMap.originalValue" from-field="acctgTransEntry.origAmount" type="Double"/>
<set field="convertUomInMap.uomId" from-field="acctgTransEntry.origCurrencyUomId"/>
<set field="convertUomInMap.uomIdTo" from-field="acctgTransEntry.currencyUomId"/>
<!-- TODO: set the optional asOfDate input parameter -->