Here is the JIRA ticket for addressing this issue: https://issues.apache.org/jira/browse/OFBIZ-10538
Thanks & Regards -- Deepak Nigam HotWax Systems Pvt. Ltd. On Wed, Aug 8, 2018 at 9:42 PM Jacques Le Roux <jacques.le.r...@les7arts.com> wrote: > Hi Suraj, Deepak, > > I agree, I see no reasons why it would be created and not update. > While at it, using currentPromisedDate in services seems also better > indeed. > > Jacques > > Le 08/08/2018 à 11:17, Suraj Khurana a écrit : > > Hello Deepak, > > > > This is interesting case. IMO, currentPromisedDate should also be updated > > after updating 'Ship Before Date'. > > Also, in mentioned services, I propose we should use currentPromisedDate > > instead of promisedDateTime field. > > > > -- > > Best Regards, > > Suraj Khurana | Omni-channel OMS Technical Expert > > Cell phone: +91 96697-50002 > > > > > > On Tue, Aug 7, 2018 at 11:29 AM, deepak nigam < > deepak.nigam1...@gmail.com> > > wrote: > > > >> Hello Devs, > >> > >> 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 > >> value gets updated in OrderItemShipGroup entity but remains the same in > >> OrderItemShipGroupInvRes entity. > >> > >> Is this the expected behaviour or OrderItemShipGroupInvRes should also > get > >> updated? OrderItemShipGrpInvRes.promisedDateTime & > >> OrderItemShipGrpInvRes.currentPromisedDate is used in many services like > >> 'getOrderItemShipGroupEstimatedShipDate', 'getItemBackOrderedQuantity', > >> 'reserveProductInventory' etc. > >> > >> > >> Thanks & Regards > >> -- > >> Deepak Nigam > >> > >