Office Data Review should adjust inventory when a treatment is deleted

Expected Result

  • When a Treatment record is deleted:
  • The corresponding Product Inventory Transaction entry should be removed.
  • The consumed product quantity should be added back to the Product Inventory.
  • The inventory should be restored against the mapped vehicle/inventory location.

Actual Result

  • The Treatment record is deleted successfully.
  • However, the Product Inventory Transaction remains unchanged .
  • The consumed product quantity is not added back to the inventory.
  • This results in incorrect inventory levels for the mapped vehicle.