You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "dalater (JIRA)" <ji...@apache.org> on 2016/06/02 08:18:59 UTC
[jira] [Created] (OFBIZ-7161) set field not correct, when it type
is BigDecimal and value is minus, in simple-method cancelReceivedItems
(ShipmentReceiptServices.xml)
dalater created OFBIZ-7161:
------------------------------
Summary: set field not correct, when it type is BigDecimal and value is minus, in simple-method cancelReceivedItems (ShipmentReceiptServices.xml)
Key: OFBIZ-7161
URL: https://issues.apache.org/jira/browse/OFBIZ-7161
Project: OFBiz
Issue Type: Bug
Components: product
Affects Versions: Release Branch 13.07
Environment: Debian(testing) + oracleJDK(v1.8.0_92)
Reporter: dalater
......
<set field="inventoryItemDetailMap.quantityOnHandDiff" value="${-1 * inventoryItem.quantityOnHandTotal}" type="BigDecimal"/>
<set field="inventoryItemDetailMap.availableToPromiseDiff" value="${-1 * inventoryItem.availableToPromiseTotal}" type="BigDecimal"/>
<call-service service-name="createInventoryItemDetail" in-map-name="inventoryItemDetailMap"/>
......
when serialized item be canceled, set field result is always 1, not -1
simple-method cancelReceivedItems in file ShipmentReceiptServices.xml
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)