If a workorder is determined to be a warranty, it is flagged when received and the id_options field in the erp_workorder table is updated from "0" to "4". and a record is created in the erp_warranty table.


If a workorder is accidentally marked as a warranty, there is no way currently for users to revert back to a regular workorder as the option was removed at some point in time. In the meantime, an admin can manually adjust the records to revert the workorder from warranty status.


Steps:

  1. Identify the workorder number and find it in the erp_workorder table under the id_primary column
  2. Find the workorder in the erp_warranty table under the id_workorder_2 column
  3. Delete the matching record
  4. Back in erp_workorder table, change id_options from "4" to "0" for the record