Time Zone Management in MAI

Date and time can be displayed in different ways in the Maintenance module. Viewing the date and time based on your location's time zone, rather than the warehouse's time zone on the maintenance order, is an option.

This option eliminates the need for manual conversion at different stages in the maintenance process.

The dates and times are displayed in selected time zone but are converted back to &SYS time before validations are made against related data and before the tables are updated.

A list of programs where the time zone can be selected is provided in this document.

Settings

If and how time should be converted is determined in these three ways:

  • With a setting in the field group in 'Field Group. Display Permitted Fields' (CRS109).
  • With a time zone setting on the F13 settings panel.
  • By the time zone set on the default warehouse.

The 'Time zone' field can either be specified with a time zone defined in 'Time Zone. Open' (DRS045), or as *USER. If the latter is used, the time zone is retrieved from these records and in this order:

  1. The user per company and division in 'User. Access per Company & Division' (MNS151).
  2. The general user record in 'User. Open' (MNS150).
  3. 'Company. Connect Division' (MNS100).

If the field is left blank, the time zone is retrieved from the place of load for the warehouse. A complete list is detailed in Functionality of the F13 settings.

Functionality of (CRS109)

The time zone setting is determined by the settings in 'Field Group. Display Permitted Fields' (CRS109) for these programs:

  • 'Maintenance CO. Open Toolbox' (COS280)
  • 'Maintenance CO Line. Open Toolbox' (COS281)
  • 'Maint CO Totals. Open Toolbox' (COS282)
  • 'Service Error Report. Open' (MOS057). This is a subfile. Detailed panel is determined by the F13 setting.
  • 'Maint Quotation. Open Information' (COS115)

Time zone conversion is activated by selecting the T Z conversion check box on (CRS109/E).

Functionality of the F13 settings

These programs allow you to select time zone using the F13 settings. *USER or a time zone code can be specified. If nothing is specified, the time zone is displayed according to the time zone set on the default warehouse.

  • 'Maintenance Customer Orders. Open' (COS100). Main facility warehouse if nothing else is selected.
  • 'Maintenance Customer Orders. Open Line' (COS101). MCO line warehouse if nothing else is selected.
  • 'Maint CO. Quick Entry' (COS130). Main facility warehouse if nothing else is selected.
  • 'Report Miscellaneous Cost. Open' (COS155). WO warehouse time zone if nothing else is selected. MCO line warehouse time zone if there is no work order.
  • 'Work Order. Enter' (MOS001). Item and facility main warehouse (M9REWH) time zone if nothing else is selected.
  • 'Service Error Report. Open' (MOS057). WO warehouse time zone. MCO line if there is no work order.
  • 'Equipment. Report Meter Reading' (MOS160). System time used if nothing else is selected.
  • 'Work Request. Quick Entry' (MOS185). Item and facility main warehouse time zone if nothing else is selected. That is M9REWH, either facility and item or facility and site.
  • 'Work Schedule. Open Toolbox' (MOS195). Work order warehouse if nothing else is selected.
  • 'Work Request. Open Toolbox' (MOS197). Work request warehouse if nothing else is selected.
  • 'Maintenance Scheduling Board. Open' (MOS199). F13 accepts a time zone, not *USER. WOP or WO time zone if nothing is selected on F13.
  • 'Model/Site Individual. Open Op History' (MOS270). System time &SYS used if nothing else is selected.
  • 'Model/Site Individual. Open Op Cycle Readings' (MOS271). System time &SYS used if nothing else is selected.
  • 'Equipment/Ser Item. Open Meter Reading' (MMS241). System time &SYS used if nothing else is selected.
  • 'Equipment. Open Service Status' (MMS242). System time &SYS used if nothing else is selected.

Default warehouse

These programs always display time according to the time zone set on the default warehouse:

  • 'Work Order. Reschedule' (MOS010). Work order warehouse is used.
  • 'WO Operation. Reschedule' (MOS020). Work order warehouse time zone is used.

API programs

These APIs allow you to input a time zone when there is a date that needs conversion:

  • COS100MI (List Maint CO)
  • COS155MI (Manage Miscellaneous cost)
  • MOS057MI (Service Error Report)
  • MOS160MI (Manual Meter Reporting)
  • MMS241MI (Equipment Srl Item Meter Reading).