Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10372

Calculate estimated shipment delivery time

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Implemented
    • Trunk
    • 18.12.01
    • order

    Description

      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:

          <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"/>
              ...
      

      We have two asks related to this issue on users 1 2

      The first patch made in collaboration with Leila Mekika lays bricks to implement this idea

      All remark and suggest are welcome to continue it.

      Attachments

        1. OFBIZ-10372.patch
          54 kB
          Nicolas Malin
        2. OFBIZ-10372.patch
          51 kB
          Nicolas Malin
        3. OFBIZ-10372.patch
          33 kB
          Nicolas Malin
        4. OFBIZ-10372-plugins.patch
          3 kB
          Gil Portenseigne

        Activity

          People

            nmalin Nicolas Malin
            nmalin Nicolas Malin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: