Hi @Sachin_Jaiswal,
When a quotation is canceled, remove the row that references to the canceled quotation, and then add a new row. If the quotation is canceled, there’s no need to keep the reference, so just delete the row.
Then submit the Sales Order.
Thank You!