You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Anahita Goljahani (Jira)" <ji...@apache.org> on 2026/06/16 15:17:00 UTC

[jira] [Created] (OFBIZ-13442) The Quick Receive and Receive actions are currently available in the Order View page for purchase orders with multiple ship groups, even though these workflows support only single-ship-group scenarios.

Anahita Goljahani created OFBIZ-13442:
-----------------------------------------

             Summary: The Quick Receive and Receive actions are currently available in the Order View page for purchase orders with multiple ship groups, even though these workflows support only single-ship-group scenarios.
                 Key: OFBIZ-13442
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13442
             Project: OFBiz
          Issue Type: Bug
          Components: order
    Affects Versions: 24.09.07
            Reporter: Anahita Goljahani
            Assignee: Anahita Goljahani
         Attachments: 1_Receive_Actions_in_order_view_page.png, 2_Receive_Selected_shipment.png, 3_select_shipment_from_shipment_item.png, 4_New_Shipment_For_Ship_Group.png

This jira ticket is related to the ‘[Overview of Workflows Relevant to Procurement in Apache OFBiz|https://cwiki.apache.org/confluence/display/OFBENDUSER/Overview+of+Workflows+Relevant+to+Procurement+in+Apache+OFBiz?src=breadcrumbs-parent]’ document, and specifically to the following issue raised in its subsection ‘[Step-by-step workflow: purchase orders with one shipment and one invoice|https://cwiki.apache.org/confluence/display/OFBENDUSER/Step-by-step+workflow%3A+purchase+orders+with+one+shipment+and+one+invoice]’
{quote}Although the "Quick Receive Purchase Order" and "Receive" workflows described here support only the single shipment / single invoice scenario, the buttons that trigger them are displayed even when an order has more than one ship group. In these cases, the "Quick Receive Purchase Order" and "Receive" buttons create shipments with duplicated data. Instead, these buttons should be disabled for orders with more than one ship group.
{quote}
The issue can be reproduced by creating a purchase order (PO) containing, for example:
 * 10 units of *WG-1111* assigned to *Ship Group 1*
 * 7 units of *GZ-1000* assigned to *Ship Group 2*

After approving the order from the *Order View* page, the *Actions* section displays the *Quick Receive* and *Receive* buttons.

 

If, for instance, the *Receive* button is clicked, a shipment is automatically created for each ship group. In this example, two shipments are created: *Shipment 10002* and {*}Shipment 10003{*}.

 

By querying the *ShipmentItem* entity, it can be verified that each shipment contains all items from the purchase order, resulting in duplicated shipment data.

 

The issue is resolved by disabling the *Quick Receive* and *Receive* buttons when a purchase order contains multiple ship groups. In such cases, only the workflow sections specifically designed to handle multiple ship groups should be displayed.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)