You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Ravi Lodhi (JIRA)" <ji...@apache.org> on 2019/04/27 12:23:00 UTC

[jira] [Created] (OFBIZ-10984) User can create Incoming shipment with wrong status

Ravi Lodhi created OFBIZ-10984:
----------------------------------

             Summary: User can create Incoming shipment with wrong status
                 Key: OFBIZ-10984
                 URL: https://issues.apache.org/jira/browse/OFBIZ-10984
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: Trunk
            Reporter: Ravi Lodhi


User can create Incoming Purchase Shipment with wrong status e.g. Input (Status to track Outbound shipments)

Steps to reproduce:

1. Login to facility component [https://demo-trunk.ofbiz.apache.org/facility/control/main
]2. Go to  Shipments screen (https://demo-trunk.ofbiz.apache.org/facility/control/FindShipment) 
3. Click on New Shipment button to create a new Shipment.
4. Here all the statuses displayed are of outbound shipments but the user can also select any incoming shipment type from Shipment type ID dropdown it can be "Incoming Shipment", "Incoming Purchase Shipment" etc.
5. Select any status and Shipment type ID as "Incoming Purchase Shipment".
6. Shipment get's created successfully.

 

 

As per my knowledge, there is a different set of status to track the incoming and outgoing shipment. Here is the list of shipment status for the reference.
*Outbound Shipment Status:*
{code:java}
<StatusItem description="Input" sequenceId="01" statusCode="INPUT" statusId="SHIPMENT_INPUT" statusTypeId="SHIPMENT_STATUS"/>
<StatusItem description="Scheduled" sequenceId="02" statusCode="SCHEDULED" statusId="SHIPMENT_SCHEDULED" statusTypeId="SHIPMENT_STATUS"/>
<StatusItem description="Picked" sequenceId="03" statusCode="PICKED" statusId="SHIPMENT_PICKED" statusTypeId="SHIPMENT_STATUS"/>
<StatusItem description="Packed" sequenceId="04" statusCode="PACKED" statusId="SHIPMENT_PACKED" statusTypeId="SHIPMENT_STATUS"/>
<StatusItem description="Shipped" sequenceId="05" statusCode="SHIPPED" statusId="SHIPMENT_SHIPPED" statusTypeId="SHIPMENT_STATUS"/>
<StatusItem description="Delivered" sequenceId="06" statusCode="DELIVERED" statusId="SHIPMENT_DELIVERED" statusTypeId="SHIPMENT_STATUS"/>
<StatusItem description="Cancelled" sequenceId="99" statusCode="CANCELLED" statusId="SHIPMENT_CANCELLED" statusTypeId="SHIPMENT_STATUS"/>
{code}




*Inbound Shipment Status:*
{code:java}
<ShipmentStatus statusId="PURCH_SHIP_CREATED" shipmentId="9997" statusDate="2009-08-13 17:46:28.784"/>
<ShipmentStatus statusId="PURCH_SHIP_RECEIVED" shipmentId="9997" statusDate="2009-08-13 17:47:47.602"/>
<ShipmentStatus statusId="PURCH_SHIP_SHIPPED" shipmentId="9997" statusDate="2009-08-13 17:46:29.836"/>
{code}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)