[
https://issues.apache.org/jira/browse/OFBIZ-10538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16591286#comment-16591286 ]
Taher Alkhateeb commented on OFBIZ-10538:
-----------------------------------------
I think perhaps the first thing to do here is to investigate how the date is being created. Is it in the same service or wired in SECA or group service because it would probably be better to do the same to stay consistent.
> Promised Datetime & Current Promised Date values not getting updated in OISGIR Entity
> -------------------------------------------------------------------------------------
>
> Key: OFBIZ-10538
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10538> Project: OFBiz
> Issue Type: Bug
> Components: order, product
> Affects Versions: Trunk
> Reporter: Deepak Nigam
> Priority: Major
>
> While creating the sales order from the backend, if we set the 'Ship Before Date' it will be stored in OrderItemShipGroup.shipByDate field and same will be propagated to OrderItemShipGrpInvRes.promisedDateTime and OrderItemShipGrpInvRes.currentPromisedDate fields.
>
> On updating the 'Ship Before Date' from the order view page later, the promisedDateTime and currentPromisedDate get updated in OrderItemShipGroup entity but remains the same in OrderItemShipGroupInvRes entity.
>
> As OrderItemShipGrpInvRes.promisedDateTime & OrderItemShipGrpInvRes.currentPromisedDate are being used in many services like 'getOrderItemShipGroupEstimatedShipDate', 'getItemBackOrderedQuantity', 'reserveProductInventory' etc., we should also update these on updating the 'Ship Before Date' from the order overview page.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)