/
Database view containing EAM asset group code description

Database view containing EAM asset group code description



Description of Issue

Client needs a TRS view containing asset group code description for a custom report



Context
  • Munis

  • SSRS reports

  • Crystal reports

  • Enterprise Asset Management



Cause

View database column overlay option is not available



Resolution

Asset group code description is available in table AssetManagement.AssetGroupCodes. The following sample SQL query shows how to obtain the description for a given asset code


SELECT DISTINCT
A.a_code AS AssetCode, 
E.wmae_type_id, 
G.Code AS GroupCode, 
G.ShortDescription,   
G.[Description], 
G.AssetCategoryCode 
FROM wm_assets AS A LEFT JOIN wmasteqp AS E ON
E.wmae_hdr_id = A.a_hdr_id
LEFT JOIN AssetManagement.AssetGroupCodes AS G
ON E.wmae_type_id = G.Id
ORDER BY a_code



Additional Information












Related content

Database view for custom data in Asset Registry
Database view for custom data in Asset Registry
More like this
Reporting on Work Orders with Multiple Assets or Asset Group
Reporting on Work Orders with Multiple Assets or Asset Group
More like this
Database view and column containing full position code description of an employee
Database view and column containing full position code description of an employee
More like this
Asset Group Code description changes to the first Group Code description when the same code exists
Asset Group Code description changes to the first Group Code description when the same code exists
More like this
Asset Import Group Code error and display issues
Asset Import Group Code error and display issues
More like this
Database view containing addition description of a work order
Database view containing addition description of a work order
More like this