Author: jaz
Date: Wed May 19 19:58:39 2010
New Revision: 946358
URL:
http://svn.apache.org/viewvc?rev=946358&view=revLog:
added log message to show when there are conversion errors and what currency the conversion attemptted
Modified:
ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml
Modified: ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml?rev=946358&r1=946357&r2=946358&view=diff==============================================================================
--- ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml (original)
+++ ofbiz/trunk/applications/product/script/org/ofbiz/product/cost/CostServices.xml Wed May 19 19:58:39 2010
@@ -145,6 +145,7 @@ under the License.
<!-- if currency conversion fails then a 0 cost will be returned -->
<if-empty field="productCost">
+ <log level="warning" message="Currency conversion failed for ProductCost lookup; unable to convert from ${priceCost.currencyUomId} to ${parameters.currencyUomId}"/>
<set field="productCost" value="0" type="BigDecimal"/>
</if-empty>
</if-not-empty>