Unable to display team name in audit trail instead of work group
The requirement is to display the team name in the audit trail instead of the work group name that the user is assigned to.
For example, the audit displays 'MyWorkgroup@org'. However, the requirement is to display 'MyWorkgroup'.
Steps to Reproduce
Launch the application and view the audit trail.
The pyAssignedToWorkGroup value is used to display the data in the audit trail. The audit history can be modified to display the data as desired.
Perform the following local-change:
- Use a SQL function in the pyGetWorkHistoryWithLatLong report. There are two existing SQL function alias rules that are helpful: pxSubstring and pxFind
- Create a new function alias based on the two SQL alias rules which returns the index and string prior to the @ character
Use a custom property and Declare Expression. To optimize the new property, add the exposed column to the database table manually and restart the server.
0% found this useful