[ 
https://issues.apache.org/jira/browse/OFBIZ-13283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18017369#comment-18017369
 ] 

ASF subversion and git services commented on OFBIZ-13283:
---------------------------------------------------------

Commit aabd04b04e2a8bdd7d4149dd5b3226d605e9709e in ofbiz-framework's branch 
refs/heads/trunk from Yashwant Dhakad
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=aabd04b04e ]

Improved: Fixed missing receiptId and facilityId when canceling a par… (#905)

Improved: Fixed missing receiptId and facilityId when canceling a
partially received PO receipt causing error messages (OFBIZ-13283).

Co-authored-by: Yashwant Dhakad <yashwantdhakad@Yashwant-Dhakad-MBA.local>

> 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
>            Priority: Minor
>         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)

Reply via email to