Unable to update items in Subcontracted Purchase order/Subcontracting order

Facing the following issue in V14 instance:

Here in the V14 Purchase Order created for subcontracting , we are not getting an option “Update items” which was available in V13 for update PO item/rate/qty before creating any purchase receipts.
Steps to Replicate:

  1. Navigate to the Purchase Order created from the Production Plan at the following link: https://rangsutra-test-v14.frappe.cloud/app/purchase-order/PO%2FFY23%2Fbranch_abbr0013
  2. Click on “Create” and create a subcontracting order at the following link: https://rangsutra-test-v14.frappe.cloud/app/subcontracting-order/SC-ORD-2023-00011
    3 .Once the subcontracting order is created, click on the “Transfer” button and then click on “Material to Supplier”: https://rangsutra-test-v14.frappe.cloud/app/stock-entry/MI%2FFY23%2FBK0005
    4 .Create a subcontracting receipt at the following link: https://rangsutra-test-v14.frappe.cloud/app/subcontracting-receipt/MAT-SCR-2023-00006
    Use case:
    In v13 the “Update Item” button was available in Subcontracting PO and this button was visible until you created a Purchase Receipt. And before receipt we were able to update item rate/quantity etc but now we are unable to edit rate/quantity in v14 subcontract purchase order. We need this option in v14 because we create subcontract purchase orders before finalizing service rates. After finalizing the service rate, we update the PO before creating the first receipt. So please provide “Update Item” button to update PO.
    Please Note: After updating the service rate in the PO, the subcontracted item rate in the subcontracting order must also be updated as the service rate has changed.

Observation:

  1. In the Purchase order created for subcontracting, we are not getting an option “Update items” which was available in v13 for update PO item/rate/qty before creating any purchase receipts. But in v14 the option is missing.

Expectation:

  1. Here we are expecting the option “Update items” to be available in v14 for update PO item/rate/qty before creating any purchase receipts.

Attaching the screenshots for reference:
Old subcontracting PO:
image

New subcontracting PO:

Thanks,
Sunil

can anyone help me ??. i want edit rate in subcontracting order before receiving first lot against the order. please provide any solutions.

Regards
Sunil

I face the same problem. We used the feature to update items a lot in the old subcontractig flow.

Did anyone find a solution?
Is there any reason why this feature has been removed?

In ErpNext v14.44.0 you can find the following comment in purchase_order.js:

if(!in_list(["Closed", "Delivered"], doc.status)) {
				if(this.frm.doc.status !== 'Closed' && flt(this.frm.doc.per_received) < 100 && flt(this.frm.doc.per_billed) < 100) {
					// Don't add Update Items button if the PO is following the new subcontracting flow.
					if (!(this.frm.doc.is_subcontracted && !this.frm.doc.is_old_subcontracting_flow)) {
						this.frm.add_custom_button(__('Update Items'), () => {
							erpnext.utils.update_child_items({
								frm: this.frm,
								child_docname: "items",
								child_doctype: "Purchase Order Detail",
								cannot_add_row: false,
							})
						});
					}
				}
....
}

Here you can see that the feature has been excluded for the new subcontracting flow. Unfortunately the reason for the decision is not mentioned.

@Sunilmehra21 did you find a workaround for the problem?