Opqo supports the ability for users to add work logs to work orders and purchase orders.


By default the user is able to enter the work log description, and Opqo 24.11.0 adds the option to also enter and view the work log long description.


Opqo 24.11.0 also adds the ability to configure display and entry/defaulting of the work log LOGTYPE.  This is done by adding a configuration to the moduleconfig section of the STAUTOSCRIPT.STAMCONFIG automation script.


The work logs modules are as follows:

  • WorkDetailWorkLogsTileModule - for work logs on Work Orders
  • PoDetailWorkLogsTileModule - for work logs on Purchase Orders


Each of these support the same configuration properties:



Property NameValue
moduleWorkDetailWorkLogsTileModule or PoDetailWorkLogsTileModule
displayLogTypetrue, to enable display of the LOGTYPE when viewing work logs, or false to disable.

The default value is false
availableLogTypesA list of log types that is available to the user for selection when entering a work log
  • If this is null, the user will not be able to select the LOGTYPE
  • If this is a specific list of LOGTYPEs, the user will be able to select from these values
  • If this value is ["*"], the user will be able to select from all the LOGTYPEs defined in Maximo

The default value is null.
defaultLogTypeThe default value for LOGTYPE when the user enters a work log.
  • If this value is null
    • If availableLogTypes is null, the LOGTYPE will be defaulted by Maximo
    • If availableLogTypes is specified, the user will be required to select a value.

The default value is null
defaultEntryModeSetting a value of "full" will automatically enable the extended entry mode whenever a work log is entered. This allows the user to enter the long description, and if configured, select the log type.

By default, the user can use a compact mode for just entering the work log description, and can switch to the extended entry mode if desired.



Examples


Below are some examples of configuring work logs for Work Orders.  To apply these configurations to work logs for Purchase Orders, substitute PoDetailWorkLogsTileModule for WorkDetailWorkLogsTileModule.


To apply configuration changes to both WorkDetailWorkLogsTileModule and PoDetailWorkLogsTileModule, simply add a separate configuration for each module.



Displaying the LOGTYPE and changing the default LOGTYPE to UPDATE.  LOGTYPE is not available to the user for selection.

{
  "module": "WorkDetailWorkLogsTileModule",
  "displayLogType": true,
  "defaultLogType": "UPDATE"
}


Displaying the LOGTYPE and allowing the user to select from any LOGTYPE defined in Maximo.  LOGTYPE is defaulted to WORK

{
  "module": "WorkDetailWorkLogsTileModule",
  "displayLogType": true,
  "availableLogTypes": ['*'],
  "defaultLogType": 'WORK'
}


Displaying the LOGTYPE and allowing the user to select from a specific list of LOGTYPEs.  LOGTYPE is not defaulted and must be selected by the user

{
  "module": "WorkDetailWorkLogsTileModule",
  "displayLogType": true,
  "availableLogTypes": ['WORK', 'UPDATE']
}


Extended entry mode as the default, LOGTYPE selection disabled (defaulted by Maximo), and is not displayed.

{
  "module": "WorkDetailWorkLogsTileModule",
  "defaultEntryMode": "full"
}





Note: For more information on Opqo configuration and the role and contents of the STAUTOSCRIPT.STAMCONFIG script, see the Configuration Overview article.



If you have questions please do not hesitate to contact us or create a support ticket for more assistance.