ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Dixit (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-7161) set field not correct, when it type is BigDecimal and value is minus, in simple-method cancelReceivedItems (ShipmentReceiptServices.xml)
Date Thu, 08 Dec 2016 10:48:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-7161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15731824#comment-15731824
] 

Deepak Dixit commented on OFBIZ-7161:
-------------------------------------

Closing this issue as this has been fixed under OFBIZ-7943

> 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)

Mime
View raw message