Yashwant Dhakad created OFBIZ-13283:
---------------------------------------

             Summary: Canceling a partially received Purchase Order receipt 
throws a "Required Field Missing: Receipt Id" error.
                 Key: OFBIZ-13283
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13283
             Project: OFBiz
          Issue Type: Bug
    Affects Versions: Upcoming Branch
            Reporter: Yashwant Dhakad
            Assignee: Yashwant Dhakad


When a Purchase Order is partially received and the user clicks the *Cancel* 
button on the Receipt screen, the system displays an error message:
The Following Errors Occurred:
Required Field Missing: Receipt Id.
Additionally, the Facility ID not found error is also displayed in the 
background.
This prevents the cancellation action from proceeding, even though a valid 
Receipt ID exists in the system.{*}{*}

{{}}

*Steps to Reproduce:*
 # *Create a Purchase Order (PO)* for any product with quantity > 1.

 # *Approve* the PO.

 # {*}Receive Partial Quantity{*}:

 ** Navigate to the "Receive Purchase Order" screen.

 ** Enter a smaller quantity than the ordered amount.

 ** Submit the receipt so it gets created.

 # *Navigate to the Receipt Screen* for that partially received PO.

 # Click on the *Cancel* button at the top of the receipt screen.

 # Observe that the following error message is displayed:
The Following Errors Occurred:
Required Field Missing: Receipt Id.
 
 # Also, the page shows:
ERROR: Facility with ID not found
{{}}

*Expected Result:*
Clicking *Cancel* should properly cancel the receipt without requiring manual 
entry of the Receipt ID.

*Actual Result:*
An error is thrown stating "Required Field Missing: Receipt Id" and "Facility 
with ID not found", preventing the cancel operation.



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

Reply via email to