I want to delete the duplicate quote line items of a quote. When I'm trying to delete from UI, it is throwing error saying "You are not authorized to make these changes Opportunity is already closed." I checked in validation rule, code level and debug logs. Nowhere I'm able to find the root cause.
Relationship is like this, Opportunity--> Quote --> Quote Line Item.
Opportunity is already synced to the downstream system. So I'm not in the position to delete the entire opportunity and create a fresh one to overcome this.
Is this the expected behavior of salesforce? If yes, is there any way around to delete the redundant quote line items.
QuoteLineItem