Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Production Management

Set up required fields in the work order table

  • Last UpdatedSep 25, 2023
  • 3 minute read

After you populate work order table fields, set up the three fields in the work order table that represent the required fields of the external work order table. The three required fields are:

  • Work order request number

  • Equipment ID

  • Originator ID

Work order request number

Because the work order request number is a unique number, you require a method to generate the number. The simplest way to do this is with the Expression Editor, but you can use other methods such as a lookup table or reference a code item. The following procedure uses the Expression Editor to generate the number.

Set up the field for work order request number

  1. Display the properties of the field that the work order table uses for the work order request number.

    Studio project hierarchy view showing an expanded Applcation Folder with the list of Work Order Table fields.for an OLEDB datasource item.

  2. Set the FieldType property to ID.

  3. Set the FieldIDType property to Other.

  4. In the Expression property, click Browse, and then use the Expression Editor to generate a random number with your own routine or a .NET predefined function.

    Examples

    Type

    Formula

    Result

    String

    "WOR"+System.Guid.NewGuid( ).ToString( ).ToUpper( )

    A random GUID.

    String

    time.ToString("YYYYMMDDhhmmssffff")

    Date and time in YYYYMMDDhhmmssffff format. There must be double quotation marks around the format token.

    Long

    time.Ticks

    A large and unique number.

  5. On the Project menu, click Save.

Equipment ID

When a work order request is created in AVEVA™ Production Management either automatically or manually, the field for equipment ID uses the equipment ID of the location where the work order request is created.

Set up the field for equipment ID

  1. Display the properties of the field that the work order table uses for equipment ID.

    Studio project hierarchy view showing an expanded Applcation Folder with the list of Work Order Table fields.for an OLEDB datasource item.

  2. Set the FieldType property to ID.

  3. Set the FieldIDType property to EquipmentID.

  4. On the Project menu, click Save.

  5. Proceed to assign an equipment ID to a location.

    Originator ID

    The originator ID identifies the person who initiates the work order request. When a user creates a work order request in AVEVA™ Production Management, the software automatically populates the originator ID field with the identifier that you assign to the user.

    Set up the field for originator ID

    1. Display the properties of the field that the work order table uses for originator ID.

      Studio project hierarchy view showing an expanded Applcation Folder with the list of Work Order Table fields.for an OLEDB datasource item.

    2. Set the FieldType property to UserCompany.

    3. On the Project menu, click Save.

    4. Proceed to Assign an originator ID to a user.

      In This Topic
      TitleResults for “How to create a CRG?”Also Available in