Develop > Document Engine > Work order example overview > Modify the close and update incident forms

Modify the close and update incident forms

For the work order example, you need to modify the close incident and update incident form so that you can view the work orders assigned to the incident and then double click and read or edit the work order from the incident. Use Forms Designer to update the IM.update.incident and IM.close.incident form. To do this you must add a tab and then a form on the tab on both the IM.update.incident and IM.close.incident forms.

To modify update incident form ,follow these steps:

Note Use these same general procedures to update the close incident form.

  1. From the System Navigator, click Tailoring > Forms Designer to open the Forms Designer search form.
  2. Type IM.update.incident in the Form for the form name.
  3. Click Search.
  4. Click Design.
  5. Add a new tab to the existing notebook.
  6. Set the caption of the tab to WorkOrder.
  7. Add a subformat with the following properties:

    • Visible: checked
    • Format: WorkOrder.vj
    • Virtual Join: checked
    • Display Blank: checked
    • Display Using Table: checked
    • Input: number.WO.vj
  8. Click Save.
  9. Use the Forms Designer tool to create the WorkOrder.vj form:

    • WorkOrderID: ID
    • WorkOrder Deadline: deadline
    • WorkOrder Status: status
    • WorkOrder Assignee: assign.name
    • WorkOrder Description: description
  10. Continue to follow steps 1 through step 8 for IM.close.incident.

    Note You can use the WorkOrder.vj form created in step 9 for the virtual join.

The following figures show samples of the tabs to add.