Hi Megha!
We have been similarly dissatisfied with the out-of-the-box Maximo auditing, and so have taken a different approach that we think better fulfills the core REQUIREMENTS of auditing and still is w/in the realm of "configuration". The basic approach looks something like this:
1) Create a separate "audit" table--we currently have ours as "AUDIT_GRE" but I think I'd probably actually create separate audit tables for larger core tables like WORKORDER. This audit table has columns for OBJECTNAME, ATTRIBUTENAME, RECORDKEY, RECORDCLASS, "previous" and "current / changed" value, and so forth...the nice thing about this table is that you get a separate row for each changed field...
2) On appropriate points for your target objects (e.g. WORKORDER.SAVE), create / update the automation script to include a call such as this:
from psdi.server import MXServer;
from psdi.mbo import MboConstants;
from java.util import HashMap;
# # # # # DO AUDITING # # # # #
## Get values
record_key = mbo.getString("TICKETID");
record_type = mbo.getString("CLASS");
parent = "";
## Figure out a friendly description
vDESC = mbo.getString("DESCRIPTION");
vDESC = vDESC[:255];
ctx = HashMap();
ctx.put("mbo", mbo);
ctx.put("record_key", record_key);
ctx.put("record_type", record_type);
ctx.put("parent", "");
ctx.put("YORN_format", "FRIENDLY");
ctx.put("DESC_attribute", "DESCRIPTION");
ctx.put("description", vDESC);
service.invokeScript("AUDIT", ctx);
3) As you can insinuate from #2, you have to have a script to actually DO the auditing...this script actually looks at the database configuration information and only "audits" fields that are flagged as e-audit enabled...I attached the script to this post...
4) Create a relationship between the Maximo table and the audit table
5) Expose the audit information (as you see fit) on the screen...example from our system shown here...
Hope this helps! :)
--Jade
------------------------------
Jade Warren
Great River Energy
------------------------------
Original Message:
Sent: 02-01-2022 10:08
From: Megha Tatiya
Subject: E-Audit Reporting
How do you provide an e-audit report to users ?
We have 20+ fields on asset record being e-audited. The way the a_asset table is structured it's not easy to report exactly which field was changed.
Checking to see if someone found a better solution for e-audit report.
Thank you,
Megha
#Administration
#Assets
#Customizations
#Reporting
------------------------------
Megha Tatiya
------------------------------