The Work Asset Setup module allows agencies to customize the information that is copied from an Inventory record to an Asset record when a Work Order or PM/Template are created. Administrators can set up a different configuration for each type of asset.
Note: To view an explanation of any field, Ctrl + right click in that field.
To access the Work Asset Setup module, select Work > Administration > Work Asset Setup. The following window appears:
Header Data
The header data appears at the top of the module.
Asset Type**
Indicates which Asset Inventory is associated with this Configuration record.
* Required.
* Must be unique. Only one Configuration can be established for each Asset Type.
Work Asset Matchup Fields
The Work Asset Matchup grid enables users to pair fields from a Work Order or PM/Template Asset record with fields within an Asset Inventory module. When an asset is added to the work order or pm/template, the information in the linked fields is automatically copied to the Work Asset record.
A sample of the Work Asset Matchup grid appears below. Sort records in each grid by clicking on the headings. An up or down arrow (highlighted in orange below) indicates whether data appear in ascending or descending order.
Right-click in the grid to add a record.
Right-click on an existing record for options to View Record or Edit Record.
Select an Asset Type. Click the field caption or press F9 to select from a list. The Work Asset Matchup Fields grid automatically displays the fields from the Work Order Asset or PM/Template Asset record that can be configured.
Right-click on the field and select Edit Record. One of the following pop-ups appears:
Note: Some of the fields on the pop-up will differ depending on the type of Asset being configured.
The WO Asset Field1 is the field on the Work Order Asset and PM/Template Asset record that will be updated. Use the Inv Field1 field to select the Inventory module field that will be used to update the WO Asset Field 1. Click the field caption or press F9 for a list of Inventory fields that are compatible with the selected Asset field.
The Desc 1 and Desc 2 fields are special fields on an Asset record that can display multiple pieces of information. They appear on the Work Order Asset or PM/Template Asset record.
To configure these fields:
Open the Work Asset Setup module and locate the description fields (AS_TEXT1 and AS_TEXT2) in the list.
Right-click on the field and select Edit Record. A pop-up similar to the following appears:
To select a single field to send to the Desc field, click on a field in the list and click Select.
OR
To set up multiple fields, click Close.
The following pop-up appears:
Use the Inv Field1 field to enter the names of Asset Inventory fields that should appear in the Desc field.
You must use follow these rules:
Enter the field names in the order in which they should appear left to right.
Separate the fields with commas.
Do not use any spaces.
Integer fields (numbers without decimals) - Place square brackets [ ] around the field name.
Double fields (numbers with decimals) - Place parenthesis ( ) around the field name.
Date fields - Place backslashes \ \ around the field name.
You can also add data from a record related to the asset to any field in the Work Asset Setup.
To configure these fields:
Open the Work Asset Setup module and locate the field you want to update.
Right-click on the field and select Edit Record. A pop-up similar to the following appears:
Click in the Inventory field and enter an SQL Statement to select the field from another table.
You must use follow these rules:
The SQL statement must be enclosed in parenthesis ( ).
The SQL statement should select one field from the related table.
The result of the SQL statement must be compatible with the field you are loading the data into.
Save and close the record.
Samples
The following are examples of SQL Statements used on a Sewer Pipe Asset Setup Records to collect information from a related Sewer Pump Station
DESC 1 (Text)
(SELECT SN_LOCATIO FROM SWSTATN WHERE SN_STN_ID=SWNET.NT_SN_ID)
DESC 2 (Text)
(SELECT SN_STN_NAM FROM SWSTATN WHERE SN_STN_ID=SWNET.NT_SN_ID)
AS_USR11 (Double)
(SELECT SN_SHEAD FROM SWSTATN WHERE SN_STN_ID=SWNET. NT_SN_ID)
AS_USR1CD (Code)
(SELECT SN_CFRQ_CD FROM SWSTATN WHERE SN_STN_ID=SWNET.NT_SN_ID)
AS_USR1TY (Type)
(SELECT SN_CFRQ_TY FROM SWSTATN WHERE SN_STN_ID=SWNET.NT_SN_ID)
AS_USR21 (Date)
(SELECT SN_NCLN_DT FROM SWSTATN WHERE SN_STN_ID=SWNET.NT_SN_ID)
AS_USR24 (Boolean)
(CASE WHEN EXISTS (SELECT SN_SGEN FROM SWSTATN WHERE SN_STN_ID=SWNET.NT_SN_ID) THEN (SELECT SN_SGEN FROM SWSTATN WHERE SN_STN_ID=SWNET.NT_SN_ID) ELSE 0 END)