Reporting on Work Order Closing Codes
You’re are using EAM for work orders, they get entered, worked, and then closed. So, then what? How can you take closed work orders and report on them? After all, this is extremely helpful and can really impact your ROA on EAM.
You can create a Close Work Order report that includes your Closing Codes. EAM has Action Codes, Cause Codes, Problem Codes, and Failure Codes. These codes are very important when improving best practices for any Maintenance program. Creating reports with these codes can be especially helpful with trending, allowing you to trend your work orders and equipment failures. So let’s get to the reporting part of these Action codes.
When you are reporting on closed work orders there are a couple very important fields that sometimes can be tricky to report on. Those pesky closing codes! I’m going to show you how to get those codes to display in a report showing the Description of the code. Something useful that anyone can understand!
Here we go!
The Closing Codes in EAM have a “code” and a “Description”. When reporting, you want to display the description, something that the average user can understand. To get the description of the Closing Codes we will use a built in function Cognos gives us: REPGETDESC(. This function will return the description of the item. To successfully use this function you need to know the Entity in EAM for the closing codes, but finding these can be a bit tricky. Good thing you found DigitalThinker because I’m going to give those to you right here!
The following entities are what is used for Closing Codes in EAM for work orders:
ACCO = Action Code
CAUS = Cause Code
FAIL = Failure Code
RECO = Problem Code
In this example, we will look at the Action Code for a Work Order.
Create a data item in Cognos for our report:
- Login to Cognos with an Author License
- Add a Data Item to your query
- In the Functions tab find the REPGETDESC( Function, (
- Drag the function to the Expression box
- Next use EN for English, the code for your closing code above and the field you pulling the description from
- Your Expression should look like this, REPGETDESC (‘EN’, ‘ACCO’, [EVT_ACTION], null, null)
- Next take the data item and add it to your report on the report page.
- This will display the Description of the Action Code of your Work Order
Voila! It is that easy to get all your Closing Code Descriptions to display on Work Order Reports. Remember, You just need swap out the code in your expression with ACCO, CAUS, FAIL, RECO. Of course, you also will have to change the field from the work order in your expression.
Let Us Help!
If you are new to reporting or find yourself running into issues trying to do this, please do not hesitate to contact us and we can certainly help you get this straightened out. We would love to help you get more from your EAM!