|
[ https://issues.apache.org/jira/browse/OFBIZ-10372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16610740#comment-16610740 ] Nicolas Malin commented on OFBIZ-10372: --------------------------------------- Thanks [~gil portenseigne] and [~suraj.khurana] for your review, much appreciated ! I commited it on trunk at revision 1840579 and 1840581 for plugins {quote}IMO, we can have a check at makeItemShipGroupAndAssoc method of shopping cart just before checking if a shipment time estimate exists to resolve the estimated delivery date.{quote} I tried to understand what do you mean before commit but after some re read, I didn't found. So I proprose to don't close this issue and like this you can have the possibility easily to submit to this issue your vision :) > Calculate estimated shipment delivery time > ------------------------------------------ > > Key: OFBIZ-10372 > URL: https://issues.apache.org/jira/browse/OFBIZ-10372 > Project: OFBiz > Issue Type: New Feature > Components: order > Affects Versions: Trunk > Reporter: Nicolas Malin > Assignee: Nicolas Malin > Priority: Major > Labels: order, shipment, time > Attachments: OFBIZ-10372-plugins.patch, OFBIZ-10372.patch, OFBIZ-10372.patch, OFBIZ-10372.patch > > > Currently when you pass an order in ofbiz you can select the shipment method to delivery finish good and obtains an amount cost but you have nothing to indicate how the delivration will during. > We have a good example with ship by plane or boat and for road the time is different between the Portugal to Spain and Portugal to Slovenia. > With this information, we can planned the estimated delivery date with the estimated date to produce finish good and the time to delivery them > To fill this gap, we introduce a new entity ShipmentTimeEstimate modelled as ShipmentCostEstimate to define the estimated time for a shipment method, a carrier and two geo location: > {code:java} > <entity entity-name="ShipmentTimeEstimate" package-name="org.apache.ofbiz.shipment.shipment" > title="Shipment Time Estimation Entity"> > <field name="shipmentMethodTypeId" type="id"/> > <field name="partyId" type="id"/> > <field name="roleTypeId" type="id"/> > <field name="geoIdTo" type="id"/> > <field name="geoIdFrom" type="id"/> > <field name="fromDate" type="date-time"/> > <field name="thruDate" type="date-time"/> > <field name="leadTime" type="fixed-point"/> > <field name="leadTimeUomId" type="id"/> > <prim-key field="shipmentMethodTypeId"/> > <prim-key field="partyId"/> > <prim-key field="roleTypeId"/> > <prim-key field="geoIdTo"/> > <prim-key field="geoIdFrom"/> > <prim-key field="fromDate"/> > ... > {code} > We have two asks related to this issue on users [1|https://lists.apache.org/thread.html/de58aa36744804c28eccef6fc7ebc8f0311f65b0dc6b17f1fa5234d4@%3Cuser.ofbiz.apache.org%3E] [2|https://lists.apache.org/thread.html/1d79dd9f42fc256e5986271e9e0447bde2980bf0310c4b5f04a35e9f@%3Cuser.ofbiz.apache.org%3E] > > The first patch made in collaboration with Leila Mekika lays bricks to implement this idea > All remark and suggest are welcome to continue it. -- This message was sent by Atlassian JIRA (v7.6.3#76005) |
| Free forum by Nabble | Edit this page |
