Develop > Document Engine Guide > Work order example overview

Work order example overview

What is a work order? A work order is a specific task assigned to a single engineer that identifies some activity necessary to resolve an incident or possibly any other module if the work order system were extended to include changes, problems, or known errors. The following example is based onHPE Service Manager version 7.11 and was written to enable users to create, update, and close work orders for Incident Management. It can be modified easily for another Service Manager application.

This example creates a work order system to demonstrate how to use the Document Engine. This work order system will enable users to create work orders for an incident and view the status of these work orders. The work order system also enables users to view and update a work order from Incident Management. All work orders are associated with a particular incident in the system, and the incident cannot be closed until all work orders for the incident are closed.

This example is intended for users who tailor or customize the system. You should have a good understanding of the following tailoring functions:

  • Database Dictionary to create a new table
  • Forms Designer to modify out-of-box forms and create new forms.
  • Wizard creation tool

The work order example walks you through the following steps:

  • Create a new database dictionary (dbdict) using the dbdict utility
  • Specify the key fields for the table
  • Create a EXWorkOrder form for the EXWorkOrder table using Forms Designer
  • Create a Sequential Number File
  • Modify the form to include drop-down lists
  • Create a link for the EXWorkOrder form
  • Create a form for the wizard to use to collect information for the work order.
  • Modify the close and update incident forms
  • Create aliases to link work orders to incidents
  • Create State definitions
  • Create Display Application Screen Definitions for open, close, and view
  • Create Display Application Option Definition of Add, Cancel, Fill and Find for open, close and view.
  • Modify the Process definition record im.set.close
  • Test the work order example