Comptypes
Each asset type in Infor Public Sector is identified by a unique key in the COMPTYPE column of the COMPTYPE table. Based on the column name, these asset type keys are commonly referred to as comptypes.
Comptypes are important for configuring Infor Public Sector, so you must know the values for the asset types that you create. The comptypes for the standard asset types are set by Infor, such as 44 for water pumps and 110 for fleet equipment. (See the Configuration Editor help for a list of the standard comptypes.) When you create your own asset types, Infor Public Sector assigns each new asset type the next available comptype key, starting with 1000. Infor Public Sector shows each configured asset type's comptype in the Asset Type # field at the top of the Asset Type InfoViewer.
Comptypes are used in these places:
- In the AssetManagement configuration in the Configuration Editor. The TypeID attribute for each asset type specifies the comptype. node under has a node for each agency-defined asset type. The
- In the MapDrawerDatasets configuration, comptypes are often used to filter asset data, such as showing only sewer manholes from a dataset that also includes sewer pumps and valves. The datafilterfield attribute of the dataset specifies comptype as the field to filter on, and the actual comptype key is displayed in the datafiltervalue attribute.
- In GeoAdministrator, comptype is one of the fields that are used to link records between the Infor Public Sector database and the geodatabase.
- Comptypes might also be used in formulas, reports, mapping files, import/export templates, and data filters in the Schema Manager.