You can only edit the warehouse receipt with the status not yet approve
If you check the option “Allow delete of Inventory receipt voucher or Inventory delivery voucher (after approval)” allows you to delete approved inventory receiving.
Deleting an inventory receiving with approved status ⇒ reduces the inventory of the items in the inventory receiving voucher, and the corresponding serial numbers (if any) are also deleted.