PRT_WINDOW.CFG

About this task

The PRT Window (Field Labels) ( prt_window.cfg ) configuration file is used to customize the columns and their order in the PRT User Interface (prt_ui). This file has a DEFAULT record already configured. If you want to rearrange or limit the information on screen, you can do so by View or by Region. This feature comes in handy for printing reports and for customizing a screen to display only the information needed by a technician.

Further, this file can be used to configure different views for each of your designated PRT Services, or views to run across all PRT Services.

OPTIONAL FILE

A View record:

  • Is common to all regions.
  • Specifies what information displays.
  • Arranges information in the display.
  • Customizes labels (column headings).
  • Uses the keyword DEFAULT in the first line.

A Region View record:

  • Impacts a specific region.
  • Specifies what information displays.
  • Arranges information in the display.
  • Customizes labels (column headings).
  • Overrides other views.
  • Uses the keyword REGION in the first line.
todo:  To configure the prt_window.cfg file:

Procedure

  1. Click Tools on the Workbench menu bar.
  2. Select Command Prompt

    A DOS window opens.

  3. Type cd master on the Command Line .
  4. Press Enter to switch to the Master directory.
  5. Type notepad prt_window.cfg (where Notepad is the text editor).
  6. Press Enter.

    The default record for prt_window.cfg will display in the text editor.

  7. Do one of the following:

    Option 1

    1. Type REGION to create a common view for all of your regions.
    2. Type the delimiter, e.g. |.
    3. Type a name for the view, e.g. VIEW1.

    Option 2

    1. Type REGION to create a common view for all of your regions.
    2. Type the delimiter, e.g. |.
    3. Type the name of the region, e.g. ROBOT1.
  8. Press Enter.
  9. Create your record(s) using the field descriptions as follows:
    No. Field Name Description Data Type
    0 field_type Code defining the field type as follows: One character
    0 Internal
    1 Attribute
    2 Status
    1 prt_field PRT field for which the modified label will be used. Use the following keywords: PRT_ASSOC_ITEM PRT_EXT_HOLD PRT_GROUP_ID PRT_INT_HOLD PRT_ITEM_ID PRT_ITEM_CLASS_ID PRT_ITEM_TYPE PRT_REFERENCE_ID PRT_REGION_ID 16 characters
    2 prt_label Label or column head to be alternately used in the PRT window. Recommend title case for alternate labels. 16 characters
    3 field_size Width of the field by number of characters. Integer
  10. Click File on the menu bar after you have created all of your views and proceed as follows:
    Do When
    Select Save The prt_ui is configured to view all PRT Services.
    Select Save As The prt_ui is configured to view a specific service Then
    1. Enter aprt_window.cfg in the File Name field,
    Where aprt is the name of the PRT Service
    1. Click Save.
  11. Close the text editor.

Results

The records created in the prt_window.cfg file will impact the type and arrangement of the information displayed in the PRT window by PRT Service, by common view and by region.

A DEFAULT Already configured
B DEFAULT_VIEW Common view, record created.
C REGION Region view, record created.