[
https://issues.apache.org/jira/browse/OFBIZ-13283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deepak Dixit closed OFBIZ-13283.
--------------------------------
Fix Version/s: 24.09.05
Resolution: Fixed
> 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: Deepak Dixit
> Priority: Minor
> Fix For: 24.09.05
>
> Attachments:
> OFBiz-Facility-Manager-Receive-Inventory-Into--08-12-2025_03_15_PM.png
>
>
> 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)