411MAXSAG
411MAXSAG
411MAXSAG
Release 4.1.1
CHAPTER 1 INTRODUCTION
OVERVIEW .....................................................................................................................11
SYSTEM REQUIREMENTS ...........................................................................................14
Client Workstation ........................................................................................................14
Database Server.............................................................................................................15
File Server (Optional) ...................................................................................................16
Application Server for Business Components (for Self Service Applications) .............16
e-Commerce Server (for e-commerce transactions only) ..............................................17
RELATED DOCUMENTATION AND HELP ................................................................18
The MAXIMO Help System .........................................................................................18
The MAXIMO Documentation Set ...............................................................................18
CONVENTIONS USED IN THIS GUIDE ......................................................................19
CHAPTER 2 SECURITY
OVERVIEW .....................................................................................................................21
SIGNATURE SECURITY................................................................................................22
Groups, Users, and Security Privileges .........................................................................23
Setting Up Groups and Users ....................................................................................23
The DEFLT Group....................................................................................................23
Usernames and Passwords.............................................................................................24
THE SIGNATURE SECURITY ACTIONS MENU ........................................................24
MAXIMO Online Help .................................................................................................27
APPLICATION SECURITY TAB ...................................................................................28
Setting Application, Tab, and Menu Privileges.............................................................29
Login Tracking..............................................................................................................30
Setting Login Controls ..............................................................................................32
Changing a User's Login Status.................................................................................33
3
Contents
Online Verification....................................................................................................34
Authorizing Access to GL Component Information......................................................34
Authorize Reassignment to User Groups Dialog Box ...................................................36
Parameter Login ............................................................................................................38
Automatic Start-Up of an Application.......................................................................40
Setting Field Defaults....................................................................................................41
Menu Security for Set Field Defaults ........................................................................41
Setting a Field Default...............................................................................................42
DATABASE SECURITY TAB ........................................................................................43
Setting SQL Database Privileges ..................................................................................44
USER RESTRICTIONS ...................................................................................................46
CHAPTER 3 OBJECT NATIONALIZER SCREEN EDITOR
OVERVIEW .....................................................................................................................49
CUSTOMIZATION..........................................................................................................50
Accessing the Object to Customize...............................................................................51
Toolbar Customization..................................................................................................52
Menu Customization .....................................................................................................53
Tab and Dialog Box Customization ..............................................................................54
Moving, Relabeling, Deleting, and Adding Tabs ......................................................54
Object Nationalizer Menu Choices ...............................................................................56
Customizing View List Dialog Boxes ...........................................................................59
Customizing Dynamic Value List Dialog Boxes...........................................................61
Customizing the Drilldown Dialog Box ........................................................................63
Modifying the Login Dialog Box for Multiple Schemas...............................................64
When NOT to Use Object Nationalizer ........................................................................65
Customizing Future MAXIMO Releases ......................................................................66
GUIDELINES FOR CONFORMING TO MAXIMO 4i SCREENS................................66
General Style Guidelines...............................................................................................72
CHAPTER 4 DATABASE CONFIGURATION
OVERVIEW .....................................................................................................................73
THE DATABASE CONFIGURATION ACTIONS MENU ............................................74
MAXIMO Online Help .................................................................................................76
THE APPLICATIONS TAB ............................................................................................76
TABLE DEFINITIONS TAB ...........................................................................................78
Saving Your Changes....................................................................................................80
4
Contents
5
Contents
6
Contents
7
Contents
8
Contents
9
Contents
APPENDIX C MAXSCHED.INI......................................................................................369
INDEX .............................................................................................................................401
10
CHAPTER 1
INTRODUCTION
OVERVIEW
The MAXIMO® System Administrator’s Guide provides information on
MAXIMO applications and other subjects that primarily concern the system
administrator and database manager of MAXIMO. This guide includes thirteen
chapters, five appendixes, and an index. A brief description of each chapter and
appendix is given below.
Chapter Description
1. Introduction Describes the general contents of each chapter,
discusses related documentation, system
hardware requirements, and conventions used in
the guide.
2. Security Explains how to set up new users and assign
privileges for specific MAXIMO applications,
tabs, and options. It also describes the User
Restrictions feature.
11
Chapter 1
12
Introduction
9. Reports and Other Apps Explains how to register reports and other
applications (such as spreadsheet and graphics
programs) so you can run them from MAXIMO.
This chapter also describes how to set up and
use report routing with printers, E-mail, and fax.
10. Chart of Accounts Describes how to add and modify GL accounts,
define financial periods, and designate specific
accounts relating to inventory, companies,
resource recovery, resource codes, and tax
processing.
11. Database Administration Discusses how to use the Archive application to
archive and restore data. It also contains general
information on database and system backups.
12. Verity Search Engine Describes how to set up and work with the
search engine that is used by the Self Service
applications.
13. Self Service Applications Describes various administrative matters
regarding the browser-based MAXIMO Self
Service applications.
Appendix A Explains what crossover fields are and lists
those available for customizing your system. It
also lists reserved fields—those that are used by
various integration products.
Appendix B Details the parameters used in MAXIMO.INI.
Appendix C Details the parameters used in MAXSCHED.INI.
Appendix D Describes how to enter a license modification
using the MAXIMO License Program, and
13
Chapter 1
SYSTEM REQUIREMENTS
MAXIMO Release 4.1.1 is a client/server computerized maintenance
management system. It runs on Intel-based workstations running Microsoft
Windows 95, Microsoft Windows 98, Microsoft Windows NT Workstation 4.0,
or Microsoft Windows 2000 Professional. MAXIMO is designed to run on a
local area network (LAN), on an Oracle or Microsoft SQL Server database
platform.
The basic hardware and network configurations that MAXIMO supports are
described below. Your specific requirements may vary from the specified
minimums. For additional configuration information, refer to the MAXIMO
installation guide for your Oracle or Microsoft SQL Server database platform.
Client Workstation
Minimum Desktop Computer Configuration
• Intel-based Pentium 450 MHz processor.
• 64 MB of memory for Windows 95/98 or Windows NT Workstation 4.0. For
Windows 2000 Professional, the memory requirement is 128 MB.
• 300 MB of free disk space if installing the application files on a local drive.
• SVGA, 1024 x 768 pixel, High Color (16 bit) display.
• CD-ROM drive (for initial software installation).
14
Introduction
Database Server
Refer to the MAXIMO installation guide for your database platform for
information on database servers.
15
Chapter 1
16
Introduction
When setting up your Tomcat JSP Server and IIS, be certain that both do not use
the same port. By default, both use port 80. The port assignment used by your
Tomcat JSP Server may be changed as described in the MAXIMO Installation
Guide.
The current version of MAXIMO supports SSL (Secured Socket Layer). If you
use SSL, it must be done in conjunction with IIS.
Configuration requirements will vary according to site-specific variables such as
Self Service applications employed, database platform, number of connecting
client workstations, and desired performance levels. While MRO Software does
not make any formal requirements relative to hardware/software specifications
of the Application Server, we recommend at minimum employing a dedicated,
Intel-based Pentium 600 MHz dual processor with 1 GB RAM.
17
Chapter 1
18
Introduction
The MAXIMO Scheduler User’s Guide describes how to use the MAXIMO®
Scheduler™ to schedule work orders based on craft and labor availability.
The MAXIMO Technical Reference Guide provides information about the
database, such as a listing of tables and columns, a comparison between the
current and previous databases (useful for upgrades), and a list of the database
indexes. It also includes a list of MAXIMO’s installed files and folders and other
technical information.
The MAXIMO Installation Guide is specific to your database platform—Oracle
or Microsoft SQL Server.
Users who sign up for MAXIMO training courses will be provided with the
relevant MAXIMO course materials.
Depending on your database platform and the options you purchase, you may
also receive third-party manuals and/or online documentation.
19
Chapter 1
20
CHAPTER 2
SECURITY
OVERVIEW
This chapter describes two kinds of security: Signature Security, and User
Restrictions.
Signature Security controls access to specific MAXIMO functions. You
designate by group which people can log in to MAXIMO, and which
applications, tabs, and options they can use.
User Restrictions allow you to restrict individuals from accessing particular
records. You specify the restrictions using SQLTalk.
21
Chapter 2
SIGNATURE SECURITY
Overview
The Signature Security application controls which users have access to which
MAXIMO functions. You specify privileges to establish both application
security and database security.
NOTE: Make sure you are logged in to MAXIMO as user SYSADM (system
administrator) before performing Signature Security tasks.
Using Signature Security, you can:
• Specify privileges for using MAXIMO applications, tabs, and menu options.
• Specify SQL privileges for accessing and modifying the application database
tables.
• List, add, or drop groups and users.
• Reassign a user to another group.
• Change passwords and set a password expiration interval.
• Block users from logging in after a specified number of unsuccessful
attempts.
• Set purchasing limits.
• Restrict access privileges to storerooms.
• Restrict access to labor information.
• Specify editing privileges for GL account code components.
NOTE: You must use Signature Security to specify privileges for accessing
specific MAXIMO functions; you cannot use SQLTalk. You can,
however, use SQLTalk to restrict a user to viewing specific records;
see the last section in this chapter, User Restrictions.
22
Security
23
Chapter 2
As you create additional new groups, you can base their privileges upon any
existing group.
Drop Groups Drop a selected group. Dropping a group drops its users
as well, but MAXIMO first warns you if the group
24
Security
Add Users Add a new user to MAXIMO; the user must be assigned
to an existing group.
Users can also register themselves from the Self Service
applications. They initially are placed in a default user
group specified in the Set Login Controls dialog box.
The system administrator can grant supervisory
personnel the authority to place the self-registered users
into other groups, as described in the Authorize
Reassignment to User Groups section later in this
chapter.
25
Chapter 2
Set Login Controls Set a time interval for how long passwords are to remain
valid. Enable the login tracking feature. Specify a
default group into which users are placed when they
register themselves from the Self Service applications.
26
Security
How Do I …
• Set Application, Tab, and Menu Privileges *
• Add Groups
• Add Users
• Reassign Users Among Groups
• View Users
• View Groups
• Drop Users
• Drop Groups
• Change a User’s Password
• Change the MAXIMO Schema Administrator’s Password
• Change the System Administrator’s Password
• Change a User’s Login Status *
• Set Login Controls *
• Set Purchasing Limits
• Authorize Access to Labor Information
• Authorize Access to Storeroom Information
• Authorize Access to GL Component Information *
• Authorize Reassignment to User Groups *
• Set Field Defaults *
• Set SQL Database Privileges *
27
Chapter 2
NOTE: Make sure to log in as user SYSADM to perform Signature Security tasks.
28
Security
29
Chapter 2
NOTE: You can grant a group access to individual tabs and menu options
whether or not you’ve given the group access to the application as a
whole. You can thereby pre-establish tab and menu option privileges,
then turn the group’s access to the application on or off as needed.
Login Tracking
Login Tracking enhances security. If you enable login tracking, you can:
• Gain control of login attempts.
• Track login attempts.
• Block a user from logging in after a specified number of consecutive
unsuccessful logins.
30
Security
! Example NOTE: The example assumes the number of Login Attempts Allowed is
set to 3.
A user forgets his password and attempts to log in four times using an
incorrect password. After each of the first three attempts he receives an
“Invalid username/password” message and tries to log in again. After the
third failed attempt, MAXIMO changes his status to BLOCKED and when
he tries to log in a fourth time, he receives the following message:
“You have been blocked from using MAXIMO. Please contact your
MAXIMO System Administrator.”
The user can no longer log in to MAXIMO, even if he uses the correct
password. He contacts his System Administrator.
31
Chapter 2
32
Security
NOTE: If the Login Tracking Active check box is not checked, the Login
Attempts Allowed field will be read-only.
33
Chapter 2
2. Select the row with the user whose status you want to change and click
Change Status (you can select multiple rows). The Status column displays the
changed status. You can enter a comment in the Memo column. Check marks
indicate which rows have been changed since you last clicked Save.
3. Click Save, then Close.
Online Verification
Online verification is a customized type of login tracking that verifies that the
user who is performing a task is the same user who initially logged into
MAXIMO. For example, the system administrator might want to require
password verification before a Work Order record can be saved.
Setting up online verification requires custom programming using the MAXIMO
4i Software Developer’s Kit (purchased separately). The kit includes a custom
function (SysVerifyLogin) that allows you to program MAXIMO applications so
that they require user name and password verification before specific procedures
can be completed.
With online verification, the user is asked to re-enter the user name and
password. If verification fails the maximum number of times specified in the Set
Login Controls dialog box, MAXIMO is shut down and the user who attempted
unsuccessfully to log in is blocked from using MAXIMO. The system
administrator must unblock him.
34
Security
35
Chapter 2
36
Security
Basically, you use this dialog box to grant authorities to supervisory personel.
For example, suppose user Wilson approves work requests involving electrical
and carpentry work submitted through the Self Service applications. You might
want Wilson to be able to reassign new users from the default group to the
ELECTRICIAN and CARPENTRY groups.
To grant a user the authority to reassign new users registering from the Self
Service applications:
1. From Signature Security, choose Actions/Authorize Reassignment to User
Groups.
2. Click the Detail button in the Username field and select the user to whom you
want to grant authorities.
3. Click in the Group Name list box to show any groups already authorized. To
add a new group, click Insert Row, then click the Detail button to select a
Group.
4. Insert additional rows as needed to authorize the user to reassign new users to
other groups.
37
Chapter 2
5. Click Save.
Parameter Login
Parameter login, while not part of the Signature Security application, is
described here because it involves passwords and logging in to MAXIMO. Using
parameter login you can set up your system so that MAXIMO starts up
directly—bypassing the display of the Login dialog box and the necessity of
entering values in the dialog box fields.
To have MAXIMO start up with direct login, go to Windows Explorer, click
MAXMAIN.EXE, and select Create Shortcut from the File menu. Then click the
shortcut icon with the right mouse button and select Properties/Shortcut. Click
the Shortcut tab. In the Target field, add parameters specifying the database,
username, password, and schema values to the command line. If any parameters
are missing, values from the MAXIMO.INI file will be used, if available. The
format for the parameters are:
-Ddatabase -Uusername -Ppassword -Sschema
If you are not using multiple schemas with your database, ignore the -Sschema
parameter. The default schema parameter is MAXIMO. By default, the Schema
field is hidden on the Login dialog box. To unhide it, see Modifying the Login
Dialog Box for Multiple Schemas in Chapter 3, “Object Nationalizer Screen
Editor.”
MAXIMO also allows you to use the old way of specifying parameters. In the
shortcut target field, add parameters in the following format.
database:username/password
Text preceding the colon (:) represents the database; text between the colon and
the slash (/) represents the username; text following the slash represents the
password. The above parameters should be specified without any spaces. If you
38
Security
are using multiple schemas, you would add a space and then the schema
parameter:
database:username/password -Sschema
If a parameter is specified without the colon or slash, it is taken as the username.
If any parameters are missing, values from the MAXIMO.INI file will be used, if
available.
To use parameters with an icon, edit the program item properties for that icon:
1. On the Windows Desktop, right-click the MAXIMO (or other) icon and
choose Properties.
2. Click the Shortcut tab.
3. Edit the Command Line and click OK.
The following examples assume that MAXIMO resides in a MAX411 folder on
the C: drive.
! Example On the Windows Desktop, right-click the MAXIMO icon and choose
Properties. Click the Shortcut tab. The Command Line field reads:
C:\MAX411\MAXMAIN.EXE
OR
C:\MAX411\MAXMAIN.EXE MAXDEMO:MAXIMO/DEMO
Click OK.
When you next double-click the MAXIMO icon, you will be directly
logged into the MAXDEMO database as user MAXIMO, password DEMO.
39
Chapter 2
[SYSTEM]
Database=MAXDEMO
Username=MAXIMO
Edit the Command Line field for the MAXIMO program item so that it reads:
C:\MAX411\MAXMAIN.EXE -PDEMO
OR
C:\MAX411\MAXMAIN.EXE /DEMO
Click OK.
When you next double-click the MAXIMO icon, you will be directly
logged into the MAXDEMO database as user MAXIMO, password DEMO.
In this instance, the database name and username are taken from the
MAXIMO.INI file.
40
Security
! Example To start MAXIMO via parameter login and to start Work Order Tracking
automatically, edit the Command Line field for the MAXIMO program
item so that it reads:
OR
C:\MAX411\WOTRACK.EXE MAXDEMO:MAXIMO/DEMO
To have an application start automatically when you use the Login dialog box,
you must, as in the previous example, specify the application name in the
Command Line field.
! Example To start MAXIMO via the Login dialog box and to start Work Order
Tracking automatically, edit the Command Line field for the MAXIMO
program item so that it reads:
C:\MAX411\WOTRACK.EXE
41
Chapter 2
Only the system administrator (user SYSADM) can set field defaults unless he
or she extends this privilege to specific groups in Signature Security.
If you want to set the menu Access privilege to Y for specific groups and
applications, follow the steps in Set Application, Tab, and Menu Privileges.
NOTE: If you grant a group menu authority for Set Field Defaults (in
Signature Security), then group members can access the Set Field
Defaults dialog box and set or change a field default. If a group
42
Security
member sets or changes a field default, the new default will be in effect
for all members of the group. Only the user SYSADM can set field
defaults for other groups because the Groups button does not appear
when you are logged in as a regular MAXIMO user.
While MAXIMO users may need access to the database tables to assemble
reports, for example, they typically do not need other database privileges. They
make changes to the database by using MAXIMO applications (issuing a work
order, for example). Only the system administrator is likely to enter the database
directly to make changes using SQLTalk or other non-MAXIMO applications.
Be cautious about assigning insert, update, and delete privileges.
The DEFLT group initially has access privileges for all tables, but not insert,
update, or delete privileges. This configuration allows users to use SQL selects
to run reports.
NOTE: Some reports perform updates; therefore, users who need to run those
reports will require update privileges for the relevant tables.
You can access the same Actions menu items from the Database Security tab as
from the Application Security tab. See the Application Security section for
information on those items.
43
Chapter 2
44
Security
3. Move the cursor to the relevant cell of the Database Security table window
and change the entry to Y or N as appropriate. The security levels are:
Access To select records
Insert To insert records
Update To update records
Delete To delete records
4. Make changes as needed for other tables belonging to the selected
application.
5. Save the changes.
45
Chapter 2
USER RESTRICTIONS
The User Restrictions feature consists of a USERRESTRICTIONS table in the
MAXIMO database that allows you to specify exactly what records are visible to
a particular user. User restrictions are specified by user, not by group. You do
not use this feature to restrict access to applications, tabs, and menus, or to
prevent a user from entering data; those tasks are all done using Application
Security.
The USERRESTRICTIONS table consists of four columns:
module
app
username
restrictions
You specify restrictions by updating the table, using SQLTalk.
Suppose, for example, you want to restrict the equipment records that a user
named Willie can view to only those pieces of equipment with an equipment
number beginning with 11 and located in BLDG3. You would enter the
following statement at the SQL prompt:
SQL>UPDATE USERRESTRICTIONS
SET RESTRICTIONS=‘(EQNUM LIKE ‘‘11%’’ AND
LOCATIONS.LOCATION=‘‘BLDG3’’)’
WHERE MODULE=‘EQUIPMNT’ AND APP=‘EQUIPMNT’ AND
USERNAME=‘WILLIE’;
Observe the following when specifying restrictions:
• Log in as the table’s owner when executing the user restrictions; in most
cases the owner will be MAXIMO, not SYSADM.
• The parentheses around user restrictions are used for querying purposes
within MAXIMO; you should always use them. You will notice the entire
46
Security
string in the USERRESTRICTIONS table when you verify what you have
entered.
• Two single quotes (not a double-quote symbol) are required around strings
and numeric values in the restriction setting.
In addition, keep the following in mind:
• The WHERE clause needs to be accurate and the MODULE, APP, and
USERNAME need to be valid names. Validation is not performed, but if you
have not entered valid names, no rows will be updated.
• You can set up the WHERE clause in SQLTalk to make sure you see the
result set you want; then place the clause in the Update Userrestrictions
command.
• In hierarchical applications, such as Failure Codes and Equipment, if the
restriction clause restricts viewing to records of a particular type (e.g., all
pieces of equipment repaired by user X) and the equipment subassembly
structure contains pieces of equipment repaired by someone other than user
X, there is nothing prohibiting user X from viewing a piece of equipment that
is under his or her domain and then traveling up or down the subassembly
structure to view records under the domains of other users.
• User restrictions will not prevent a user from adding a record (not even from
adding a record he could no longer view after saving it) unless that authority
is denied using Signature Security.
• User restrictions can not be specified for several users at a time, or by group,
as in Signature Security; they must be specified user by user.
• COMMIT; after executing the Update Userrestrictions.
47
Chapter 2
48
CHAPTER 3
OVERVIEW
NOTE: Before you use the Centura Object Nationalizer screen editor to
customize MAXIMO, execute the Iconbmp.exe file, a self-extracting
ZIP file that is in your MAXIMO folder (the folder from which you are
running MAXIMO). This file will extract the MAXIMO icons and
bitmaps. You should extract the files to your MAXIMO folder or to the
folder in which you will be modifying executables, if different from
your MAXIMO folder.
MAXIMO uses Centura Object Nationalizer as its screen editor. Object
Nationalizer replaces EditWindows, which was used in some previous releases.
NOTE: You do not use Object Nationalizer to edit browser-based application
screens such as those in the Self Service applications. Please refer to
the MAXIMO 4i JSP Screen Customization Guidelines document for
information on editing browser-based screens.
49
Chapter 3
NOTE: In order to modify MAXIMO .EXE files using Object Nationalizer, you
must have write privileges for the .EXE files you want to change.
CUSTOMIZATION
To access Object Nationalizer, click the Utilities icon on the MAXIMO Main
Menu or Application Bar and select Screen Editor.
NOTE: Make sure that no one is using the MAXIMO application you are
customizing while you are customizing it. A protection error occurs if
50
Object Nationalizer Screen Editor
you make changes to an .EXE file that is in use, and you will not be
able to save the changes you make in Object Nationalizer. You can
copy the .EXE file to a local folder, make your modifications, and then
copy the file back to your production folder.
NOTE: Make sure to always save your changes before exiting Object
Nationalizer.
51
Chapter 3
Toolbar Customization
1. Expand the appApplication tree (e.g., appCOMPANY), then expand its Tool
Bar tree to display the list of toolbar buttons.
2. Right-click on the button you want to customize, and choose Properties. The
MaxToolButton menu appears, listing a variety of options you can use to
change the toolbar buttons.
To remove a toolbar button, select Visible/No.
To add a toolbar button that is presently hidden, click on the name of the
button you want to add to the toolbar, select Visible Yes.
To reposition a toolbar button, click on the appApplication item (e.g.,
appCOMPANY), then click the Layout tab at the bottom of the right window
pane. The application screen appears and you can drag the tool button to
reposition it.
52
Object Nationalizer Screen Editor
If the message “Can’t load picture file: name.ICO” is displayed, the icon
(picture) files displayed on the toolbar button cannot be found. You need to
place the icon (.ICO) files in your MAXIMO folder.
3. Save your changes.
Menu Customization
1. Click on the appApplication item (e.g., appCOMPANY) in the directory tree,
then click the Layout tab at the bottom of the right window pane to display
the application screen.
NOTE: If you do not want to view the application’s menu bar while you edit
it, you can just right-click the appApplication item and choose
Menu Editor, then go to step 4.
2. From the Layout menu (top of the screen), choose Preview Window to
enlarge the screen and view the menu bar.
3. Right-click in the space between the top of the tabs and the bottom of the
toolbar and choose Menu Editor.
4. In the Menu Editor dialog box, select the menu item from the scroll box on
the left. Hide or unhide it using the Hide check box, change its title in the
Title field (the & character precedes the shortcut key), add an accelerator key,
and so forth as needed. Hiding a menu item hides it on the application, but
not in Object Nationalizer.
5. Click OK. Close the preview window (click the right mouse button and select
Preview Window) and save your changes.
53
Chapter 3
54
Object Nationalizer Screen Editor
2. Right-click a tab and choose Properties/Tab Frame Properties to open the Tab
Frame Properties dialog box.
3. Customize as needed:
• To move a tab, select the tab in the list box and click Up or Down.
• To relabel a tab, edit the label in the Tab Label column. There should be a
space character before and after the label name.
• To delete a tab, highlight the tab in the list box, click the Windows tab and
record for possible future use the Window Name of the tab (e.g.,
frmCOMPANY or frmADDRESSES). Click the “Tabs” tab, then click
Delete and OK.
• You can only add a tab that was previously deleted. You can not simply
add more tabs to an existing MAXIMO screen. To add a tab that was
previously deleted, go to the Tab Frame Properties dialog box and from
the Tabs tab, click New, then click the Windows tab. In the row for the
new tab, click in the Window Name column and select the previously
deleted window from the drop-down list. Edit the Label Name and Tab
Name fields as desired. Click OK.
4. Save your changes.
55
Chapter 3
56
Object Nationalizer Screen Editor
57
Chapter 3
you must also make sure that the Active box in the
Preferences dialog box is unchecked. Choose
Tools/Preferences to view the dialog box (you cannot be
in Preview Window mode when you do this). We
recommend turning the grid off and unchecking the
Active box.
Tab Order Lets you change the tab order of objects and button
controls on a form window (i.e., the order in which
fields are entered when using the Tab key). Selecting
this menu item opens the Tab Order dialog box.
When you select Tab Order, the fields or buttons on the
screen or dialog box you are customizing are displayed
with their tab order numbers shown in small boxes. A
Tab Order dialog box also appears. Set the tab order
number you want by moving the cursor around and
clicking on the objects in the tab order you want.
Show Sample Text You can toggle between displaying and not displaying
(the default) sample text in text fields.
Show Design Scroll You can toggle between displaying (the default) and
Bars not displaying the design scroll bar that enables you to
scroll to the bottom of large forms.
Make sure to save your changes before exiting Object Nationalizer: close the
Preview Window (if open) and choose File/Save.
58
Object Nationalizer Screen Editor
59
Chapter 3
To include Craft in the View List dialog box, edit the statement to read:
Select LABORCODE, NAME, CRAFT Into :cKEY, :c1, :c2 From LABOR
You can add up to 14 additional columns, c2 through c15. Make sure to
include the colon (:).
8. Save your changes but do not exit.
9. You must now unhide the column(s) you added. Expand the directory tree for
the application’s Windows folder and scroll down to find the dlgOverview
branch. Click on it and then click the Layout tab at the bottom of the right
pane.
10. From the toolbar, choose Layout/Preview Window, then choose
Layout/Show Hidden Windows. A scroll bar appears at the bottom of the
View List dialog box. Scroll to the right to see the additional columns.
11. Double-click in the column header of the column you want to add to the
View List dialog box. From the MaxExtraColumn menu choose
Visible/Yes. Then choose Object Title and edit the field to reflect the name
you want (for example, change C2 to Craft). Click Done.
12. Resize the column as needed by placing the cursor on the line between
column headers and click and drag. You can reposition a column by putting
the cursor in the middle of a column header and then clicking and dragging
it to the new position.
13. Close the Preview Window, save your changes, and close Object
Nationalizer. Open the relevant application and check to see that the View
List dialog box reflects your changes.
60
Object Nationalizer Screen Editor
61
Chapter 3
example, in the Labor Reporting application the default select statement for
the Labor dynamic value list is:
Select LABORCODE, NAME Into :cDyKEY, :cDyDESC From LABOR
This means that in Labor Reporting, when you click the Detail button in the
Labor/Craft field, the Select Value dialog box will display columns for
Labor/Craft Code and Name. To include Craft in the Select Value dialog box,
edit the statement to read:
Select LABORCODE, NAME, CRAFT From LABOR
Note that you must remove the “Into” clause when you edit the Select
statement.
Unlike with the View List dialog box, you do not have to unhide the column.
8. Save your changes and exit Object Nationalizer. In the above example, if you
open Labor Reporting and click the Detail button in the Labor/Craft field, the
Select Value dialog box will now have columns for Labor/Craft Code, Name,
and Craft.
You must repeat this procedure for each application in which you want to have a
customized Select Value dialog box. For example, if you want the Select Value
dialog box for Labor to include Craft in other applications, such as with the
Reported By field in Work Order Tracking or the Supervisor field in Job Plans,
you must open those applications in Object Nationalizer and repeat the
procedure for the Global Declarations.Constants.User.dysLABOR_SEL
identifier
If you want to customize the layout of the dynamic value list dialog box, you
must edit the Sysdyna.apd file:
1. From Object Nationalizer, choose File/Open and, from the Files of Type drop
down list, select CTD Dynalib Files (*apd). Open the Sysdyna.apd file.
62
Object Nationalizer Screen Editor
2. Expand the Sysdyna directory tree. Select the dlgDynaList item and click the
Layout tab.
3. Customize the dialog as needed. See the Tab and Dialog Box Customization
section, earlier in this chapter for specific instructions.
The layout of the dynamic value list dialog box is the same, regardless of which
MAXIMO application accesses it. For example, you can modify the SELECT
statement as described earlier to specify what data the Select Value dialog box
displays in the second column when you access it from a particular application.
But the width of the second column will be the same regardless of which
application accesses the dialog box or what data is displayed.
63
Chapter 3
4. Click in the Identifier column header to sort and alphabetize the identifiers
(this takes a little time).
5. Scroll down to find the identifier for the Drilldown dialog box. There are
separate identifiers for equipment and locations:
Global Declarations.Constants.User.DRILLDOWN_EQPSTRING
Global Declarations.Constants.User.DRILLDOWN_LOCSTRING
6. Scroll left and, in the Translated Text column, click the identifier you want to
modify.
7. In the Translated Text frame, edit the string as needed. For example, to
include PRIORITY in the equipment drilldown, you would edit the string to
appears as follows:
DESCRIPTION,VENDOR,PRIORITY
You can list up to five columns in the string.
8. Save your changes and exit Object Nationalizer.
You must repeat this procedure for each application in which you want to have a
customized Drilldown dialog box.
64
Object Nationalizer Screen Editor
3. Click the dlgLogin item, then click the Layout tab at the bottom of the right
pane.
4. In the left pane, under Child Windows, right-click Schema and choose
Properties/Visible/Yes/Done.
5. Right-click ctlSchema and choose Properties/Visible/Yes/Done.
6. Save your changes and exit Object Nationalizer.
7. Exit MAXIMO, then log back in to see the changes.
65
Chapter 3
Object Nationalizer can not be used to change background color or text color for
fields. These items are controlled in the MAXIMO.INI file.
Frames
All controls on tabs should be located within a frame except for subtabs.
Settings
• Corners: Square
• Border Style: Raised Shadow
• Border Thickness: 1
Locations
• Top Frame
Left 0.10”
Top 0.07”
66
Object Nationalizer Screen Editor
67
Chapter 3
Alignment
NOTE: For the alignment tools to work properly you must disable the Align to
Grid selection under the Object Nationalizer Layout menu.
Vertical (Left) Alignment of Fields
• Position one field as desired.
• Select the correctly positioned field by clicking on it with the left mouse
button. Then, select the remaining fields by pressing [Shift] and clicking on
them with the left mouse button. The correctly positioned field must be
selected first.
• From the Layout menu select Align Edges, then choose Left.
Horizontal Alignment of Field and Background Text
• Position one field where desired.
• Select the correctly positioned field by clicking on it with the left mouse
button. Then, select its associated background text by pressing [Shift] and
clicking on it with the left mouse button. The correctly positioned field must
be selected first.
• From the Layout menu select Align, then choose Vert Center.
68
Object Nationalizer Screen Editor
69
Chapter 3
Width
Column Type (inches) Column Title(s)
STANDARD FIELDS
Descriptions 2.4 Description, Remark
Most other fields 1.4
Part 1.4 Part
Work Order 1.4 Work Order
Cost Center 1.4 Cost Center
Model # 1.4 Model
Status 1.4 Status
Trans Type 1.4 Type
Equip # 1.4 Equipment
Extension 1.4 Extension
70
Object Nationalizer Screen Editor
71
Chapter 3
72
CHAPTER 4
DATABASE CONFIGURATION
OVERVIEW
You use Database Configuration to customize the database and perform related
functions. You can:
• Change column definitions.
• Attach value lists to columns.
• Create and drop SQL indexes.
• Create, modify, and display views to define alternative names for database
tables and columns.
• Specify GL account formats.
• Set the amount field format (in part; see note below).
• Update statistics on indexes to improve database performance.
• Specify whether or not to use the local data dictionary at startup.
• Enable searching on description and long description fields in the Self
Service applications. Oracle only. (This search function is automatically
available with SQL Server.)
NOTE: The display of date/time fields and numeric data, including some
aspects of amount fields (such as currency settings), is specified using
the Windows Control Panel Regional Settings application. See Chapter
8, "Validation and Formatting."
73
Chapter 4
74
Database Configuration
75
Chapter 4
How Do I …
• Perform a Database Configuration *
• Configure Changes
• Remove Changes
• Restore Backup Tables
• Drop Backup Tables
• Create Public Synonyms
• Drop Public Synonyms
• Specify the GL Account Configuration *
• Specify the Amount Field Format
• Enable Long Description Searches in Self Service applications (Oracle only)
• Specify Data Dictionary Quickload
• Update Statistics
• Create an Index *
• Drop an Index *
• Create Table Views and Column Aliases *
76
Database Configuration
77
Chapter 4
78
Database Configuration
79
Chapter 4
NOTE: All fields for an application’s main table are on the main tab. Fields
from the main table that are also on other tabs are hidden on the main
tab. If you make one of these fields required, you must make it visible
on the main tab.
NOTE: The following columns are MRO Software reserved columns and
should not be used as extra columns/fields.
Table WORKORDER; Columns WFID, WFACTIVE, PAGING_WFID,
PAGING_WFACTIVE
Tables PR and PO; Columns WFID, WFACTIVE
80
Database Configuration
can also implement the changes when prompted to configure upon exiting the
application.
NOTE: Make sure you are logged in as user MAXIMO, or as the schema
owner if you have a multischema database.
1. From the Applications tab, select the application and table you want to
modify.
2. Modify the currently selected table by making changes as needed on any of
the Database Configuration tabs: Table Definitions, Index Definitions, and
View Definitions. Save the changes.
NOTE: You can cancel database changes, even after saving, by choosing
Actions/Remove Changes. This removes database changes made
since you last configured, including prior editing sessions.
All backup tables from the previous configuration must be restored
before you can configure the database again.
81
Chapter 4
NOTE: If you want to save old backup tables, you must copy them (or
change their names) to tables not of the form XX{tablename} before
configuring.
Click OK. The status line indicates when the database is successfully
configured.
5. After configuring the database, select Actions/Restore Backup Tables. The
Restore Backup Tables dialog box lists the backup tables created during
configuration. You must copy their data into the newly configured tables.
Select the tables individually or click Select All, then click Restore.
By default, MAXIMO drops the backup tables after restoring the data to the
new tables. If you want to save the backup tables, click the Do Not Drop
Backup Tables(s) radio button. Saving backup tables requires additional disk
space (MAXIMO tells you how much when you click Restore).
6. When you exit Database Configuration, MAXIMO displays the message:
"For these changes to take effect, MAXIMO must be reset. Would you like to
do this now?" If you select No, you can continue working in MAXIMO, but
82
Database Configuration
the changes will not take effect until you exit and reenter MAXIMO. It is
recommended that you choose to reset now.
7. If you did not have MAXIMO automatically drop the backup tables after
restoring, you can do so manually at any time to provide more disk space.
From any Database Configuration tab, choose Actions/Drop Backup Tables
to display the Drop Backup Tables dialog box. Click OK to drop all the
XX{tablename} tables. You must drop all or none; you cannot select specific
tables.
83
Chapter 4
Indexes are used internally by MAXIMO to speed access to the database. They
provide pointers, or quick references, to the location of frequently accessed data.
You can create an index on the columns in a table that you frequently query. See
Centura's SQL documentation for information about SQL indexes.
84
Database Configuration
Use the Applications tab to select the table for which you want to create or drop
an index, then click the Index Definitions tab. The Indexes list box shows the
indexes associated with the table. The Columns list box shows the columns in
the selected table.
To view an existing index definition, select the index from the Indexes list box.
MAXIMO displays the columns included in the index in the Index Definitions
table window.
You cannot redefine existing indexes. You must drop the index and recreate it
with a new definition.
If applicable to your database, the Database Storage Partition field lets you select
a storage partition for an index.
Creating an Index
Use the Create Index dialog box to create new indexes.
1. Use the Applications tab to select the table for which you want to create an
index, then click the Index Definitions tab.
2. Choose Actions/Create Index to display the Create Index dialog box.
3. Enter a name for the new index and click OK. The new index appears in the
Indexes list box and the Selected Index field.
4. If applicable to your database, click the Detail button in the Database Storage
Partition field and select a storage partition for the index.
5. To add a column to the index, select a column in the Columns list box
6. Click either Order Asc or Order Desc to indicate how you want the results
ordered -- in ascending or descending order. The Index Definitions table
window displays the column you just added. The order in which you add
columns determines their sequence.
85
Chapter 4
NOTE: For Oracle and SQL Server, it makes no difference whether you
click Order Asc or Order Desc.
7. If you want each column in the index to be unique, put a check mark in the
Enforce Uniqueness box.
8. For Sybase and SQL Server only: put a check in the Clustered Index box if
you want to create a clustered index. You can have only one clustered index
per table.
9. Save the record.
10. Configure the database and reset or restart MAXIMO. Make sure that no
users are currently using MAXIMO when you configure the database.
Dropping an Index
Use the Drop Index dialog box to delete indexes.
1. Use the Applications tab to select the relevant table, then click the Index
Definitions tab.
2. From the Indexes list box, select the index you want to drop.
3. Choose Actions/Drop Index.
4. Click OK to drop the index.
5. Save the record.
6. Configure the database and reset or restart MAXIMO. Make sure that no
users are currently using MAXIMO when you configure the database.
86
Database Configuration
You create a table view to assign an alternative name to a table. You create
column aliases to assign alternative names to table columns. For example, you
may want to assign column and/or table names in another language.
87
Chapter 4
Once you enter a view name and column aliases, you can use those names with
reports and with interactive SQL. See Centura's SQL documentation for more
information about views.
NOTE: To see a list of the current column names, you can print out an SQR5
report, LISTTABL.SQW, or a Crystal report, MAXCOLS.RPT, that lists
the database tables.
88
Database Configuration
GL ACCOUNT CONFIGURATION
GL Account Code Formats
Account Components
Each general ledger account code consists of a number of distinct components
(also called segments). In Database Configuration, you define the account code
format. In Chart of Accounts, you specify which components are valid for use in
MAXIMO.
For easy identification, you can use delimiters to separate components when they
are displayed on the screen. For example, you might use hyphens to separate
components: 6100-400-SAF.
By default, MAXIMO writes account strings to the database in a concatenated
format, without delimiters. However, if required by the accounting system to
which you are exporting MAXIMO data, you can specify that delimiters be
included. This needs to be decided before any accounts are entered in the
database. Changing this setting with existing accounts in the database will cause
the existing accounts to become invalid.
For any account code, you can:
• Define up to 20 components.
• Restrict a single component’s field length to a certain number of characters.
• Include a total of up to 254 characters/digits, not including delimiters (unless
you choose to include the delimiters as part of the account code).
Component Sequence
Account components are displayed in a sequential format, with the leftmost
component in the string representing the highest level. For example, in the
MAXDEMO database, four component levels are defined:
89
Chapter 4
An optional component does not require a value in order for the account to be
fully defined. When you display an account on-screen, any unknown optional
components are not displayed at all. In the demo database, the fourth component
is optional, and most of the account codes consist of just the first three
components.
Your general ledger system has rules regarding whether an account is acceptable
when partially defined, or whether it must be fully defined. A fully defined (or
“fully specified”) account has no unknown values (placeholders) in required
components. A partially defined (or “partially specified”) account contains
placeholders in some required component(s). In the above example, 6100-350-
90
Database Configuration
SAF is fully defined (the fourth component is optional and does not require any
characters). The account 6100-???-SAF is partially defined; the required Activity
component is not specified and therefore contains placeholder characters.
91
Chapter 4
92
Database Configuration
• Validate Financial Periods -- Leave the check mark in this box if you
want MAXIMO to validate that a transaction falls within an open, valid
financial period as defined in the Financial Periods dialog box in Chart of
Accounts. Remove the check mark if you do not want to validate against
defined financial periods.
8. Choose a placeholder character. This character is used for alphanumeric
(ALN) components. The placeholder for integer (INTEGER) components is
the number nine (9). When MAXIMO displays an account code, placeholder
characters fill the length of each missing required component.
93
Chapter 4
write delimiters to the database, and the account code can include the
maximum 254 characters plus the delimiters.
If you check this box, the delimiters will become part of the account codes.
The maximum number of characters will be 254, including delimiters.
10. Preview the account code. The Preview group shows how the account code
will be displayed on-screen versus how it will be stored in the database. Click
Refresh to preview the formats. Integer components are filled with the
number 9, alphanumeric components with the placeholder character.
94
CHAPTER 5
CUSTOM APPLICATIONS
OVERVIEW
A custom application consists of a custom database table and its application
interface. The Custom Applications feature lets you create your own database
tables. MAXIMO then creates an application interface (a screen, with a tab titled
Main) in which you can query, update, insert, and delete data just as you do with
standard MAXIMO applications. MAXIMO automatically adds the names of
new applications to the Custom Applications list on the Main Menu and the
Quick Access bar.
You can create two basic types of custom application tables:
• A stand-alone custom application table, containing any type of information
(general purpose)
• An extra table, associated with a specific MAXIMO application (for example,
an extra Equipment table).
95
Chapter 5
How Do I …
• Create a Custom Application Table *
• Create an Extra Application Table *
• Drop a Custom Application Table *
• Launch a Custom Application *
Within each of the above Help topics on creating tables, there is a link to a topic
that describes the table and its function.
APPLICATIONS TAB
The Applications tab (Figure 5.1) lets you create, modify, or delete your own
custom application database tables. The tab displays a list of existing custom
applications, including their Name, Description, and Application Type.
96
Custom Applications
After you have created a custom application table, you can customize its visual
layout in MAXIMO using the Screen Editor (Object Nationalizer). You specify
column definitions for the new application when you create it, but you can
subsequently modify them using Database Configuration.
Custom Applications tables can have up to 107 columns. The first column
becomes the key to the table. You grant access privileges on these tables using
Signature Security, as with standard application tables.
97
Chapter 5
98
Custom Applications
NOTE : Do not assign the new custom application table the same name as a
non-MAXIMO .EXE file or an existing MAXIMO .EXE file. For
example, don't name a custom application table CALENDAR, since
that could conflict with the Microsoft Windows CALENDAR.EXE
file.
3. In the Column Definitions table window, the first row corresponds to the first
column of the custom application table.
Click the Insert Row button and enter the name of the custom application
table's first column in the Name field. This will be the key to your custom
application table.
Fill in the remaining fields as needed for this key column: Type, Length,
Scale, Positive, Nulls Allowed?, Null with Default, Default Value, Value List
Name, Value List Type, Remark, DynaList Column Title, DynaList Sort
Order. Check the status bar to see which fields are required.
4. Click the Insert Row button again and enter the name, type, length, and other
definitions as appropriate for the second column. This column is used for the
long description field.
5. Continue inserting columns as needed. The maximum number of columns is
107. Use the Delete Row and Undelete Row buttons if you need to delete or
undelete columns you have inserted.
99
Chapter 5
NOTE: You cannot modify column names, change the column sequence, or
add or delete columns after the table has been created. Plan
carefully. You may want to add a few extra columns when you
create the table; you can hide the fields for the extra columns until
you need them.
6. Click OK when you are finished inserting columns. MAXIMO asks you if
you want to proceed. Click OK again and MAXIMO creates a custom
application table with the columns you have defined, and an application
screen on which you can view, insert, update, and delete data from this table.
7. When you exit Custom Applications, a message tells you that MAXIMO
must be reset for the changes to take effect. You can do this now, in which
case all MAXIMO modules and screens will be closed, or you can wait until
you exit and restart MAXIMO for the changes to take effect.
8. Use the Screen Editor (Object Nationalizer) to design the custom application
screen's main tab. Object Nationalizer lets you arrange and label the fields on
a tab. If you want to redefine any of the table's column definitions, use
Database Configuration.
100
Custom Applications
101
Chapter 5
Nulls Allowed?, Null with Default, Default Value, Value List Name, Value
List Type, Remark, DynaList Column Title, DynaList Sort Order. Check the
status bar to see which fields are required.
4. Continue inserting columns as needed. The maximum number of columns is
107. Use the Delete Row and Undelete Row buttons if you need to delete or
undelete columns you have inserted.
NOTE: You cannot modify column names, change the column sequence, or
add or delete columns after the table has been created. Plan
carefully. You may want to add a few extra columns when you
create the table; you can hide the fields for the extra columns until
you need them.
5. Click OK when you are finished inserting columns. MAXIMO asks you if
you want to proceed. Click OK again and MAXIMO creates an extra
application table with the columns you have defined, and an extra application
screen on which you can view, insert, update, and delete data from this table.
6. When you exit Custom Applications, a message tells you that MAXIMO
must be reset for the changes to take effect. You can do this now, in which
case all MAXIMO modules and screens will be closed, or you can wait until
you exit and restart MAXIMO for the changes to take effect.
7. Use Centura the Screen Editor (Object Nationalizer) to design the extra
application screen's main tab. Object Nationalizer lets you arrange and label
the fields on a tab. If you want to redefine any of the table's column
definitions, use Database Configuration.
102
Custom Applications
103
Chapter 5
104
CHAPTER 6
APPLICATION SETUP
OVERVIEW
You use Application Setup to:
• Customize the MAXIMO Main Menu.
• Create and assign value lists.
• Set a variety of defaults for other MAXIMO applications.
• Specify which records an application can access, and in what order they are
accessed.
• Clone an application.
105
Chapter 6
106
Application Setup
• Purchasing Options
• Invoice Options
• Location Options
• Preventive Maintenance Options
• Labor Reporting Options
• Meter Import Options
• Workflow Options
• AutoNumber Seeds
• Tax Options
MODULE TAB
You use the Module tab (Figure 6.1) to customize the position of module icons
and menu items on the MAXIMO Main Menu and the Application Bar. You also
use it to clone MAXIMO applications. Using the Actions menu, you can set
various MAXIMO defaults, restrict the records an application can access, and
specify the order in which they are accessed.
107
Chapter 6
NOTE: When you choose View/Module List or click the View List toolbar
button, the View List dialog box displays the modules in MAXIMO.
These include modules named HIDDEN and MXE, which are both
hidden and do not appear on the Modules menu. HIDDEN is used for
hiding applications, as described later in this chapter. MXE comprises
a number of Java components used by MAXIMO that are related to
regular MAXIMO applications. For example, there is a PO application
in the Purchasing Module and a CPO Purchase Orders Component in
the MXE module. In customizing MAXIMO, you should ignore the
MXE module and the “component” applications it contains.
108
Application Setup
109
Chapter 6
For example, if you hid module 0/3, module 1/0 would move up and take its
position in row 0 on the Main Menu even though its row/column value
remained 1/0. The modules after 1/0 in the sequence would similarly each
move one position in the display sequence. If you insert a fifth column by
inserting a new module at 0/4, for example, then all the modules will move up
in the display sequence to form rows of five modules. Therefore, you can not
assume a module’s row/column value by looking at the screen; you must look
at the values on the Modules tab.
The gap closing behavior occurs even when modules are hidden
automatically. A modules is hidden automatically if your site is not licensed
for any of the applications in that module, and also if, in Signature Security,
users are not granted privileges for any of the applications in a module.
3. Save the record and close Application Setup. Choose to reset MAXIMO
when prompted, or wait until you exit and restart MAXIMO for the changes
to take effect.
110
Application Setup
3. Edit the application's Description field as needed. MAXIMO uses the text in
the Description field as the name of the application on the pop-up menu, and
on the title bar of the application.
4. Save the changes and close Application Setup. Choose to reset MAXIMO
when prompted, or wait until you exit and restart MAXIMO for the changes
to take effect.
111
Chapter 6
NOTE: You do not have to use the BLANK.BMP file. If you do not want the
button image and simply use another .BMP file for the new module
icon, the size of the bitmap must be no larger that 80 x 160 pixels, or it
will be clipped. Furthermore, MAXIMO will display the left 80 x 80
pixels when the icon on the Main Menu is not pressed, and the right 80
x 80 pixels when it is pressed, so you may want to duplicate the icon
within the bitmap.
You can set up a different path for the bitmap file by editing your MAXIMO.INI
file. In the [system] section, insert a BITMAPPATH line with the different path
name; for example: BITMAPPATH=C:\BITMAPS.
To associate an icon with the name of the new module on the Application Bar
(not applicable if you are using the 4i Look):
1. Copy an existing icon (.ICO) file from wherever you placed your MAXIMO
bitmap and icon files (see the preceding Step 1, above) and put it into your
MAXIMO folder (the folder from which you are running MAXIMO).
112
Application Setup
NOTE: To create your own .ICO file you need a program such as
MicroAngelo 98 by Impact Software.
2. Rename the .ICO file with the same name as the new module, e.g.,
NEWMOD.ICO.
NOTE: You cannot change the icon associated with a newly created
application. It will be the same as for the application from which the
new application was cloned.
113
Chapter 6
114
Application Setup
Cloning an Application
You can create a new application in MAXIMO by cloning an existing one. You
can then modify the new one, using any of the customizing tools available with
MAXIMO.
Cloning is, in general, nothing more than providing another way to access data
from the original MAXIMO application. The clone and the original
application access the same database tables. The clone has the same
functionality as the original application because it accesses the same tables. The
only difference is in how the system administrator modifies the screens and tabs,
and whether or not there are restrictions on which records can be viewed. The
tabs on the clone and the original can be modified to suit the needs of different
groups of users.
115
Chapter 6
6. Save the changes and close Application Setup. Choose to reset MAXIMO
now or wait until you exit and restart MAXIMO.
116
Application Setup
117
Chapter 6
You might use this feature, for example, to display equipment records in
descending numerical order.
118
Application Setup
NOTE: An existing currency code can also be used as the Base Two
Currency Code.
2. Go to Application Setup, choose Actions/Currency Options. If you upgraded
to this release, the Base One Currency Code should already be specified.
Specify a Base Two Currency Code if not already specified.
If you are a new MAXIMO user, specify both Base One and Base Two
Currency Codes.
Click the Help button on the Currency Options dialog box for more
information.
3. In the Currency Management application bring up the record for the Base
One Currency Code. In the exchange table window, enter the Base Two
Currency Code in the Convert To column.
For example, if FF is the Base One Currency Code and XEU (euro) is the
Base 2 Currency Code: enter FF in the Convert From field, then enter XEU in
the Convert To column. Enter valid active and expiration dates for XEU.
4. Exchange rates must be entered for each transaction currency to be converted
to the Base two Currency Code.
For example, if Base One Currency Code is FF, Base Two Currency Code is
XEU, and the transaction currency is DEM: retrieve the DEM record (so
DEM is in the Convert From field), then enter XEU in the Convert To
column in the table window. Enter valid active and expiration dates for XEU.
119
Chapter 6
NOTE: You must enter the bilateral EMU exchange rate for conversion
between EMU participating countries. These rates will have been
irrevocably fixed on 1 January 1999.
120
Application Setup
121
Chapter 6
• To see all the existing value lists in MAXIMO, choose Actions/Show All
Value Lists. This option can be toggled on and off. A check mark appears in
front of the menu item when MAXIMO is displaying all the value lists.
Click on a value list in the Value Lists box and MAXIMO displays the list in the
Selected List field. The Type field shows the value list type (1, 2, 3, or 4). The
Data Type, Length, and Scale fields show information about the list's column
definition.
There are two kinds of value lists, standard and synonym. See Value List Types,
below, for more information.
Most Actions menu items, referred to earlier, are also available from the Value
Lists tab.
122
Application Setup
values and descriptions, in this case the values for MAXIMO application
names.
• Scroll down towards the end of the Values Lists box until you reach
WOSTATUS. There are nine rows for the WOSTATUS synonym value list,
each with a value to the right of WOSTATUS. The values, such as APPR,
CAN, COMP, and WAPPR are used in reporting on the status of a work
order. All synonym value lists are preset in MAXIMO.
You can create standard value lists (Types 1 and 2). See Creating a Value List,
later in this chapter.
You cannot create synonym value lists (Types 3 and 4), but you can add
synonyms for the values. Click on WOSTATUS CLOSE. The Values table
window lists only CLOSE and its description. You can add synonyms for
CLOSE by adding rows in the table window. See Adding Synonym Values to a
Value List, later in this chapter, for more information.
123
Chapter 6
124
Application Setup
4. To deassign a value list, select the relevant table/column row and click
Deassign.
5. To assign a value list, click Assign to display the Assign Value Lists dialog
box, which lists tables and columns. You can filter by table: type in the name
of a table in the MAXIMO Table field and click Refresh.
Select the rows with the tables and columns you want and click OK. The
tables and columns are now listed in the Assign and Deassign Value Lists
dialog box. To add more tables and columns, click Assign again.
6. Click Save, then Close.
125
Chapter 6
126
Application Setup
2. Add synonyms by adding rows to the table window and entering the synonym
values and descriptions. Enter Y or N (Yes/No) in the default columns. You
can only have one default. To enter a Y you will have to change the Y to N
for the previous default.
NOTE: You cannot add synonym values to standard value lists (Types 1 and
2). You can add more values.
See Value List Types, earlier in the chapter, for a description of the different
types.
127
Chapter 6
FIELD HELP
MAXIMO screens include context-sensitive, pop-up field help. You can
customize screens, create new custom applications, and clone applications to fit
your needs; and to accompany what you customize, you can design your own
help.
When a user moves focus (places the cursor into a field and clicks) to a field and
presses F1 or selects What’s This from the Right Mouse Button menu, a pop-up
field help screen appears. Figure 6.3 shows the pop-up field help displayed for
the Work Order field on the Work Order tab in Work Order Tracking.
Figure 6.3 Pop-Up Field Help for the Work Order Field in Work Order Tracking
To edit the current help, or to create new help for unhidden fields and for cloned
and custom applications, you need to purchase the MAXIMO Help and
Documentation Customization Kit. This kit includes the source files you will
need to customize MAXIMO's help.
The following is a summary of the steps involved:
1. Create a Help file. You can use a help authoring system or create Help
directly in Microsoft .RTF files.
2. Using SQLTalk, modify the MAXHLP table in MAXIMO’s database to
associate your help file with any or all of MAXIMO’s application screens or
table windows.
128
Application Setup
129
Chapter 6
130
CHAPTER 7
HYPERLINK
OVERVIEW
You use the Hyperlink application to create links between MAXIMO data fields
and/or push buttons and other applications. You can then “launch” the other
applications from within the MAXIMO application you are using. You can
launch non-MAXIMO applications, referred to as user applications, as well as
other MAXIMO applications.
In establishing a hyperlink, think in terms of the “launching” application and the
“launched” application. The launching application is the MAXIMO application
from which you set up the hyperlink to another application. The other
application is “launched,” or opened, by the launching application.
If you create a hyperlink to one or your MAXIMO applications (including
custom applications), you can copy data from a field on the launching
application to a field on the launched application. Using Return With Selection,
you can copy data from the launched application to the launching application.
If you hyperlink to a user application, you can copy data from the MAXIMO
application to the user application. The user application is responsible for
reading a command line and processing the data. You cannot automatically bring
back data from user applications to MAXIMO applications.
131
Chapter 7
Hyperlink Tabs
The Hyperlink application has one tab:
HYPERLINK TAB
Use the Hyperlink tab (Figure 7.1) to establish the link between the application
you want to launch and the MAXIMO application from which to launch it.
132
Hyperlink
Creating a Hyperlink
To create a hyperlink, perform the following steps:
1. In the Hyperlink application, choose Insert/New Hyperlink. Click the Detail
button in the MAXIMO Application field and select the application and tab
from which you want to launch another application.
NOTE: The database names for tabs generally use MAINSCREEN for an
application's first tab. The list of applications includes some
temporary ones that are being used for development of the
MAXIMO Java product. These listed items have a C in front of a
standard MAXIMO application name. For example, there is a
Purchase Orders application listed (PO) and a Purchase Orders
Component listed (CPO). Do not use the Java-related items
beginning with “C.”
2. The launching object is the data field or push button from which you want to
launch another application. In the Object Type group box, select Data Field
or Push Button.
3. In the Object field, enter the name of the MAXIMO data field or push button.
To obtain names, see the following section, Finding a Field or Push Button
Name, which describes how to do this using Centura Object Nationalizer.
You can launch Object Nationalizer by clicking the Detail button in the
Object field.
NOTE: To use a push button, you would first use Object Nationalizer to
unhide it on the tab of the launching application, then position the
button on the tab and change its name to indicate its function. See
Chapter 3, “Object Nationalizer Screen Editor,” for more
information.
133
Chapter 7
4. Specify the Hyperlink type (the type of application you want to launch):
• Click the MAXIMO Application radio button to launch one of your
MAXIMO applications, including any you created using Custom
Applications.
• Click the User Application radio button to launch all other applications,
e.g., word-processing, graphics, etc.
5. To use the hyperlink to launch one of your MAXIMO applications, fill in the
appropriate items under MAXIMO Application:
• Click the Detail button in the Application to Launch field and select the
application you want to launch.
134
Hyperlink
• If you want to open the dynamic View List dialog box in the launched
application, enter the complete SQL Select statement in the Value List
SQL Statement box. This SQL statement will be executed when you
launch the application.
For example, the select statement for opening the Preventive Maintenance
dynamic View List dialog is:
Select PMNUM, DESCRIPTION Into :cDyKEY, :cDyDESC From PM
You can specify up to fourteen additional columns: cDyCOL1, cDyCOL2,
cDyCOL3, etc. through cDyCOL14.
6. To use the hyperlink to launch a user application (i.e., a non-MAXIMO
application), fill in the appropriate items under User Application:
• In the Application to Launch field, enter the path for the user application.
To search for the executable, click the Detail button. Select the application
executable and click Open to insert the path.
• Under Parameters, you can select Default, or User-Defined, or both. The
default parameters are: database name, schema name, schema password,
login user name, login password.
• If you choose User-Defined, fill in the parameters in the accompanying
field. You can use text strings and/or refer to one or more data fields from
the launching tab by using their field names (for example:
fMSDSNUM".DOC"). Parameters other than field and column names
must be enclosed in double quotes.
MAXIMO passes the Where clause and schema name to a .PRM file in
the SQRSPOOL folder specified in MAXIMO.INI (SPL is the default).
You can customize the user application so that it uses the Where clause
data in the .PRM file to obtain the result set from the launching
application. The schema parameter can be used to view a specific schema
in the database.
135
Chapter 7
7. Save your changes. You must reload the data dictionary before the new
hyperlinks will function. Choose Actions/Reload Data Dictionary or wait
until you exit and restart MAXIMO, when reloading is automatic. If you
reload the data dictionary now, all MAXIMO applications will be closed.
After you reload the data dictionary, you can test your hyperlinks. If the
Launching Object is a field without a Detail button, MAXIMO adds a Detail
button that launches the application. If the Launching Object is a field with an
existing Detail button, you must click in the field with the right mouse button
and select Hyperlink.
NOTE: MAXIMO’s preset hyperlinks to key fields (unique identifiers) will
insert the value into the key field and query it. Custom hyperlinks to
key fields will insert the value but will not query the record.
1. Click the Detail button in the Object field to open Object Nationalizer's main
window.
2. Choose File/Open, select the application containing the field or push button
you want, and click Open.
3. In the left window, expand and scroll down the folder tree to display the
items in the application's Windows folder. Most MAXIMO tabs in Object
Nationalizer have the prefix frm (e.g., frmCOMPANY). Some do not (e.g.,
Work, for the Work Order tab).
4. Select the tab containing the field or push button you want, and click the
Layout tab at the bottom of the right window. Object Nationalizer displays
136
Hyperlink
the form in the right window. Use the Layout menu at the top of the screen
for the following tasks:
• Choose Layout/Preview Window to display the whole form. Use the Right
Mouse Button menu to turn Preview Window off.
• To find a hidden field or push button, choose Layout/Show Hidden
Windows.
5. To find a field name or push button name, double-click the field or button and
choose Object Name.
To Find a Field Name Using the Set Field Defaults Dialog Box:
1. Open the application and tab on which the field occurs.
2. Put the cursor in the field and choose Setup/Set Field Defaults. The Field
Name field shows the name.
NOTE: Typically, only the system administrator (user SYSADM) has menu
privileges for Set Field Defaults, unless he or she grants this privilege
to other users in Signature Security.
137
Chapter 7
138
CHAPTER 8
OVERVIEW
In customizing your system, you will probably want to specify how MAXIMO
displays certain kinds of data—such as date, time, and numeric values—that are
controlled by Windows settings. This section describes what kinds of data are
involved and what some of the options are. It also describes how MAXIMO
validates entries, and it gives examples of what MAXIMO displays when data
are entered.
Formatting of all data fields and columns is based on the MAXIMO data type as
found in the data dictionary:
DATE
DATETIME
TIME
INTEGER
SMALLINT
FLOAT
DECIMAL
AMOUNT
DURATION
ALN
139
Chapter 8
UPPER
LOWER
YORN
Characteristics of Formatting
• Formats are global.
Except for formats defined in MAXIMO.INI, which apply only to MAXIMO,
formatting for each data type defined in the Control Panel will be global and
apply to every instance of that data type across all MAXIMO and other
140
Validation and Formatting
Windows applications. This means, for instance, that if amount formats are
configured to be displayed with the $ currency symbol, every amount field
throughout MAXIMO will use this format. All Windows applications will be
affected.
• Application formats and input masks are ignored.
• For the current version of MAXIMO, all formats and input masks specified
through Centura Object Nationalizer will be ignored.
• Display formats vs. on-entry formats
Date, date/time, and all numeric formats are displayed differently depending
on whether a field is the current field. In general, on-entry/input formats (the
format displayed when the field is current, i.e., the cursor is in the field) are
shorter in order to simplify input; display formats are expanded with such
things as currency symbols, full month names, zero-padding, and so on.
No. of digits after MAXIMO does not use this setting for numeric
decimal fields. In MAXIMO the number of decimal digits
for each decimal field is specified using Database
Configuration. This allows different numbers of
decimal digits for different fields.
Digit grouping symbol The symbol used to separate digit groups: for
example, the “,” in 1,000. Since we usually group
141
Chapter 8
On-Entry Format
Enter digits and sign only; the thousands separators are not required, but may be
entered.
Display Format
If a thousands separator is specified in the Control Panel’s Regional Settings
application (CPRS), then values will be displayed with that separator.
142
Validation and Formatting
Validation
If you enter a decimal and digit(s) to the right of the decimal, these values will
be rounded.
Range Validation
SMALLINTS must be between -32768 and +32767
INTEGERS must be between -2147483648 and +2147483647
! Examples
CPRS Settings Enter After Leaving Field
Floats
Floats are numbers with fractional portions that have variable precision.
On-Entry Format
Enter digits, sign, and decimal symbol as specified in the CPRS. The thousands
separator is not required, but may be entered. All trailing zeroes are dropped.
Display Format
Thousands separators and leading zeroes are added if specified in the CPRS. At
least one digit to the right of the decimal is displayed. All other trailing zeroes
are dropped.
143
Chapter 8
Validation
If you enter more digits than the maximum precision allowed by the database,
those digits will be rounded.
Range Validation
The absolute value of any float must be less than 10N where N = the maximum
precision allowed by the database.
! Examples
CPRS Settings Enter After Leaving Field
Decimals
Decimals are numbers with an integer portion and a fractional portion that
consists of a fixed number of digits called the scale. A database column defined
as decimal (10,2) will have a scale of 2, meaning two digits to the right of the
decimal and eight digits to the left.
On-Entry Format
Enter digits, sign, and decimal symbol as specified in the Control Panel’s
Regional Settings application. The thousands separator is not required, but may
be entered. All trailing zeroes are dropped.
144
Validation and Formatting
Display Format
Thousands separators and leading zeroes are added, if they are specified in the
CPRS. The value will be zero-padded to fill in additional digits to the right of the
decimal, as specified by the field’s scale.
Validation
If you enter more digits to the right of the decimal than the column’s scale, those
digits will be rounded.
Range Validation
Absolute values larger than can fit in the non-fractional portion will cause
validation errors. For instance, in a field associated with a database column
defined as decimal (6,2), only four digits to the left of the decimal are allowed—
in this case, the number 12345 will not be valid.
! Examples
The following examples assume a field defined as decimal (10,3).
145
Chapter 8
Amounts
In MAXIMO, amounts are an extended data type. The database columns are
defined as DECIMAL in Syscolumns and as AMOUNT in Maxsyscolumns. Like
decimals, they have an integer portion and a fixed fractional portion (scale).
Formatting information for AMOUNT fields is obtained from the entries on the
Currency tab in the Control Panel’s Regional Settings application. In addition to
format options for decimals and groupings (e.g., thousands separators), the
Currency tab allows you to specify the currency symbol, the symbol position,
and the format for negative amounts:
Currency symbol You can use up to five characters to define a
currency symbol.
Position of currency symbol Example: Using $ as the symbol and 123.22 as
the amount, one of the following:
$123.22
123.22$
$ 123.22
123.22 $
Negative number format Example: Using $ as the symbol and 123.22 as
the amount, one of the following:
($123.22)
-$123.22
$-123.22
$123.22-
(123.22$)
-123.22$
123.22-$
123.22$-
-123.22 $
-$ 123.22
146
Validation and Formatting
123.22 $-
$ 123.22-
$ -123.22
123.22- $
($ 123.22)
(123.22 $)
On-Entry Format
Enter digits, sign, and decimal symbol as specified in the CPRS; no thousands
separators or currency symbols are required, but they may be entered. All trailing
zeroes are dropped.
Display Format
Thousands separators, leading zero, and currency symbol are added as specified
in the CPRS. The value will be zero-padded to fill in additional digits to the right
of the decimal, as specified by the field’s scale. For positive amounts, the symbol
placement is used. For negative amounts, the negative symbol placement is used.
Validation
Validation is the same as for a decimal field with the exception that extra digits
to the right of the decimal cause validation errors.
! Examples
The following examples assume an amount (10,2) field.
Symbol = $
Symbol Position = $123.22 1234 $1,234.00
Negative = ($123.22) -1.23 ($1.23)
Thousands Separator = , .2 $0.20
147
Chapter 8
Symbol = DM
Symbol Placement = 1 DM 1234 1.234,00 DM
Negative = -123.22 DM -1,23 -1,23 DM
Thousands Separator = . ,2 ,20 DM
Decimal Symbol = , 1,234 invalid
Leading Zero = 0
NOTE: Oracle and SQL Server allow a precision of over 30 digits (refer to
product-specific documentation for exact limits).
148
Validation and Formatting
YMD Order
The YMD order of a date format is the order in which the year, month, and day
format specifiers occur. This corresponds to the order setting in the CPRS.
149
Chapter 8
150
Validation and Formatting
MAXIMO.INI Interpreted As
[formats] ----------
DateOnEntry=SHORTDATE = M/d/yy
DateDisplay=SHORTDATE = M/d/yy
MAXIMO.INI
[formats]
DateOnEntry=YYMMDD = yyMMdd
DateDisplay=LONGDATE = MMM d, yyyy
151
Chapter 8
In addition, any valid format whose YMD order matches the CPRS short date
YMD order can also be used. For instance, the following formats are considered
valid by MAXIMO:
CPRS Short Date Format = M/d/yy
MAXIMO.INI
[formats]
DateOnEntry=MM/dd/yy
DateDisplay=MMM dd yyyy
However, the following is not considered valid because the DateOnEntry
format’s YMD order is different from the CPRS short date YMD order.
CPRS Short Date Format = M/d/yy
MAXIMO.INI
[formats]
DateOnEntry=d-M-yy
Whenever an invalid format is specified for either the DateOnEntry or
DateDisplay format, a message is displayed (and logged), and the short date
format is substituted.
These settings affect the display of all date and date/time fields across all
MAXIMO applications.
152
Validation and Formatting
Time Formats
Time formats are obtained from the Time tab in the Control Panel’s Regional
Settings application. The Time tab has fields for Time style, Time separator, and
AM and PM symbols. Consult Windows Field Help for information on formats
(place the cursor in the field and press the F1 key). A colon (:) is the default
Time separator.
MAXIMO.INI
[formats]
time_seconds=Y
time_microsecs=Y
Seconds will be used only if minutes are enabled (minutes are enabled by
default). Microseconds will be used only if seconds are enabled.
153
Chapter 8
MAXIMO will interpret four-digit time input as hhmm and will interpret three-
digit time values as hmm. A colon (:) is the default time separator.
Time Suffixes
The on-entry and display time formats are the same for 12-hour clocks—you
must specify AM or PM to obtain the correct time.
Date/Time Formats
Date/time on-entry and display formats are built by concatenating the
appropriate date and time formats.
154
Validation and Formatting
During the year 2001, if you enter a two-digit year ranging from 50 to 99,
MAXIMO will interpret the year as 1950 to 1999. If you enter digits ranging
from 00 to 49, MAXIMO will interpret the year as 2000 to 2049.
MAXIMO displays all 1900 year dates with four digits.
! Examples CPRS Short Date Format = M/d/yy and the current year is 2001
MAXIMO.INI
[formats]
DateOnEntry=SHORTDATE
DateDisplay=SHORTDATE
Partial Dates
A single number in a date or date/time field is interpreted as that day of the
current month and year. If two numbers are entered, the first is interpreted as the
day, the second as the month of the current year. If the day and month name are
entered, the current year is used. For date/time fields, the default time used is
12:00 AM (00:00).
1 June 1, 2001
14 June 14, 2001
155
Chapter 8
12 February 1, 2001
June invalid
3 31 invalid
July 1 July 1, 2001
7 July July 7, 2001
156
Validation and Formatting
! Examples The following examples assume the Currency Symbol is “$”, the decimal
symbol is “.”, the number of digits after the decimal is two, the LongDate format
is MMMM d, yyyy, DateDisplay=LONGDATE in MAXIMO.INI, and the current
date is June 16, 2001.
157
Chapter 8
158
CHAPTER 9
OVERVIEW
Use Reports and Other Apps to register report writers and other applications—to
tell MAXIMO what report writers and other applications exist, and how
MAXIMO should run them. You also register individual reports and other
application files.
MAXIMO 4i Release 4.1.1 uses SQR as its primary report writer. In addition,
MAXIMO 4i uses the Crystal Reports report writer. To run the Crystal reports
that are included in Release 4.1.1, you must have Crystal Reports Professional v.
8.0 and the MAXIMO 4i Release 4.1.1 Crystal Integration.
NOTE: Although MAXIMO uses SQR and Crystal Reports as its default report
writers, you can register other report writers for use with MAXIMO.
MRO Software, Inc., however, does not provide technical support for
other report writers. You must contact the appropriate vendor.
159
Chapter 9
Reports and Other Apps provides flexibility in how you set up MAXIMO to
interface with the other applications:
• When you register a new report writer or application, you can indicate
whether it should be run from a particular MAXIMO application or from all
MAXIMO applications.
• You can register reports so that they display information based on the current
record only, or on all selected records. Most reports can be run either way.
• You can specify any DOS or Windows program to display the report after it
finishes running. MAXIMO's default report setup uses SQR Viewer.
However, you may designate your preferred editor. Some reports output their
data in spreadsheet format. For those reports you can run a spreadsheet or
graphics program.
• You can register other applications, such as graphics packages, with
MAXIMO and pass information to them. For example, you can register an
equipment drawing package so that you can display a drawing for an
equipment record.
• SQR and Crystal Reports have already been registered with the MAXIMO
applications.
160
Reports and Other Apps
APPLICATION TAB
Use the Application tab (Figure 9.1) to register report writers and other
applications, as well as individual reports and application files. The tab displays
a single report writer or other application record at a time—SQR, Notepad, or
Paintbrush, for example—along with the files, if any, that are attached to that
application. Choose View/Application List or use the View List button to see the
list of applications currently registered with MAXIMO; then select the
application record you want to view.
161
Chapter 9
If the MAXIMO Application field is blank, you can access the report writer or
other application from all MAXIMO applications. You can restrict the individual
reports or application files listed in the Attached Files table window to specific
MAXIMO applications, even if the report writer or other application runs from
all MAXIMO applications.
SQR and Crystal Reports have already been registered with MAXIMO
applications.
NOTE: If you want the application to run with more than one, but not all,
MAXIMO applications, you must register a “new” application
(create a new record) for each MAXIMO application you want it to
run with. That is, duplicate the record, but type a different entry in
the MAXIMO Application field.
3. Click the Detail button in the Type field and select Other Application or
Report Writer.
4. Enter the executable file name (and parameters, if appropriate) in the
Application Command Line field (for example, MSPAINT.EXE {P1}). You
may use Substitution Variables (described later in this chapter) in the
command line. You may also use User Prompts.
162
Reports and Other Apps
5. If you want to attach files to a report writer application, you can do so using
the Attached Files table window.
6. Save the record.
163
Chapter 9
display the WOPRINT report output in SQR Viewer (the default for SQR
reports):
SQRWV {SPOOL}WOPRINT.SPF
{SPOOL} is replaced with the SQRW_SPOOL parameter specified in
your MAXIMO.INI file. Do not type a space between {SPOOL} and the
output file name. You may use substitution variables (described later in
this chapter). Some reports output their data in spreadsheet format. For
those reports you can run a spreadsheet or graphics program.
6. You can specify user prompts (described later in this chapter) if desired.
Select Actions/Specify User Prompts and specify up to four prompts. The
report or other file must contain the code that references the prompts.
7. For SQR reports, you can specify some defaults using the Specify Report
Preferences dialog box. Select Actions/Specify Report Preferences to set
these defaults.
8. Save the record. You can now run the report or application from the
MAXIMO application(s) you specified. You can change registration
specifications as needed.
Substitution Variables
The Application Command Line field and the Command Line column can
contain special control variables that are replaced by real values at run-time.
These variables are easy to find because they are surrounded by braces. All are
listed below.
164
Reports and Other Apps
Variable Description
{KEY} The value of the current unique identifier on the current
screen.
{APP} The name of the current application.
{PATH} The folder containing SQR report files.
{SPOOL} The folder where SQR output is sent.
{P1} ... {P4} Parameter values solicited from the user prior to
execution of the report or program.
{DBNAME} The database name of the current session.
{MAXIMONAME} The schema name.
{USERNAME} The logged-in MAXIMO user name (not MAXIMO).
{USERPW} The logged-in MAXIMO user's password (not
MAXIMO's password)
{WHERE} The Where section of the main select statement.
Some sample command lines using control variables are:
• SQRWV {SPOOL}LISTWO.SPF
Runs SQR Viewer after a report is run to view the report's output on the
screen.
• PBRUSH {PATH}{KEY}.PCX
Runs Windows Paintbrush program and displays a picture (.PCX files
are graphics display files). The picture file is to be found in the same
folder as the reports and has a name equal to the key of the current
record. For example, if the SQR reports are in C:\SQR5\Reports and the
165
Chapter 9
166
Reports and Other Apps
167
Chapter 9
Running a Report
You can run a report from the MAXIMO application to which it is registered, as
well as from Reports and Other Apps.
168
Reports and Other Apps
4. If the report requires user input, a Parameters dialog box prompts you for
information. Fill in the information and click OK.
NOTE: You can also start non-report writer applications from Reports and
Other Apps. If there are no attached files, or if you want to run an
existing file that is not attached, leave the cursor at the top of the
screen and choose Actions/Run Selected Item.
169
Chapter 9
E-MAILING REPORTS
If you have an e-mail utility installed, MAXIMO enables you to e-mail SQR
reports to other MAXIMO users. This option is activated by selecting the Send
Mail button on the Report Options dialog box, which is displayed when you
choose Run from the report list dialog box of any MAXIMO application.
170
Reports and Other Apps
171
Chapter 9
172
Reports and Other Apps
FAXING A REPORT
If you have installed WinFax PRO Version 9.0, you can use MAXIMO to fax
SQR reports.
To fax an SQR report, run the report in the usual way, except:
1. On the Report Options dialog box, which opens when you run the report,
click Printer and select your fax printer.
2. Under Options, choose Print.
3. Fill in the necessary fax information in the dialog box that opens after the
report runs.
Consult the user’s guide to your fax product for more information.
REPORT ROUTING
Overview
Report routing allows you to send an SQR report to different destinations based
on information stored within the report itself. You can design the report to
reference particular MAXIMO fields and, based on the values in those fields, the
report will automatically be sent to specific printers, fax numbers, or e-mail
addresses.
For example, you might want a work order to be printed on one printer or
another depending on the equipment location, the work type, or who the work is
assigned to. You also may want to fax purchase orders directly to the fax
numbers stored in the database.
173
Chapter 9
174
Reports and Other Apps
Using the Specify Printer Routing dialog box, build a reference table of
MAXIMO field values to be associated with specific printers:
1. Choose Actions/Specify Printer Routing to display the Specify Printer
Routing dialog box.
2. Fill in the relevant data for each field in the Default Table Data group. Click
the Detail buttons to select the values. Then click Insert Row to enter the row
in the table window (you can also enter values directly in the table window).
175
Chapter 9
3. In the Field Value column, click the Detail button and select the desired
value. This is the field value that will trigger the printer routing when the
report is properly coded. For example, if the Table, Column, and Field Value
entries are WORKORDER, LOCATION, and BOILER, then the report will
be sent to the specified printer whenever BOILER is the location on the work
order.
Each column in a table row must be filled in. The dialog box must include the
Table/Column,/Field Value information for the first record that is selected when
you run a report that uses printer routing.
After specifying the needed information, click OK.
NOTE: All the printers specified in a printer routing report must be installed
on the workstation that runs the report. The port, printer, and driver
specifications in the Specify Printer Routing dialog box must exactly
match those set up for your workstation’s printer drivers. The easiest
way to ensure that port, printer, and driver specifications match the
printer driver entries is to use the Detail buttons to select from a list of
installed printers. Choose a printer, and all three fields are filled in
with the correct information for that printer.
176
Reports and Other Apps
WinFax PRO
Using a file named Maxfax.dll, MAXIMO 4i Release 4.1.1 supports WinFax
PRO Version 9.0. If you use other fax software, you can create your own version
of Maxfax.dll and replace the version that comes with the standard MAXIMO
release. The Maxfax.dll file is described fully in the MAXIMO 4i Developer’s
Kit. Contact your MRO Software representative for information on the
Developer’s Kit.
177
Chapter 9
BEGIN MAILTO
MAILCC MAILSUBJECT MAILCOMMENT
BEGIN FAXNUMBER
FAXNAME FAXCOMPANY FAXTIME
178
Reports and Other Apps
179
Chapter 9
Function
Causes the report section to be printed at the named printer.
Syntax
PRINT printer;driver;port
Argument
printer – The printer name used in registering the printer.
driver – The driver name for the printer
port – The port name used for the printer.
Description
Specifies the output printer. If the printer;driver;port has not been defined in
the registry, the user will have the option of directing the output to the default
printer or not sending that report section.
The document will not actually print until the report finds an [#END],
[#BEGIN] or end of file marker. Any number of [#PRINT] commands are
allowed per section; if multiple commands are specified, the report will be
sent to multiple destinations.
NOTE: If you use the PRINTER table in the MAXIMO database, the printer
name is stored in the DEVICE column.
180
Reports and Other Apps
Example
[#PRINT Optra 204;LEXPS;\\MROI01\OPTRA_204]
[#PRINT Toshiba ExpressWriter 420;EXPRSS24;LPT1:]
See Also
See the COPIES command for information on how to print multiple copies.
181
Chapter 9
COPIES
Function
Specifies the number of copies to be printed. Optional.
Syntax
COPIES number
Argument
number – The number of copies to be printed
Description
Specifies the number of copies that will be produced when the document is
printed. If this keyword is omitted, the default is 1. The COPIES keyword is
associated with the most recent PRINT keyword.
Example
[#COPIES 3]
See Also
See the PRINT command for information on specifying the report section to
print.
182
Reports and Other Apps
MAILTO
Function
Directs the report output to an e-mail address.
Syntax
MAILTO name
Argument
name – The e-mail address to which the report is sent.
Description
Directs output via e-mail to name. If there is no current e-mail session open,
the user is prompted for a name and password. This keyword can only be
used once within a section. If it is used more than once, the last one is used.
Example
[#MAILTO m_reed@company.com]
183
Chapter 9
MAILCC
Function
Directs a copy of the report output to an e-mail address. Optional.
Syntax
MAILCC name
Argument
name – The e-mail address to which the copy is sent.
Description
Directs a copy of the report to the name specified. This keyword can be used
multiple times within a section. It is ignored if there is no MAILTO keyword.
Example
[#MAILCC a_chen@company.com]
184
Reports and Other Apps
MAILCOMMENT
Function
Adds textual comment to the report. Optional.
Syntax
MAILCOMMENT text
Argument
text – The text to be added to the report.
Description
Gives some textual comment to associate with the report. This keyword can
only appear once within a section; if it appears more than once the last one is
used. It is ignored if there is no MAILTO keyword.
Example
[#MAILCOMMENT Please process ASAP.]
185
Chapter 9
MAILSUBJECT
Function
Adds text regarding the subject of the report. Optional.
Syntax
MAILSUBJECT text
Argument
text – The subject matter text to be added to the report.
Description
Gives the subject of the report to accompany the report. This keyword can
only be used once within a section; if it appears more than once the last one is
used. It is ignored if there is no MAILTO keyword.
Example
[#MAILSUBJECT Purchase Orders.]
186
Reports and Other Apps
FAXNUMBER
Function
Faxes the report output to the specified number.
Syntax
FAXNUMBER number
Argument
number – The recipient’s full fax number; limited to 47 characters.
Description
Directs output via fax to number. This keyword can appear multiple times per
section if the same report should go to multiple recipients at different fax
numbers. When FAXNUMBER is parsed, a new fax recipient record is
created. All fields in the record are blank except for the fax number. This
keyword is required to fax a report.
Example
[#FAXNUMBER 781-280-0207]
187
Chapter 9
FAXTIME
Function
Specifies a specific time to fax the report. Optional.
Syntax
FAXTIME hh:mm:ss
Argument
hh:mm:ss – Hours:minutes:seconds. The fax time is limited to 8 characters.
Description
Directs WinFax PRO to fax the report at a specific time. This keyword is
ignored if there is no FAXNUMBER keyword.
Example
[#FAXTIME 20:30:00]
188
Reports and Other Apps
FAXDATE
Function
Specifies a specific date to fax the report. Optional.
Syntax
FAXDATE mm/dd/yy
Argument
mm/dd/yy – Month/day/year. The fax date is limited to 8 characters.
Description
Directs WinFax PRO to fax the report on a specific date. This keyword is
ignored if there is no FAXNUMBER keyword.
Example
[#FAXDATE 09/15/98]
189
Chapter 9
FAXNAME
Function
Specifies the fax recipient’s name. Optional.
Syntax
FAXNAME name
Argument
name – Name of the fax recipient; limited to 31 characters.
Description
Directs the fax to the name specified. This keyword can be used multiple
times within a section. It is ignored if there is no FAXNUMBER keyword.
Example
[#FAXNAME Peter D. Cooper]
190
Reports and Other Apps
FAXCOMPANY
Function
Specifies the name of the fax recipient’s company. Optional.
Syntax
FAXCOMPANY company
Argument
company – Name of the fax recipient’s company; limited to 42 characters.
Description
Specifies the fax recipient's company. This keyword is ignored if there is no
FAXNUMBER keyword.
Example
[#FAXCOMPANY Paragon Maintenance Management Consultants]
191
Chapter 9
FAXSUBJECT
Function
Specifies the subject of the fax. Optional.
Syntax
FAXSUBJECT subject
Argument
subject – Subject of the fax; limited to 79 characters.
Description
Specifies the subject of the fax. This keyword is ignored if there is no
FAXNUMBER keyword.
Example
[#FAXSUBJECT Requested consulting dates and requirements]
192
Reports and Other Apps
FAXKEYWORDS
Function
Specifies WinFax PRO event keywords. Optional.
Syntax
FAXKEYWORDS keywords
Argument
keywords – The WinFax PRO keywords. The text for the event keywords is
limited to 33 characters.
Description
Specifies WinFax PRO event keywords. This keyword is ignored if there is
no FAXNUMBER keyword.
193
Chapter 9
FAXBILLINGCODE
Function
Specifies a WinFax PRO event billing code. Optional.
Syntax
FAXBILLINGCODE billingcode
Argument
billingcode – The WinFax Pro event billing code; limited to 26 characters.
Description
Specifies a WinFax PRO event billing code. This keyword is ignored if there
is no FAXNUMBER keyword.
194
Reports and Other Apps
FAXCOVERPAGE
Function
Specifies a WinFax PRO cover page. Optional.
Syntax
FAXCOVERPAGE coverpage
Argument
coverpage – The WinFax Pro cover page—either the name of a .CVP file or
the text "Quick Cover Page"
Description
Specifies which cover page to use. This keyword is ignored if there is no
FAXNUMBER keyword.
195
Chapter 9
FAXCOVERTEXT
Function
Specifies text to include on the WinFax PRO cover page. Optional.
Syntax
FAXCOVERTEXT covertext
Argument
covertext – Text to be entered on the WinFax Pro cover page. The number
of characters cannot exceed the maximum length of the report file line or
150 characters.
Description
Specifies the text of the message to enter on the cover page. This keyword is
ignored if there is no FAXNUMBER keyword.
196
Reports and Other Apps
Begin-Setup
197
Chapter 9
! input prompts
#define Notusedprompt 'Parameter not used. Press enter to continue'
#define Schemaprompt 'Insert schema name'
#define Whereprompt 'Insert where clause'
! Columns
#define col01 1 !Workorder
#define col02 12 !Description
#define col03 40 !Priority
#define col04 50 !Equipment
#define col05 62 !Location
End-Setup
Begin-Program
End-Program
!********************************* Select-Supervisor
! Selects supervisors on active work orders and having an e-mail
198
Reports and Other Apps
Begin-Procedure select-supervisor
Begin-Select distinct
wo.supervisor &supervisor_code
l.name &supervisor_name
l.pagepin &supervisor_email
do supervisor-output
End-Select
End-Procedure
Begin-Procedure supervisor-output
do select-workorders
199
Chapter 9
End-Procedure
Begin-Procedure select-workorders
let $dyna_supv = 'supervisor = ' || '''' ||&supervisor_code || ''''
let $date = dateadd(datenow(), 'day', -1)
let #count=0
Begin-Select
! Select workorders and create the output
wo.wonum &wonum
wo.description &description
wo.eqnum &eqnum
wo.location &location
wo.wopriority &priority
End-Select
if #count=0
! There were no workorders for this supervisor
! Put a comment line to that effect
let $comment= {MailComment}||{NoWorkordersSince}||$date']'
print $comment (+1,1)
end-if
End-Procedure
200
Reports and Other Apps
Begin-Procedure workorder-output
if #count = 1
! This is the first workorder for this supervisor. Put a
! comment line in the mail message
let $comment = {Mailcomment}||{WorkordersSince}||$date||']'
print $comment (+1,1)
End-Procedure
201
Chapter 9
!*********************************************************************
!
! *** MAXIMO REPORT ***
!
! Description:
!
! *** Revision History ***
!
! 12/08/97 - BH Created this report.
! 12/18/97 - DW Modified to show 4.0 template usage
! 9/22/98 - SK/JB Modified to enable for Printer routing based on Operating Location
!
!**********************************************************************
begin-setup
202
Reports and Other Apps
Declare-Report Default
layout=routing !CHANGE from Layout=Default
printer-type=hp
End-Declare
! Definitions for the header size, footer size, and compiled file name
#define HeaderLines 6 !CHANGED from 4
#define FooterLines 5 !CHANGED from 4
#define RepName 'WOPRINT.SQT for Printer Routing'
declare-variable
date $startdate $compdate
end-declare
end-setup
! Standard Header
!#include 'HDFT.H' !Comment this line OUT
!
!
!
203
Chapter 9
begin-procedure get_wo
begin-select distinct
wonum &wonum
parent &parent
description &wodesc
jpnum &jpnum
#if {sqr-database}=ORACLE
to_char(targstartdate,{DateMask}) &targstartdate
to_char(targcompdate,{DateMask}) &targcompdate
to_char(schedstart,{DateMask}) &schedstart
to_char(schedfinish,{DateMask}) &schedfin
to_char(faildate,{DateMask}) &faildate
#else
targstartdate &targstartdate
targcompdate &targcompdate
schedstart &schedstart
schedfinish &schedfin
faildate &faildate
#endif
wosequence &wosequence
status
eqnum &eqnum
!eqlocation &eqlocation
leadcraft
worktype &type
wopriority &pri
glaccount &glacc
location &eqloc
204
Reports and Other Apps
contract &contract
estdur
estlabhrs
estmatcost
estlabcost
esttoolcost
ldkey &ldkey
if $schedstart != ''
move {ScheduledStart} to $start
move {ScheduledComp} to $finish
move &schedstart to $startdate
move &schedfin to $compdate
else
move {WorkStart} to $start
move {WorkComp} to $finish
move &targstartdate to $startdate
move &targcompdate to $compdate
end-if
do get_jp
do wo_print
move 3 to #jpcnt
205
Chapter 9
new-page
from [$schema]workorder
where [$where]
end-select
end-procedure
!*********************************************************************
!
!
!
!*********************************************************************
!
!
!
206
Reports and Other Apps
!*********************************************************************
begin-procedure sub_workorders
!
!
!
let $subworkloc='Location:'
let $subworkeq ='Equipment:'
let $subworkwork = 'Work Order:'
!
!
!
!*********************************************************************
! This procedure will check if the current wonum has hazard or not, if not, this section
! will not be listed. The reason to check it first is because of the nature of the
! layout requires it.
begin-procedure CountAndList_HM
!
!
!
begin-select distinct
!
!
!
!*********************************************************************
207
Chapter 9
begin-procedure list_HaPre
begin-select distinct
if #tempcount = 0
!graphic (+1,1, {Width}) horz-line !Comment this line OUT
print {HP} (+2,{Column1}) bold !underline
end-if
add 1 to #tempcount
!
!
!
!*********************************************************************
begin-procedure list_Hazards
!
!
!
begin-procedure pre_footer
!
!
!
208
Reports and Other Apps
! **********************************************************************
begin-select
device &device
driver &driver
port &port
from printer
where TBNAME = 'WORKORDER'
and COLNAME = 'LOCATION'
and [$dyna_eqloc]
end-select
end-procedure
209
Chapter 9
!*****************************************************************************************
!
! *** MAXIMO REPORT ***
!
! Description: The vendor, its address, the customer, its address,
! the purchase order information, and all of the items
! ordered are printed out, for the purchase order
! number selected
!*****************************************************************************************
begin-setup
210
Reports and Other Apps
Declare-Report Default
layout=routing !Change from Layout =Default for Fax Routing
printer-type=hp
End-Declare
! Definitions for the header size, footer size, and compiled file name
#define HeaderLines 5
#define FooterLines 4
#define RepName 'POPRINT.SQT'
declare-variable
text $orderunit-hold
integer #unitcost-hold #ldkey-hold
end-declare
end-setup
! Standard Head
!standard header disabled for faxing
!#include 'HDFT.H'
! PRM file
#define p1type 'N/A'
#define p2type 'N/A'
#define p3type 'N/A'
#define p4type 'N/A'
#include 'input.h'
211
Chapter 9
#if {sqr-database}=ORACLE
#include 'nls.h'
#endif
! Called via the Heading (in HDFT.H) after the default !Disable this
!section for Fax Routing
!end-procedure
!
!
!
begin-procedure get_po
do build_array
show $where
begin-select
po.vendor &vendor
po.status &status
212
Reports and Other Apps
po.shipto &shipto
po.ponum &ponum
po.contact &contact
po.shiptoattn &shiptoattn
!
!
!
do get_vsinfo
if #contact = 1
if isnull(&contactfax)
let $faxnumber = &companyfax
else
let $faxnumber = &contactfax
end-if
213
Chapter 9
else
end-if
do form
do get_po_detail
do clear_array
from [$schema]po po
where [$where]
end-select
end-procedure
!*****************************************************************************************
begin-procedure form
214
Reports and Other Apps
!
!
!
!
!
!
215
Chapter 9
end-procedure
!*****************************************************************************************
!
!
!
!*****************************************************************************************
!--------------------------------------------------------------------
! main function. this procedure will select data from poline table.
!--------------------------------------------------------------------
begin-procedure get_po_detail
move 0 to #gtotal
move 0 to #countpolines
!
!
!
216
Reports and Other Apps
end-procedure
!*****************************************************************************************
!
!
!
!*****************************************************************************************
begin-procedure get_vsinfo
begin-select
name &vendname
address1 &vendaddr1
address2 &vendaddr2
address3 &v3
address4 &vendaddr4
phone &vendphone
from [$schema]companies
where [$dyna_vendor] ! company = &vendor
end-select
!
!
!
217
Chapter 9
begin-procedure pre_footer
end-procedure
! ********************************************************************************
! Procedure Added for Faxing
begin-procedure get_faxinfo
let #contactcount = 0
let $dyna-vendor = 'COMPANY = '||''''||$vendor||''''
let $dyna-contact = 'CONTACT = '||''''||&contact||''''
begin-select
faxphone &contactfax
let #contactcount=1
end-select
end-procedure
218
Reports and Other Apps
NOTE: All the printers specified in a printer routing report must be installed
on the workstation that runs the report.
NOTE: If you are using e-mail routing, depending on your e-mail application,
you may be asked to log in to complete the routing process.
In using report routing, please note the following:
• When a report is modified for report routing, you can still use the other
options on the Report Options dialog box: Preview, Print, and Send Mail.
However, the resulting output will contain embedded lines of routing code
from the report script, such as [#BEGIN] and [#PRINT ...].
• You can run a report containing routing commands even if the Output File
Contains Routing Information box is not checked in the Specify Report
Preferences dialog box. However, routing will not take effect, and the output
will contain routing commands.
219
Chapter 9
Considering the above, you may want to duplicate certain reports and specify in
their names or descriptions that one version is for routing, while the other can be
used for general purposes.
220
Reports and Other Apps
Inventory bar coding allows your maintenance department to track parts and part
usage. You can print bar code labels for use on inventory parts, equipment, and
labor badges. You can bar code work order and inventory part numbers directly
onto work orders, and bar code purchase order numbers onto purchase orders.
Bar code applications enable you, for example, to use a hand-held device to:
• Issue and return parts to inventory, updating quantities and locations.
• Track inventory parts issued and returned via work orders.
For information on setting up and using bar coding, contact your MRO Software
representative.
221
Chapter 9
222
CHAPTER 10
CHART OF ACCOUNTS
OVERVIEW
The Chart of Accounts application enables you to establish general ledger (GL)
account fields in MAXIMO with definitions equivalent to those used within the
rest of your financial data processing system. You configure MAXIMO to
interface with an accounting system using the GL Account Configuration option
in Database Configuration. The accounting system’s data can then be
downloaded into MAXIMO, after which the two systems can work interactively.
NOTE: Please refer to the MAXIMO 4i Finance Manager's Guide for detailed
descriptions of MAXIMO transaction types, general ledger accounts,
financial processes, and account tracking.
Use the Chart of Accounts application to:
• Create general ledger account codes and components.
• View or modify current general ledger account codes.
• Set up financial periods.
• Establish default codes for inventory-related accounts, company-related
accounts, and resource control accounts.
223
Chapter 10
NOTE: You specify the format of GL account codes using the GL Account
Configuration dialog box in Database Configuration.
You define tax codes, rates, and dates using the Tax Processing dialog
box in Application Setup.
224
Chart of Accounts
MAXIMO provides general ledger account fields (some are hidden by default)
on the tabs used for creating these records:
• equipment
• locations
• labor
• tools
• inventory
• purchase requisition
• purchase order
• invoice
• work orders
• companies
To fully understand how Chart of Accounts works in MAXIMO, you should
understand how account codes are configured in MAXIMO—how they are
divided into components, whether they are required or not, how they use
delimiters, etc. Please refer to the GL Account Configuration section in the
Database Configuration chapter.
To establish user security for editing account codes, you use an option in
Signature Security. Please refer to the Authorize GL Component Access section
in the Security chapter.
225
Chapter 10
menu item is part of the topic title, e.g., the Define Financial Periods topic
explains the Financial Periods menu item.
GL ACCOUNTS TAB
You use the GL Accounts tab (Figure 10.1) to add or modify GL accounts and
account components, and to set up a variety of default accounts. Typically, GL
accounts are downloaded from the general ledger chart of accounts established in
your accounting system, but you can set them up in MAXIMO.
Because all components listed on or added to the GL Accounts tab must be valid
according to the GL Component Maintenance dialog box, you may want to look
226
Chart of Accounts
227
Chapter 10
228
Chart of Accounts
Select a value for the first component from the Valid Values list box and
click Select Value (or simply double-click the value). The GL Account field
displays the value, and the Valid Values list box displays the values for the
next component.
Select the next component and click Select Value. You must define all
required components. After you select the last component, the Navigator
closes and MAXIMO inserts the new account code in the GL Account field.
229
Chapter 10
NOTE: You use the Disabled? column to prevent an account from being used.
To disable an account, enter a Y (Yes) in the Disabled? field. The
account can no longer be inserted in a new MAXIMO record, but no
change is made to existing records. The default value is a hidden N
(No). If you change a Y to an N, the N will disappear when you leave
the field.
230
Chart of Accounts
Depending on how you set up security, MAXIMO users may be able to access
the GL Account Navigator by clicking the Detail button in a GL Account field
on a particular tab, e.g., Work Order. If the Validate Component Combinations
check box in the GL Account Configuration dialog box (in Database
Configuration) is checked, they will only be able to enter accounts that are on the
GL Accounts tab. If the box is not checked, the user may enter a GL account
code that may not match any one account in Chart of Accounts, but whose
individual components are all valid. See the GL Account Configuration section
in the Database Configuration chapter.
NOTE: GL Account fields in user applications are by default not required
fields. MAXIMO will validate entries in the field against Chart of
Accounts, but a blank (null) field will be accepted. If you want to make
GL account fields required, you must specify this on the Table
Definitions tab in Database Configuration. Therefore, if you have an
accounting interface that requires account information, you must set
the Debit and/or Credit GL Account fields to Not Null in the affected
applications.
231
Chapter 10
To Create a GL Component:
1. Choose Actions/GL Component Maintenance to display the GL Component
Maintenance dialog box.
2. Select a component from the GL Component drop-down list.
3. Click Insert Row.
4. Enter a value in the Value field, a description in the Description field, and
click OK. If you are inserting multiple rows and values, make sure you click
OK before choosing another component from the GL Component drop-down
list.
232
Chart of Accounts
You can now access the value from the GL Account Navigator dialog box.
NOTE: You use the Disabled? column to prevent an existing component from
being used. To disable a component, enter Y (Yes) in the Disabled?
field. Disabling the component means it will no longer be listed in the
Valid Values box in the GL Account Navigator. No change is made to
existing records (for example, an existing work order that used that
component is not changed). The default value is N (No), which is
hidden. If you change a Y to an N, the N is hidden when you leave the
field.
When you disable a component, all GL account codes with that
component become disabled (if you close Chart of Accounts and
reopen it, the GL Accounts tab will show a Y in the Disabled? column
for those accounts). If you re-enable the component, you can again
access the component with the GL Account Navigator, and you will be
asked if you want to enable the account codes that were disabled when
you initially disabled the component.
To Edit a GL Component:
1. Choose Actions/GL Component Maintenance to display the GL Component
Maintenance dialog box.
2. Select a component from the GL Component drop-down list.
3. Edit the Value, Description, and Disabled? fields as needed and click OK.
NOTE: You can delete a component value by selecting the row and clicking
Delete Row. The value will no longer be available from the GL
Account Navigator. No change is made to existing records.
233
Chapter 10
234
Chart of Accounts
NOTE: If you type in values in the Components field, they must appear
just as if you used the GL Account Navigator. You must type in
whole component values, and you must use placeholder
characters for any components to the left of defined components.
You cannot, for example, just type in the last component of an
account code.
3. If you want to use the current selection choice as the default for the next time
you open Chart of Accounts, put a check in the Save Settings check box.
4. Click OK.
NOTE: If you have a very large number of accounts, you may not want to
choose All Accounts as the default—opening the Chart of Accounts
235
Chapter 10
• Overwrite Blank Accounts Only. Choose this option if you want the
updated Chart of Accounts data to overwrite only those affected
MAXIMO GL Account fields that are currently blank.
For example, if you created a new account code for an existing item type’s
GL account field, choosing this option would overwrite only the item's GL
Account field where it is blank, but not where a GL account has already
been entered.
236
Chart of Accounts
• Overwrite Accounts With Old Defaults. Choose this option if you want
the updated Chart of Accounts data to overwrite GL account fields that
still have the previous GL account.
For example, suppose an item type had a GL account code associated with
it in Chart of Accounts. This account code was inserted on item records
where the item type was involved. On some records, the account code was
subsequently changed to another one. Choosing the Overwrite Accounts
With Old Defaults option will not update those records in which the
account code was subsequently changed.
• Overwrite All Accounts. Choose this option if you want the modified
Chart of Accounts data to overwrite all relevant GL Account fields in
MAXIMO records.
For example, if an item type has a GL account code associated with it in
Chart of Accounts, choosing this option will fill in blank GL Account
fields for that item type and overwrite all existing GL Account fields for
items of that type, including ones that were subsequently changed.
3. Click OK.
237
Chapter 10
238
Chart of Accounts
3. Enter values in the following required fields. For dates and times, enter the
value directly or click the Detail button and use the Date/Time dialog box. By
default, the time is set to 12:00 a.m. for each date you enter.
4. If you want, enter a date in the Accounting Close Date field. This is the date
after which no further transactions can be charged to that accounting period.
For example, an Accounting Period “X” is from 2/1/98 to 3/1/98, with an
Accounting Close Date of 3/15/98. A transaction can be charged to the period
“X” even though the transaction is reported as late as 3/14/98. After that date,
no further transactions can be charged to that period.
6. When it is time to close a financial period, enter a date in the Actual Close
Date field. This date may be on or after the date in the Accounting Close
Date field, but cannot precede it.
After a user enters an Actual Close Date, and the cursor moves out of the
field, MAXIMO automatically inserts the name of the user in the Closed By
field.
239
Chapter 10
Merging GL Accounts
There are instances when a GL account field may not be uniquely specified. For
example, there may be a GL account for a location and a GL account for a piece
of equipment. Generation of work orders and other kinds of transactions often
require choosing among account component values, and MAXIMO invokes a set
of rules on how to handle them.
When GL accounts are merged, they are merged component by component, and a
defined component always supersedes an undefined component. For example, if
the first component of one account code is 600 and the other is ??? (a
placeholder), the resulting merged first component will be 600.
For many transactions, the merge must choose between defined components.
Refer to the MAXIMO 4i Finance Manager's Guide for detailed information on
how GL accounts merge during transactions.
240
Chart of Accounts
The dialog boxes you use to set up these default GL accounts are listed below.
You access them from the Actions menu, and they all have associated Help
topics.
• Inventory-Related Accounts
• Company-Related Accounts
• Internal Labor Control Accounts
• External Labor Control Accounts
• Internal Tools Control Accounts
• External Tools Control Accounts
• Labor Resource Codes
• Tool Resource Codes
• Inventory Resource Codes
Refer to the MAXIMO General Ledger Accounts chapter in the MAXIMO 4i
Finance Manager's Guide for more information on using these accounts.
241
Chapter 10
242
CHAPTER 11
DATABASE ADMINISTRATION
OVERVIEW
This chapter contains three sections:
• Archive – Describes the Archive application, which lets you remove and
restore data from the MAXIMO database. Archiving data is necessary when
your database becomes excessively large. Within the Archive application
there are options to archive Purchase Orders, Purchase Requisitions,
Measurements, and Work Orders.
ARCHIVE
You use the Archive application to generate scripts to use for off-loading data
from MAXIMO tables, and for restoring data back to those tables. You use
SQLTalk to run the scripts.
243
Chapter 11
Archiving lets you remove older data from tables and store it off-line. This
prevents the database from growing too large and running out of disk space. You
can restore the archived data back to your database as needed.
The applications that have archiving options are: Purchase Orders, Purchase
Requisitions, Measurements, and Work Orders. The tables containing data from
these applications keep growing with each new record added. When records are
closed or no longer used, the data is not automatically removed from the tables.
Archiving becomes necessary when the database becomes excessively large.
By modifying the SQL WHERE clause for the archive, you can specify the
particular criteria by which records are to be archived. For example, to archive
work orders, you can specify all work orders older than a certain date. See your
SQL Language Reference documentation for information about constructing
WHERE clauses. It is a good idea to create a folder in which to place all script
files.
Use Archive to remove data from the following tables:
Archive Tables Description
Work Orders WORKORDER Work Orders
WOSTATUS Work Order Status
EQHIERARCHY Equipment Hierarchy
EQHISTORY Equipment History
TOOLTRANS Tool Transactions
POINTWO Measurement Points by
Work Orders
WPOPERATION Work Plan Operations
WPLABOR Work Plan Labor
WPMATERIAL Work Plan Materials
WPTOOL Work Plan Tools
WOSAFETYPLAN Work Order Safety Plan
WOHAZARD Work Related Safety Hazard
WOPRECAUTION Work Related Safety Precaution
WOHAZARDPREC
244
Database Administration
Archive Tabs
Archive has one tab:
245
Chapter 11
Each time you request data to archive, MAXIMO creates two scripts: an archive
script and a restore script. You run the scripts in SQLTalk. The archive script
copies the data to temporary archive tables, then deletes the selected data from
the original MAXIMO tables. The restore script restores archived data from
temporary tables to the original MAXIMO tables. You use database tools
specific to your database platform to export the data from the temporary tables to
a storage area, and to import the data back to temporary tables before running the
restore script.
You must archive and restore each type of data separately. For purchase orders,
you have the option of archiving the corresponding inventory transactions
(material receipt and service receipt transactions). For work orders, you have the
246
Database Administration
option of archiving the data from the corresponding material usage transactions,
failure, labor reporting, and/or downtime.
The Archive History table window displays the history of archives and restores
in chronological order, with the most recent activities listed first. MAXIMO
inserts a history entry each time you run a script, not when you generate it.
WARNING: The database administrator must ensure that another archive for
the same table is not generated before the first archive procedure
is completed and the data is exported. Otherwise, the second
archive will overwrite the first, resulting in lost data.
Types of Archive
The Actions menu has the following menu items:
Archive Purchase Orders Displays the Archive Purchase Orders dialog box;
creates the archive and restore scripts for selected
purchase orders and, optionally, for material and
receipt transactions.
Archive Purchase Displays the Archive Purchase Requisitions dialog
Requisitions box; creates the archive and restore scripts for
selected purchase requisitions.
Archive Measurements Displays the Archive Measurements dialog box;
creates the archive and restore scripts for selected
measurements.
Archive Work Orders Displays the Archive Work Orders dialog box;
creates the archive and restore scripts for selected
work orders and, optionally, for data on material
usage transactions, failure data, labor reporting, and
downtime.
247
Chapter 11
248
Database Administration
249
Chapter 11
5. After you have archived data, you must back up the export files from hard
disk to tape or other storage medium so that you do not overwrite the data in a
future archive. Conversely, the export files must be copied to hard disk at the
appropriate location before you can restore data.
NOTE: The Archive script deletes data, which may result in fragmented space
in your database. Therefore, after exporting the data from the
temporary archive tables, you should use the appropriate tool for you
database platform to consolidate your MAXIMO database.
! Example To run a Work Order archive script on the Maxdemo database (with the
script residing in the C:\ARCHIVE folder):
Select Session, then Connect. In the Connect dialog box enter the
Database, User Name, and Password.
Database: MAXDEMO
Username: MAXIMO
Password : DEMO (or whatever you’ve set it to be)
250
Database Administration
Exit SQLTalk.
The data is now in the temporary archive tables. You must use the
appropriate tool for your database platform to export or unload the data
from the temporary tables.
251
Chapter 11
252
Database Administration
253
Chapter 11
254
Database Administration
System Backups
A backup that creates a complete copy of the MAXIMO software is called a
system backup. A system backup lets you restore your entire MAXIMO system
to its original state, including any customized applications and reports.
The frequency of performing a system backup is up to you. If you make changes
to your system often, then you should perform a system backup often.
System backups should include the following folders, any subfolders below
them, and any additional MRO Software programs you may have installed:
Program files\your MAXIMO folder (where your MAXIMO folder may be
Max411, or whatever was specified during
installation)
SQR5
CRYSTAL (if installed)
If you installed programs to other folders, make sure to include them. For
example, the MAXIMO Scheduler (if installed) is by default installed in a
MAXSCHED subfolder under the default MAXIMO folder, but may be placed
in its own folder.
Database Backups
Database backups copy only the database(s).
Because your data is being updated daily, you should perform database backups
more frequently than system backups. A good general guideline for database
backups is to do one once a day. This will ensure full recovery of data no more
than one day old.
255
Chapter 11
Off-Line Backups
You should perform off-line database backups with all users logged out of
MAXIMO and the database server down. Copies of the database that are made
while the server is up and users are connected may result in unrecoverable
backups. If you are running MXServer (Application Server for business
components), shut it down before performing the backup. You must restart both
the database server and MXServer after performing the backup.
256
Database Administration
Update Statistics
Perform the Update Statistics procedure (Analyze Table in Oracle) to ensure that
selectivity factors have been updated when there have been significant changes
to an index. We recommend performing an Update Statistics on a daily basis,
especially if large amounts of data have been inserted, updated, or deleted. You
can execute Update Statistics from the Actions menu in Database Configuration,
or you can use a database-specific command.
Database Integrity
Verify the integrity of your database with commands specific to your database
platform.
257
Chapter 11
258
CHAPTER 12
OVERVIEW
If your site uses the browser-based MAXIMO Buyer module, you use the Verity
search engine to search for items.
The Verity search engine, a product from Verity, Inc., enables you to perform
fast text-based searches against vast amounts of data. The search engine is
independent of any database. It maintains data that needs to be searched in
collections (the concept of a collection is similar to a database). If there are any
updates to the database, the collection needs to be updated immediately to reflect
the changes.
The Verity search engine has been tightly integrated with the Application Server
for Business Components to search against a vast spectrum of inventory items.
The integration process automatically updates MAXIMO database information
in the Verity collections whenever a modification is made to the MAXIMO
database. Consequently, the Verity collections are always up-to-date.
The Application Server uses two Verity collections to facilitate your search
criteria:
• Item collection - used to search for items and to display the items found.
259
Chapter 12
VERITY CONFIGURATION
During the installation of MAXIMO 4i Release 4.1.1, a VERITY folder is
automatically created under the MXSERVER folder, along with other
subfolders, namely, Collections, Defaultsytles, and K2220.
To start using the Verity search engine, you need to perform the following steps:
1. Build collections.
2. Run Verity as a Windows NT service.
3. Update the collections.
Building Collections
Building a collection means copying all the data from the database into the
Verity collections.
Whenever a collection needs to be created, Verity requires a set of style files to
dictate the rules associated with the collection. The default style files used for
the Item and Category collections are itemstyles (for item styles) and catstyles
260
Verity Search Engine
(for category styles), respectively, and are kept under the <MXSERVER
ROOT>\VERITY\DEFAULTSTYLES folder.
We recommend that you do not make any modifications to the catstyle file,
because in most cases, it doesn’t need them. You may, however, modify the
itemstyle file to include specific item fields that you would like to use for the
search. For details on adding new styles, refer to Adding New Fields to the Item
Collection, later in this section.
To build the Verity collections, perform the following steps from the command
prompt in the <MXSERVER ROOT> folder:
• Run the BULKLOADITEMS.BAT file to build the item collection with data
from the database.
• Run the BULKLOADCATEGORIES.BAT file to build the category
collection with data from the database.
These two batch files reside in the <MXSERVER ROOT> folder and create the
collections under the <MXSERVER ROOT>\VERITY\COLLECTIONS folder
by default. If you want to create the collections in a folder other than the default,
then appropriate arguments should be passed to the batch files. Open the batch
files using Notepad and take a look at the usage.
To access the collections after you build them, you must stop the
searchserverservice (if you are currently using it) and restart it.
261
Chapter 12
1. Specify the path where the common item style files are present. The folder is
PSDI/SEARCH/COMMON and the common item style files are itemstyle
(the item style files) and catstyle (the category style files).
2. Specify the destination folder name where you want the new style files to be
stored.
3. Specify the name of the properties file (in this case
MXSERVER.PROPERTIES). The MXSERVER.PROPERTIES file contains
information about the fields that you want in the Verity collections. The
property that needs to be modified is “mxe.verity.bulkload.field1”, followed
by the values for the item name and the column name from the ITEM table in
the database. You can keep adding new fields but all of them need to be in
continuous incremental order. For example, mxe.verity.bulkload.field1,
mxe.verity.bulkload.field2, etc. After you have added the new item styles,
specify the total number of new styles you created by entering the count in
the property “mxe.verity.bulkload.totalfieldcount=1”. By default, it is 1. For
example, if you have added five new item styles, the property should read
“mxe.verity.bulkload.totalfieldcount=5”.
262
Verity Search Engine
263
Chapter 12
264
Verity Search Engine
For example, the above property indicates that the scheduled task should run
every 10 minutes. You can specify any time interval at which you want the
scheduled task to run.
Whenever the application server is started, the application server program looks
for this property in the properties file and starts the appropriate scheduled task
program. The scheduled program checks for any updates made to the item table
and appropriately changes the Verity collections data.
Whenever changes are made to the item table, the database triggers update the
VERITYACTION table with the appropriate information. The scheduled task
program reads information from the VERITYACTION table and appropriately
updates the Verity collections.
265
Chapter 12
3. From the command prompt in the <MXSERVER ROOT> folder, run the
generateCommodityRestrictions.bat file
4. Shut down the K2Server and edit the K2Server.ini file. Uncomment the
topicset setting for Item and Category Collection.
5. Restart the K2Server.
6. Edit the MXServer.properties file. Change the
mxe.verity.useCommodityRestriction setting to true:
mxe.verity.useCommodityRestriction=true
7. Restart the MXServer (and JSPServer, if the JSPServer is started separately).
Once you have set up the K2Server to use Commodity Restrictions (as described
above), you do not have to shut it down to apply additional changes to the
MAXIMO database regarding user groups and commodity categories (the
MAXGROUPS and COMMODITYAUTH tables). After making the database
changes, run the generateCommodityRestrictions batch file, located in the
<MXSERVER ROOT> folder. The K2Server will automatically detect the
changes.
266
CHAPTER 13
OVERVIEW
This chapter describes some administrative matters regarding the browser-based
MAXIMO Self Service Applications, such as Buyer Requisitions and Work
Requests, which you may have at your site. In the context of this chapter these
browser-based applications will be collectively referred to as MAXIMO Buyer.
Information on using these applications is provided in their online Help.
Some of the administrative procedures described in this chapter require using
SQLTalk to modify the database directly, and some procedures require
modifying .JSP files. The instructions assume you are familiar with viewing,
inserting, and modifying records with SQLTalk, and with editing .JSP files.
The administrative topics covered here include:
• Setting default vendors for items
• Generating autonumbers for special order items
• Changing the automatic time-out periods
• Setting up commodity restrictions
267
Chapter 13
268
Self Service Applications
269
Chapter 13
Now, whenever a user of MAXIMO Buyer requisitions an item for which you
have specified a default vendor, and the Storeroom field on the Buyer requisition
line is not filled in, the default vendor will be listed in the Vendor field.
270
Self Service Applications
To change the time-out period for using MAXIMO Buyer, change the parameter
session.setMaxInactiveInterval(1800) to a different number. The default is
1800 and the field is in seconds. For example, replacing 1800 with 3600 would
increase the time-out period from 1800 seconds (30 minutes) to 3600 seconds
(60 minutes). Change the setting to an identical new value in these three files:
\jsp\common\system\login.jsp
\jsp\app\dr\localinventory.jsp
\jsp\app\dr\reviewreq.jsp
To change the time-out period in place for MAXIMO Buyer while a user is using
marketplace, change session.setMaxInactiveInterval(7200) to a different value
in this file:
\jsp\common\ecatalog\main.jsp
271
Chapter 13
Approach
The default setting for all MAXIMO user groups is that they have no commodity
restrictions—all items in all categories are available to be requisitioned.
If you want to limit the classifications users can order from, you first need to
identify the group or groups for which you want to specify authorizations or
restrictions. Authorizations or restrictions are done by group, and by item
classifications (which are set up via the Asset Catalog Setup application). Note
that any items not classified are available to be ordered by all users.
There are two basic approaches:
Authorize Select a user group and identify the only item classifications from
which group members can order. Use this approach when the list of
classifications or commodities you want to make available is shorter
than the list of unavailable classifications; e.g., if a group can order
from only two of the 20 inventory classifications. Any classification
that is not specifically authorized is therefore restricted—not
available for ordering from.
Restrict Select a user group and identify the item classifications from which
members cannot order. Items in all other classifications would
remain available to be requisitioned. Use this approach when the list
of classifications or commodities you want made unavailable is
shorter than the list of available classifications; e.g., if the group can
order from all but four of the 20 inventory classifications.
272
Self Service Applications
For any one group you can only specify a list of available classifications, or a list
of unavailable classifications. You cannot list some as available for ordering
from, and others as unavailable.
Steps
Restricting groups' requisitioning rights involves making changes to two tables:
MAXGROUPS and COMMODITYAUTH. You may also need to refer to other
tables; for example, the CLASSSTRUCTURE for class structure ID information,
i.e., the identifier of the classification or commodity.
Follow the steps below to authorize a group to requisition only the specified
commodities (item classifications).
1. Start SQLTalk.
2. Display the MAXGROUPS table. The USECOMMODITYAUTH column for
all groups is initially set to N, no.
3. Update the USECOMMODITYAUTH column to Y for the group(s) whose
users you want to either restrict or authorize access to commodities. For
example, if you want to restrict or authorize a group named PURCH3:
update maxgroups set usecommodityauth='Y' where grpname='PURCH3';
4. If you want to authorize commodities, leave the COMMAUTHINCLUDE
column set to Y, the default. If you want to restrict commodities, update the
COMMAUTHINCLUDE column to N, no. For example, to restrict
commodities:
update maxgroups set commauthinclude='N' where grpname='PURCH3';
5. Display the COMMODITYAUTH table.
6. Insert or update rows in the COMMODITYAUTH table as needed. Each row
includes a GRPNAME and a single CLASSSTRUCTUREID; therefore you
273
Chapter 13
274
Self Service Applications
none Prevents the Category Drilldown section on the Search for Items and
Services to Requisition screen from being displayed.
all The Category Drilldown section initially displays all top-level categories
(the default setting).
275
Chapter 13
A-Z The Category Drilldown section initially displays all top-level categories
that begin with the specified letter.
If your site categorizes inventory via the Asset Catalog application and has many
top-level categories, you may want to initially display a top-level category
starting with a specific letter. In this case you would specify the letter, e.g., P if
you wanted Pump to be displayed by default.
If your site does not use the Asset Catalog application to categorize inventory,
you may not want to see the Category Drilldown section at all, since there are no
categories to display. In this case you would specify none.
276
Self Service Applications
The e-commerce transactions that can occur between the buyer and the supplier
include the following:
277
Chapter 13
278
Self Service Applications
279
Chapter 13
Oracle Users
If your site uses the Oracle database platform, you must decide whether you
want to make the ability to search on the Additional Comments fields available
to your users. Upon installation, this feature is not available, as it requires
reconfiguration of the database. You should consider the pros and cons discussed
below in the Considerations section. If you want to make searching via long
description fields available, follow the procedures covered in the Setup section.
280
Self Service Applications
Considerations
The Oracle data type (longvarchar) associated with MAXIMO long description
fields cannot be searched by SQL. The new Database Configuration option
discussed below allows you to change the long description field data type to
varchar; this data type is searchable, but can hold less data than longvarchar.
In deciding whether or not to use the option to convert your Oracle long
description fields’ data type, you need to weigh the advantages versus possible
disadvantages. The advantage is enhanced querying ability. The disadvantage is
a limit on the amount of data long description fields can hold, and the loss of any
existing data that exceeds the limit. You need to consider whether you have any,
or many, long descriptions that contain more than 2K (if you use Oracle 7) or 4K
(Oracle 8) of data. Data exceeding 2K or 4K will be truncated in the long
description fields’ data type conversion.
If you do not want to enable searching on Additional Comments fields, do
nothing.
Setup
If you do want to enable searching Additional Comments (long description)
fields, follow the steps below. Be aware that the conversion will reduce the size
of long description fields to 2K for users of Oracle 7 up to Oracle 8, and to 4K
for users of Oracle 8 and above.
To enable the ability to perform SQL searches on long description fields in
MAXIMO Buyer:
1. In MAXIMO, open the Database Configuration application.
2. Choose Actions/Long Description Search Setup.
3. Check the Enable Long Description Searches check box.
281
Chapter 13
4. Click OK.
If your data will be truncated, you receive a warning message noting that any
long descriptions exceeding 2000 bytes (Oracle 7) or 4000 bytes (Oracle 8)
will be truncated. Click OK to continue. Database Configuration
automatically shuts down and the Data Dictionary is reloaded.
If your data will not be truncated, you receive no message and Database
Configuration shuts down, as above.
5. Configure your database to complete the conversion of the long description
fields' Oracle data type.
For users of Oracle 8 and above, long description fields will be changed to
varchar, 4K characters. For users of Oracle 7i to Oracle 8, long description
fields will be changed to varchar, 2K characters.
You can now search on text in the Description and Additional Comments fields
in the self service applications.
NOTE: If you do not use the Long Description Search Setup action, users
attempting to search on the Additional Comments fields in MAXIMO
Buyer will receive a message noting that the field is not currently
searchable.
282
Self Service Applications
283
Chapter 13
Register Documents
Documents can be registered to the MAXIMO Buyer (Desktop Requisitions)
application so that they are available from within MAXIMO Buyer for linking to
requisition lines. These documents will be displayed in the Document Library on
the MAXIMO Buyer Linked Documents screen. You register documents via the
Document Registration option on the Insert menu of MAXIMO applications that
contain the Linked Documents tab.
A “document” can be either a file or a website URL. The File tab is used
primarily for documents such as CAD drawings and .PDF files located on your
network. The WWW tab is used to attach a URL address from the Internet. Both
will be displayed in the Document Library by document type.
A copy of all registered documents that you want available for use in MAXIMO
Buyer must be located in the default directory as specified for that document
type in MAXIMO.
MXServer-Based Setup
You also need to do some setup work within the root directory of the MXServer
machine.
284
Self Service Applications
285
Chapter 13
</Context>
<Context path="/DOCLINKS/PERMITS"
docBase="S:/DOCLINKS/PERMITS" debug="0" reloadable="true" >
</Context>
286
Self Service Applications
287
Chapter 13
288
Self Service Applications
• Editing Files (page 306) – This section describes detailed edits required for
the SERVER.XML, WORKERS.PROPERTIES, and
URIWORKERMAP.PROPERTIES files.
Registry Changes
The following section describes how to edit (if necessary) the
IIS-TOMCAT.REG file, located in the APACHE folder of your CD, and how to
place this file into your registry.
1. Copy the IIS-TOMCAT.REG file, found on either the Release 4.1.1
Self-Service Requisitions CD or Release 4.1.1 Self-Service Work Requests
CD, to the C:\temp folder where C is the letter on your local drive.
2. Right-click on the IIS-TOMCAT.REG file in your C:\temp folder. Click Edit.
If you installed Self-Service Requisitions and/or Self-Service Work Requests
to the default MXSERVER folder (in bold), no editing changes are necessary.
Go directly to step 4.
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta
Isapi Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="c:\\mxserver\\logs\\isapi.log"
"log_level"="info"
"worker_file"="c:\\mxserver\\conf\\workers.properties"
"worker_mount_file"="c:\\mxserver\\conf\\uriworkermap.properties
"
289
Chapter 13
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="c:\\mxserver411\\logs\\isapi.log"
"log_level"="info"
"worker_file"="c:\\mxserver411\\conf\\workers.properties"
"worker_mount_file"="c:\\mxserver411\\conf\\uriworkermap.
properties"
290
Self Service Applications
Figure 13.1 Registry Editor displaying String Values for 1.0 Folder
291
Chapter 13
2. Expand the folder tree of the Internet Information Server until you reach the
Default Web Site.
292
Self Service Applications
293
Chapter 13
294
Self Service Applications
b. For the Physical Path, enter the path to the folder where isapi_redirect.dll
was installed (in our example it is c:\mxserver\conf). Click Next.
295
Chapter 13
c. For Access privileges, check Allow Execute Access (Read and Script
Access should also be checked by default). Click Finish.
296
Self Service Applications
4. Select the Default Web Site folder again and choose Action/New/Virtual
Directory to start the New Virtual Directory Wizard. Add a virtual directory
for where mxserver is located:
a. For the Alias, enter any name (e.g., mxserver411). Be certain to note the
name you have used, as it will need to be re-entered in the next section.
Click Next.
297
Chapter 13
b. For the Physical Path, enter the path to mxserver (in our example,
c:\mxserver). Click Next.
298
Self Service Applications
c. For access privileges, check Allow Execute Access (Read and Script
Access should also be checked by default). Click Finish.
299
Chapter 13
a. Right-click the Default Web Site folder and choose Properties, then the
Documents tab.
300
Self Service Applications
b. Click the Add button to open the Add Default Document dialog box. In the
Default Document Name field, enter index.html and click OK.
301
Chapter 13
6. Add the redirect file isapi_redirect.dll as a filter in your IIS web site:
a. Right-click the Default Web Site folder, choose Properties, then the ISAPI
Filters tab.
302
Self Service Applications
b. Click Add to open the Filter Properties dialog box. Enter a Filter Name.
The name of the filter should reflect its task (for example, the name
mxserver).
c. In the Executable field, enter the path to the redirect file (in our example,
c:\mxserver\conf\isapi_redirect.dll).
7. Click OK. Click Apply. Click OK.
303
Chapter 13
304
Self Service Applications
Figure 13.15 ISAPI Filters Dialog Box (with red down arrow)
9. After restarting the IIS service, redisplay the ISAPI Filters tab and check to
make sure that the jakarta filter is marked with a green up-pointing arrow.
If a red, down arrow is displayed, highlight it as indicated in Figure 13.15 and
click Remove.
305
Chapter 13
Editing Files
In order to complete this configuration, the following files must be edited as
described in this section:
• SERVER.XML (step 1 and step 2)
• WORKER.PROPERTIES (step 3)
• URIWORKERMAP.PROPERTIES (step 4)
1. In the SERVER.XML file in the <mxserver root>\conf folder, change the
number of the default port Tomcat uses. The default is 80.
The following shows the section from this file (under Connectors) where you
will change the port. The bold text indicates the changed value from 80 to
another number (e.g., 8080).
<!-- Normal HTTP -->
<Connector
className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port"
value="8080"/> 80 changed to 8080
</Connector>
2. Also in the SERVER.XML file, edit the Context path line as indicated below.
The default for this line contains no value (<Context path= "/" ). The
bold text indicates the inserted value that must agree with the alias entered in
Figure 13.7.
<Context path="/mxserver411" enter the exact same value
docBase="/" (e.g., mxserver411)as the
crossContext="gsldrz" alias entered in Figure 13.7
debug="0"
reloadable="true"
trusted="false”>
</Context>
306
Self Service Applications
where hostname is the name of the server running IIS and mxserver.
4. In the URIWORKERMAP.PROPERTIES file (in the <mxserver root>\conf
folder). Make the lines in your file match the two edited lines shown here in
bold.
# Simple worker configuration file
#
307
Chapter 13
6. Stop, then start the IIS service again. After restarting the IIS service, go to the
ISAPI Filters tab, as you did earlier, and verify that the jakarta filter is
marked with a green up-pointing arrow.
You can now run the Tomcat JSP Server with IIS.
To run the Self Service applications from your browser, enter the name of the
Application Server as the URL. For example:
308
APPENDIX A
OVERVIEW
MAXIMO application tabs include hidden fields which can be used to customize
an application for a company’s specific needs. Using the Object Nationalizer
screen editor (discussed in Chapter 3), you can make these hidden fields visible
and move them to an appropriate location on the tab.
NOTE: In Object Nationalizer, hidden field titles are by default the same as
the database column names. The object name for a field is the column
name preceded by “f” or a combination of “f” and another prefix,
depending on the form. To view a field’s object name in Object
Nationalizer, right-click the field and choose Properties/Object Name.
To change a field’s title, right-click the field title, choose
Properties/Object Title, and edit the title.
The hidden fields listed in the following Crossover Tables have been
programmed to be linked to other hidden fields on other tabs. These hidden
fields are crossover fields.
Crossover fields allow you to link data between certain applications. For
example, when you enter an equipment record on the Work Order tab, the data in
hidden fields EQ1 through EQ12 on the Equipment tab will automatically be
309
Appendix A
transferred to hidden fields WOEQ1 through WOEQ12 on the Work Order tab.
Using this linkage, you might customize your system so that the data in a field
which you have added to the Equipment tab by unhiding it (e.g., EQ5) is
transferred and displayed in a field you have unhidden on the Work Order tab
(e.g., WOEQ5).
Reserved fields are hidden fields (regular and crossover) that may be needed to
integrate additional MAXIMO products. As explained later in this appendix, you
should not use reserved fields to customize MAXIMO unless you are certain you
will not subsequently need them for an integration product.
310
Crossover Fields and Reserved Fields
When adding fields to any of your tabs, you can look over these tables to see if
there are particular hidden fields—crossover fields—that may be useful in terms
of linking data to other applications, or that you may want to avoid.
EQUIPMENT PM WORKORDER
EQ9 > PMEQ1 > WOEQ9
EQ23 > PMEQ2 > WOEQ13
EQ24 > PMEQ3 > WOEQ14
311
Appendix A
PR PO
PR1 > PO1
PR2 > PO2
PR3 > PO3
PR4 > PO4
PR5 > PO5
PR6 > PO6
PR7 > PO7
PR8 > PO8
PR9 > PO9
PR10 > PO10
PR RFQ
PR1 > RFQ1
PR2 > RFQ2
PR3 > RFQ3
PR4 > RFQ4
PR5 > RFQ5
PR6 > RFQ6
PR7 > RFQ7
PR8 > RFQ8
PR9 > RFQ9
PR10 > RFQ10
312
Crossover Fields and Reserved Fields
PRLINE RFQLINE
RL1 > RFQL1
RL2 > RFQL2
RL3 > RFQL3
RL4 > RFQL4
RL5 > RFQL5
RLIN1 > RFQLIN1
RLIN2 > RFQLIN2
RLIN3 > RFQLIN3
RLIN4 > RFQLIN4
RLIN5 > RFQLIN5
RFQLINE QUOTATIONLINE
RFQL1 > QL1
RFQL2 > QL2
RFQL3 > QL3
RFQL4 > QL4
RFQL5 > QL5
313
Appendix A
POLINE INVOICELINE
PLIN1 > INVOICELIN1
PLIN2 > INVOICELIN2
PLIN3 > INVOICELIN3
PLIN6 > INVOICELIN6
PLIN7 > INVOICELIN7
PLIN8 > INVOICELIN8
PLIN9 > INVOICELIN9
314
Crossover Fields and Reserved Fields
POLINE SERVRECTRANS
PLIN1 > SSPL1
PLIN2 > SSPL2
PLIN3 > SSPL3
PLIN6 > SSPL4
PLIN7 > SSPL5
PLIN8 > SSPL6
PLIN9 > SSPL7
315
Appendix A
PM WORKORDER
PM6 > WOPM1
PM7 > WOPM2
PM8 > WOPM3
PM9 > WOPM4
PM10 > WOPM5
PM17 > WOPM6
PM18 > WOPM7
JOBOPERATION WPOPERATION
JO1 > WPO1
JO2 > WPO2
JO3 > WPO3
JO4 > WPO4
JO5 > WPO5
JO6 > WPO26
JO7 > WPO27
JO8 > WPO28
316
Crossover Fields and Reserved Fields
JOBPLAN PM WORKORDER
JP6 > PMJP1 > WOJP1
JP7 > PMJP2 > WOJP2
JP8 > PMJP3 > WOJP3
JP9 > PMJP4 > WOJP4
JP10 > PMJP5 > WOJP5
JP11 > PMJP6 > WOJP6
JP12 > PMJP7 > WOJP7
JP13 > PMJP8 > WOJP8
JP14 > PMJP9 > WOJP9
JP15 > PMJP10 > WOJP10
317
Appendix A
LABOR LABTRANS
LA14 > LTL1
LA15 > LTL2
LA16 > LTL3
LABOR WORKORDER
LA17 > WOL1
LA18 > WOL2
LA19 > WOL3
LA20 > WOL4
LABORCODE > WOLABLNK
LABOR MR PR
LA21 > MRLA1 > PRLA1
LA22 > MRLA2 > PRLA2
LA23 > MRLA3 > PRLA3
LA24 > MRLA4 > PRLA4
LA25 > MRLA5 > PRLA5
MRLINE PRLINE
MRLALN1 > PRLALN1
MRLALN2 > PRLALN2
MRLALN3 > PRLALN3
MRLALN4 > PRLALN4
MRLALN5 > PRLALN5
318
Crossover Fields and Reserved Fields
PRLINE POLINE *
PRLALN1 > POLALN1
PRLALN2 > POLALN2
PRLALN3 > POLALN3
PRLALN4 > POLALN4
PRLALN5 > POLALN5
* The PRLINE to POLINE crossovers occur when the PRLINE extra field is not
null.
PR POLINE **
PRLA1 > POLALN1
PRLA2 > POLALN2
PRLA3 > POLALN3
PRLA4 > POLALN4
PRLA5 > POLALN5
WOASSIGNMNTQUEUE WORKORDER
WQ1 > WOWQ1
WQ2 > WOWQ2
WQ3 > WOWQ3
319
Appendix A
320
Crossover Fields and Reserved Fields
COMPANIES INVVENDOR
CO11 > IVCO1
CO12 > IVCO2
CO13 > IVCO3
COMPANIES INVOICE
CO14 > INVOICE6
CO15 > INVOICE7
CO16 > INVOICE8
CO17 > INVOICE9
CO18 > INVOICE10
321
Appendix A
MEASUREPOINT MEASUREMENT
MP6 > MSMP1
MP7 > MSMP2
MP8 > MSMP3
MP9 > MSMP4
MP10 > MSMP5
LOCOPER WORKORDER
FLO1 > WOLO1
FLO2 > WOLO2
FLO3 > WOLO3
FLO4 > WOLO4
FLO5 > WOLO5
FLO6 > WOLO6
FLO7 > WOLO7
FLO8 > WOLO8
FLO9 > WOLO9
FLO10 > WOLO10
ASSETATTRIBUTE CLASSSPEC
AA01 > CS01
AA02 > CS02
AA03 > CS03
AA04 > CS04
AA05 > CS05
322
Crossover Fields and Reserved Fields
CLASSSPEC LOCATIONSPEC
CS01 > LS01
CS02 > LS02
CS03 > LS03
CS04 > LS04
CS05 > LS05
CLASSSPEC EQUIPMENTSPEC
CS01 > ES01
CS02 > ES02
CS03 > ES03
CS04 > ES04
CS05 > ES05
CLASSSPEC ITEMSPEC
CS01 > IS01
CS02 > IS02
CS03 > IS03
CS04 > IS04
CS05 > IS05
323
Appendix A
HAZARD WOHAZARD
HAZ01 > HAZ01
HAZ02 > HAZ02
HAZ03 > HAZ03
HAZ04 > HAZ04
HAZ05 > HAZ05
HAZ06 > HAZ06
HAZ07 > HAZ07
HAZ08 > HAZ08
HAZ09 > HAZ09
HAZ10 > HAZ10
HAZ11 > HAZ11
HAZ12 > HAZ12
HAZ13 > HAZ13
HAZ14 > HAZ14
HAZ15 > HAZ15
HAZ16 > HAZ16
HAZ17 > HAZ17
HAZ18 > HAZ18
HAZ19 > HAZ19
HAZ20 > HAZ20
324
Crossover Fields and Reserved Fields
PRECAUTION WOPRECAUTION
PREC01 > PREC01
PREC02 > PREC02
PREC03 > PREC03
PREC04 > PREC04
PREC05 > PREC05
PREC06 > PREC06
PREC07 > PREC07
PREC08 > PREC08
PREC09 > PREC09
PREC10 > PREC10
TAGOUT WOTAGOUT
TAG01 > TAG01
TAG02 > TAG02
TAG03 > TAG03
TAG04 > TAG04
TAG05 > TAG05
TAG06 > TAG06
TAG07 > TAG07
TAG08 > TAG08
325
Appendix A
TAGLOCK WOTAGLOCK
TL01 > TL01
TL02 > TL02
TL03 > TL03
TL04 > TL04
TL05 > TL05
TL06 > TL06
TL07 > TL07
TL08 > TL08
TL09 > TL09
TL10 > TL10
LOCKOUT WOLOCKOUT
LCK01 > LCK01
LCK02 > LCK02
LCK03 > LCK03
LCK04 > LCK04
LCK05 > LCK05
LCK06 > LCK06
LCK07 > LCK07
LCK08 > LCK08
LCK09 > LCK09
LCK10 > LCK10
326
Crossover Fields and Reserved Fields
SAFETYLEXICON WOSAFETYLINK
SL01 > WOSL01
SL02 > WOSL02
SL03 > WOSL03
SL04 > WOSL04
SL05 > WOSL05
SAFETYPLAN WOSAFETYPLAN
SP01 > SP01
SP02 > SP02
SP03 > SP03
SP04 > SP04
SP05 > SP05
SP06 > SP06
SP07 > SP07
SP08 > SP08
SP09 > SP09
SP10 > SP10
SP11 > SP11
SP12 > SP12
SP13 > SP13
SP14 > SP14
SP15 > SP15
327
Appendix A
ROUTE_STOP WORKORDER
RTS1 > WORTS1
RTS2 > WORTS2
RTS3 > WORTS3
RTS4 > WORTS4
RTS5 > WORTS5
RESERVED FIELDS
Reserved fields are hidden fields whose database columns are used by various
MAXIMO application programming interfaces (APIs). For example, there are
APIs that enable you to integrate MAXIMO with Oracle Financials, PeopleSoft,
and SAP business applications. Reserved fields may be regular fields or
crossover fields.
We strongly recommend that you do not use reserved fields to customize
MAXIMO unless you are certain you will not need those fields in the future for
integration with another product. For example, if you are committed to Oracle
Financials, you could use IN5 to customize MAXIMO, but not IN11, which is
required by the Oracle Financials API. If you use a reserved field for
customizing, and you subsequently purchase an integration API product that uses
it, you will have to move the reserved field’s data to another column before
implementing the API.
The following table lists reserved fields by database table and by product. The
table lists all crossover fields, but you should refer to the Crossover Fields
section, earlier in this appendix, to see the crossover relationships.
The Ariba integration is not listed in this table. It uses one field in the
COMPANIES table: MNETECOMNUM1.
328
Crossover Fields and Reserved Fields
The fields listed under Oracle are for integrating with Oracle Financials, except
those followed by an asterisk (*), which are for Oracle Projects. Fields with two
asterisks (**) are used for integrating with both Oracle products. Fields listed
under PeopleSoft followed by an asterisk (*) are for PeopleSoft Projects.
FIELDS
TABLE Oracle SAP PeopleSoft
COMPANIES CO1 CO1
CO2
CO12
CO13
EQUIPMENT EQ10 *
INVBALANCES IB1
INVENTORY IL1
IL2
IL3 **
IL10
INVOICE INVOICE1
INVOICELINE INVOICELIN1
INVOICELIN2 * INVOICELIN2
INVOICELIN3 INVOICELIN3
329
Appendix A
FIELDS
TABLE Oracle SAP PeopleSoft
INVVENDOR IVCO2
IVCO3
ITEM IN1
IN5
IN6
IN7
IN11
IN12
IN13
IN14
IN19
IN20
IN21 IN21
IN22 IN22
IN23
LABOR LA16 *
LABTRANS LT8 *
330
Crossover Fields and Reserved Fields
FIELDS
TABLE Oracle SAP PeopleSoft
MATUSETRANS/ IT1
MATRECTRANS
IT2 * IT2
IT3 * IT3 IT3
IT4 IT4 IT4
IT5 IT5 IT5
ITIN1
ITIN2
ITIN3 ITIN3
PO PO1
PO3
PO5
PO6
PO7
PO8
PO9
POLINE PL1
PL2 * PL2
PL3 PL3
PL4 PL4 PL4
PL5 PL5 PL5
PLIN1
PLIN2
331
Appendix A
FIELDS
TABLE Oracle SAP PeopleSoft
PLIN3 PLIN3
PLIN4 PLIN4 PLIN4
PLIN5
PR PR1
PR3
PR6
PR7
PR8
PR9
PRLINE RL1
RL2 * RL2
RL3 RL3
RL4 RL4 RL4
RL5 RL5 RL5
RLIN1
RLIN2
RLIN3 RLIN3
RLIN4 RLIN4 RLIN4
RLIN5
332
Crossover Fields and Reserved Fields
FIELDS
TABLE Oracle SAP PeopleSoft
QUOTATIONLINE QL1
QL2
QL3 QL3
QL4 QL4 QL4
QL5 QL5 QL5
RFQ RFQ1
RFQ3
RFQ6
RFQ7
RFQ8
RFQ9
RFQLINE RFQL1
RFQL2
RFQL3 RFQL3
RFQL4 RFQL4 RFQL4
RFQL5 RFQL5 RFQL5
RFQLIN1
333
Appendix A
FIELDS
TABLE Oracle SAP PeopleSoft
SERVRECTRANS SSPL1
SSPL2
SSPL3 SSPL3
TOOL TL3 *
TOOLTRANS TT2 *
TT3 *
334
APPENDIX B
MAXIMO.INI
335
Appendix B
[MAXIMO]
maxini=x:\path
where x:\path is the drive and path where your MAXIMO.INI file is located.
The MAXIMO.INI parameters are described below. Unless otherwise specified,
all parameters are listed with their default values. If a parameter is not present in
MAXIMO.INI, its default value will be used.
Parameters that can be represented as True/False, Yes/No, or Enabled/Disabled
use the values 1 and 0, where 1 means True/Yes/Enabled and 0 means
False/No/Disabled. For example, Tooltips = 1 means that the tooltips option is
enabled. (You can also use the values Y and N instead of 1 and 0 if you prefer.)
336
MAXIMO.INI
[SYSTEM]
Items in this section define system-wide parameters.
Database=MAXIMO
Specifies the value displayed in the Database field of the Login dialog box. Any
valid database name may be used.
Username=MAXIMO
Specifies the value displayed in the User field of the Login dialog box. Any valid
user name may be used. If there is no entry in MAXIMO.INI, there will be no
default user name during database login.
IconFont=SMALL,BOLD
Specifies the font used for text under the icons on the Main Menu. Valid values
are SMALL, MEDIUM, LARGE, and BOLD. Values may be combined together
in a comma-separated list.
Logfile=maximo.log
Specifies the file to which MAXIMO error diagnostics are written. Any valid
DOS file name may be used. If no folder is specified, the current working folder
is used.
DeleteLogfile=1
Indicates whether the previous log file should be deleted each time MAXIMO is
started. If the log file is not deleted at start-up, diagnostics from the current
MAXIMO session are appended to the log file. Valid values are 0 and 1.
FullErrors=0
Indicates whether MAXIMO should display complete SQL error messages
whenever a SQL error is encountered. If full errors are not displayed, only the
error number and a brief error description are given when an error occurs. If full
errors are displayed, the offending piece of SQL code is displayed along with the
error number and a brief description of the problem. Valid values are 0 and 1.
337
Appendix B
MessageFile=maximo.msg
Specifies the name and location of the MAXIMO message file. Any valid DOS
file name may be entered. The file must be accessible from the user’s path if a
full path is not entered.
SkipReadonly=1
Indicates whether read-only fields should be skipped when tabbing through
fields on MAXIMO screens. Valid values are 0 and 1.
SkipEnteredFieldsOnInsert=0
Specifies whether read-only fields are skipped when advancing through fields in
Insert mode. In table windows, if there are no blank columns before or after the
current column, the current row is highlighted and the next tab takes the focus
away from the table window to the next control.
Timeout=60
Indicates the number of seconds to wait before logging off an inactive user.
Valid values are -1 and any number greater than or equal to 10. If -1 is entered
inactive users will not be logged off.
DisableLoadMessages=0
Indicates whether start-up messages should be disabled. Valid values are 0 and 1.
The default is 0. If the value is 1, MAXIMO will be started in a minimized state
and start-up messages will not be displayed. Setting the value to 1 is primarily
intended for use when you have set the Windows option for automatic (via
parameters) MAXIMO login.
DisableMainMenuIcons=0
Indicates whether the disabled bitmap should be placed over Main Menu icons
when modules are disabled. Valid values are 0 and 1.
DisableSmartLookup=0
Specifies whether a value list of valid choices is displayed when you attempt to
exit a field containing invalid data. The default is 0.
338
MAXIMO.INI
DataDictionaryPath=c:\maximo
Specifies the path to the local data dictionary (.DD) file. The default is the folder
that contains the MAXIMO DLL. DDQuickLoad must be enabled through
Database Configuration in order for this to work.
IconPath=c:\maximo
This parameter applies to icons assigned to modules and applications in the
Application Bar and the Status Bar. The IconPath parameter specifies the folder
that contains the MAXIMO icon files. This parameter is necessary only if you
modify standard MAXIMO icons. The default folder is the folder where
MAXIMO is installed.
MAXIMO checks the folder for an icon that matches the name of the
application's or the module's executable file. If the bitmap is found in the folder,
it is used. Otherwise, MAXIMO uses the icon that is compiled into the
application.
BitmapPath=c:\maximo
Specifies the folder that contains the MAXIMO bitmap files. This parameter
applies to bitmaps assigned to modules and applications in the Main Menu. The
default is the folder where MAXIMO is installed.
MAXIMO checks the specified folder for a bitmap that matches the name of the
application’s or the module’s executable file. If the bitmap is not found in the
folder, MAXIMO uses the bitmap that is compiled into the application.
CaseSensitiveQuery=UPPERONLY
Specifies which query type to use when retrieving records from the database.
Case insensitivity is implemented such that the system runs an uppercase
function on both the contents of the fields being used in the query and on the
fields in the database. Using this method, the screen fields and the database
fields are changed to uppercase before being compared.
Doing a case-insensitive query is the most flexible way of querying the database
since you don’t have to know how the data was entered (uppercase, lowercase,
or mixed case) in order to query the data. One important thing to remember is
339
Appendix B
that if there is an index on a field being used in the query and the uppercase
function is performed on it, the index is not used when the database is searched.
There are, therefore, some performance tradeoffs that must be considered in
determining which query type to use. The default query type is UPPERONLY.
Valid values are:
ALL – performs a case-sensitive search for all fields. The uppercase function
is not run on any of the fields. This is the fastest way to perform a search
if case does not matter to your application.
NONE – performs case-insensitive searching. The uppercase function is run
on all the fields. This is the most flexible way to search for data.
UPPERONLY – performs case-sensitive searching for uppercase fields only.
The uppercase function is run on all fields except the ones with a type of
UPPER (such as key fields). This works the same as NONE as long as all
UPPER type fields have uppercase data in them (which would be so if
they were entered through MAXIMO). This choice provides the most
searching flexibility with improved performance.
CaseSensitiveFilter=0
Indicates whether the Key Filter field entries on dialog boxes are case sensitive.
Valid values are 0 and 1. The default is 0.
Doublebyte=0
Specifies whether to use the SYSTEM font on the MAXIMO Main Menu
buttons and on the MDI window status bar. This option should only be used with
double-byte operating systems (e.g., Japanese Windows). Valid values are 0
and 1.
Autotabs=0
Specifies whether automatic tabbing to the next field should occur when a field
has been filled with data. This applies only to data fields on forms. Valid values
are 0 and 1.
340
MAXIMO.INI
Mail=0
Specifies the Mail software system MAXIMO uses to mail reports. Valid values
are 0 for no mail, and NOTES for Lotus Notes. The default is 0.
MAXIMOBarSize=72
Specifies the width, in pixels, of the Application Bar. The default size is set to
72 pixels. The Application Bar size has a minimum size of 10 pixels and a
maximum size of 200 pixels. If you enter a pixel size less than 0, the Application
Bar does not appear by default. If the Application Bar size is less than 10, the
default size of 72 is used. If the size is greater than 200, then the default
maximum size of 200 is used.
MaxAutoRetries
Specifies the maximum number of attempts that MAXIMO will make to
automatically retry deadlocked transactions. If the transaction cannot be retried,
the standard error dialog box will be displayed. N must be greater than 0 to
enable the Auto Retry feature. The recommended setting is 3.
Note that all MAXIMO errors, including deadlocks, are written to
MAXIMO.LOG.
Schema
Specifies whether multiple MAXIMO databases can be created by authorized
users (assuming they have all necessary authority) other than MAXIMO. To use
this setting, you must first unhide the Schema field in the Login dialog box. The
Schema field contains a value that represents the user who created the database
that you are connecting to. When you log into MAXIMO, the system reconnects
as the Schema Owner instead of as MAXIMO. The default schema is MAXIMO.
This section was added for those clients running on MS SQL Server or Oracle
who want to have multiple MAXIMO databases on a single server but have
problems when changing the MAXIMO password. When there are multiple
MAXIMO databases on a single server, only the maxencrypt table of the current
connected database gets updated. Anyone who tries to log in to other databases
341
Appendix B
cannot because the decrypted MAXIMO password does not match the MAXIMO
login password.
NOTE: When you create a shortcut for an application in MAXIMO, you can
bypass having MAXIMO display the login dialog box by entering the
following command line parameters for your shortcut:
FaxLibrary=MAXFAX.DLL
Specifies the DLL file and/or path that will be used as the MAXIMO FAX
routing library. The default library is MAXFAX.DLL in the folder where
MAXIMO is installed. MAXFAX.DLL enables MAXIMO to work with
Symantec’s WinFax PRO.
FaxRouting=1
Indicates whether FAX routing within a report is enabled. Valid values are 0 and
1 (the default). If this setting is set to 0 and a report is later found to contain
FAX routing instructions, an error message will be displayed and the routing
process will be halted.
ForeignClick=0
Determines the action when a user clicks on the Detail button in a foreign key
field. Valid values are 0 (for a dynamic value list) and 1 (for true foreign
keying). The default is 0.
Tooltips=1
Indicates whether tooltips will be displayed. Valid values are 0 and 1.
342
MAXIMO.INI
[4iLOOK]
The following options enable the new 4i Look & Feel. (To set color options for
the old Look, refer to the [COLORS] section in this appendix.)
DEFAULTMAINMENU=1
The default; enables the new 4iLook for the Main Menu (except for the menu
bar). Specify 0 to use the older client/server Look.
ENABLE4iLOOK=1
The default; enables the new 4iLook for applications and for the menu bar at the
top of the Main Menu. Specify 0 to use the older client/server Look.
Customizing options are listed below (not applicable if ENABLE4iLOOK=0).
NOTES: Color values R,G, B represent color codes: R=Red, G=Green, and
B=Blue. Parameters that can be represented as True/False, Yes/No, or
Enabled/Disabled use the values 1 and 0, where 1 means
True/Yes/Enabled and 0 means False/No/Disabled.
Font characteristics:
MENUFONTBOLD=0 Bold
MENUFONTITALIC=0 Italic
MENUFONTHEIGHT=12 Height
MENUFONTWIDTH=6 Width
MENUFONTNAME=MS Sans Serif Font name.
343
Appendix B
Font characteristics:
4iQCKBARMODULEFONTNAME=Verdana Font name used for
Module text
4iQCKBARMODULEFONTITALIC=0 Italic font for Module text
4iQCKBARMODULEFONTHEIGHT=12 Font height of Module text
4iQCKBARMODULEFONTWIDTH=8 Font width of Module text
4iQCKBARFONTNAME=Verdana Font name used for
4iQuickAccessBar
344
MAXIMO.INI
SHOWCAPTION=1
The default; specifies that window title bars appear in applications and on the
Main Menu. SHOWCAPTION=0 disables the window title bars only when
ENABLE4iLOOK=1. Customizing options are listed below (not applicable if
SHOWCAPTION=0).
Font characteristics:
CAPTIONFONTBOLD=1 Bold
CAPTIONFONTITALIC=1 Italic
CAPTIONFONTHEIGHT=15 Height
CAPTIONFONTWIDTH=8 Width
CAPTIONFONTNAME=MS Sans Serif Font Name
[APPSERVER]
Items in this section list application server database settings for the MAXIMO
application server. If MXServer is connected to the same database as MAXIMO,
there should be an entry under [AppServer].
<database>=<hostname>/<mxserver name>
345
Appendix B
[ARCHIVE]
This section defines parameters used when running Archive.
ArchPath=c:\archive
Specifies the folder used to load and unload archive data. Archived data is sent
to this folder. Data is read from this folder during a restore. Any valid DOS path
may be entered. The default is the root of the current drive.
[AUCTION]
FilePath =C:\MAX411\AuctionXML
Specifies the folder location where the RFQ offering XML files are stored.
LibPath = C:\MAX411\bin;C:\maximo\lib
Specifies the folder location of the Java auction library files.
OfferingNotify =C:\MAX411\AuctionClasses\OfferingNotify.txt
Specifies the folder location of the user-modifiable offering notification e-mail
letter. This text message will be e-mailed to each company contact displayed in
the Vendors tab of an RFQ being posted online.
PrivateNotify =C:\MAX411\AuctionClasses\PrivateNotify.txt
Specifies the folder location of the user-modifiable private offering notification
e-mail letter. This text message will be e-mailed to each company contact
displayed in the Vendors tab of an RFQ being posted online.
346
MAXIMO.INI
[COLORS]
Items in this section define the colors used in MAXIMO fields and in the
MAXIMO screen list for the 4.x Look.
Colors may be specified using the predefined colors in the list that follows, or an
RGB value. Predefined colors and RGB values can be mixed (e.g.,
COLOR_RDONLY = GREEN, 0 100 100, BLUE).
WHITE = 255 255 255
BLACK = 000
RED = 255 0 0
GREEN = 0 255 0
BLUE = 0 0 255
CYAN = 0 255 255
MAGENTA = 255 0 255
YELLOW = 255 255 0
GRAY = 128 128 128
LTGRAY = 192 192 192
Each entry in this section specifies three colors:
1. Text color when the field is not active (i.e., the cursor is not in the field)
2. Background color when the field is active (i.e., the cursor is in the field)
3. Text color when the field is active (i.e., the cursor is in the field)
NOTE: When a field is not active (i.e., the cursor is not in the field), its
background color is always white.
347
Appendix B
Fields with multiple attributes, e.g., read-only and required fields, are evaluated
in the following order for color determination:
1. Read-only
2. Long Description fields—includes long description fields on screens and in
long description dialog boxes
3. Required fields
4. Standard fields
You can specify colors for only those fields whose defaults you want to override.
That is, you can define colors for required fields only, and the default colors will
still be used for all other fields. Evaluation order, though, will not change.
If fewer than three color choices are entered, only those entered take effect. For
example, if you only specify the color for the inactive text, only that value
overrides the default.
NOTE: Not all colors can be used for text display. Windows will approximate
the nearest color. Also, colors may not be represented the same on different
monitors.
348
MAXIMO.INI
[DDESERVER]
Items in this section define parameters used to set up the MAXIMO DDE server.
DDE (dynamic data exchange) is a message protocol that allows Windows
applications to exchange data. The standard MAXIMO setup does not need the
DDE server enabled.
Enabled=0
Specifies whether the DDE server should be loaded. Valid values are 0 and 1.
The default is 0. If the DDE server is not loaded, MAXIMO will have no DDE
server functionality.
Library=C:\MAXIMO\MXDDESRV.DLL
Specifies the DLL file and/or path that will be used as the MAXIMO DDE
server. The default library is MXDDESRV.DLL in the folder where the main
MAXIMO DLL file (MLIBnnnn.DLL) is located.
[DMS]
Items in this section define parameters used to set up a third party document
management system that can be used with MAXIMO. To enable a DMS, you
must provide the name and path of the MAXIMO document management library
and the third party DMS.
The Library parameter points to the .DLL that is used by MAXIMO to connect
to the DMS; the DMSLibrary enables print control for the DOCS OPEN v3.7
package. The DMSLibrary parameter does not apply to other document
management systems.
349
Appendix B
Enabled=0
Specifies whether the DMS will be loaded. The default value is 0; no DMS will
be used.
Library=C:\MAXIMO\MAXDMS.DLL
Specifies the location and name of the MAXIMO DMS library. If there is no
parameter, the DMS library is assumed to be in the folder where MAXIMO is
installed.
DMSLibrary=C:\DOCSOPEN\PROGS\DOCSAP32.DLL
Specifies the full path to the third party DMS library. If you created your own
MAXDMS.DLL, you can omit this entry.
[DRILLDOWN]
Items in this section define parameters that control the character used as a
delimiter in the outline section of the equipment or location drilldown. Usually,
you change these parameters only if you are using a multibyte version of
Windows (e.g., Japanese, Korean, or Chinese).
DelimiterType=173
Specifies the ASCII value of the character used as a delimiter in the outline
section of the equipment or location drilldown. Valid values are any numbers
between 1 and 255. The default is 173 (an ASCII em-dash). For example, in the
following drilldown entry, the characters between the equipment number and the
location, and the location and the description, are controlled by the
DelimiterType:
350
MAXIMO.INI
DelimiterNumber=3
Specifies the number of DelimiterType characters used in the delimiter in the
outline section of the equipment or location drilldown. The default is 3.
[FORMATS]
The items in this section define the different validation formats used throughout
MAXIMO.
DateOnEntry=SHORTDATE
Defines the date format used when a user enters a field, either by clicking on the
field or tabbing to the field. The valid values are:
SHORTDATE—refers to the short date format specified in the Windows
Control Panel’s Regional Settings application. MAXIMO will use this
format to display the date.
YYMMDD—nonseparated German format. The short date format in the
Windows Control Panel’s Regional Settings application must have the
same general ordering—yy-M-d or yyyy-M-dd, for example, but not M-d-
yy. MAXIMO will then ignore the Regional Settings short date and use
YYMMDD instead.
Any other format that uses the same ordering for the date as the short date
format specified in the Windows Control Panel’s Regional Settings
application. For example, if the short date order is set to M-d-y,
DateOnEntry could be MM-dd-yy, MM-dd-yyyy, or MMM-d-yyyy, but
not yy-MM-dd.
DateDisplay=SHORTDATE
Defines the date format used when focus is not in the field, i.e., the cursor is not
in the field. The valid values are:
SHORTDATE—refers to the short date format specified in the Windows
Control Panel’s Regional Settings application. MAXIMO will use this
format to display the date.
351
Appendix B
Time_Minutes=1
Specifies whether minutes should be displayed in MAXIMO time fields. Valid
values are 0 and 1.
Time_Seconds=0
Specifies whether seconds should be displayed in MAXIMO time fields. Valid
values are 0 and 1.
Time_Microsecs=0
Specifies whether microseconds should be displayed in MAXIMO time fields.
Valid values are 0 and 1.
[INVOICE]
Items in this section define parameters used when working with Invoices in
MAXIMO.
PrintApprovalForm=0
Specifies whether or not a check mark appears in the Print Approval Form(s)
check box in the Wait Approval dialog box. A value of 1 means the box will be
checked and the approval form(s) will be printed. A value of 0 (the default)
352
MAXIMO.INI
means the box will not be checked and the approval form(s) will not be
automatically printed.
CreateUnapprovedReceipt=0
Specifies whether or not a check mark appears in the Create Unapproved Receipt
check box in the Wait Approval dialog box. A value of 1 means the box will be
checked and an unapproved receipt will be created. A value of 0 (the default)
means the box will not be checked and an unapproved receipt will not be
created.
AutoTrial=1
If the Materials Receipts button is selected by default when the Copy PO Lines
to Invoice dialog box is invoked, a trial match will automatically be created. This
is the default behavior and must explicitly be turned off. Valid values are 0
and 1.
UpdateInventory
During the invoice approval process, both service and material receipts may be
created. For rotating equipment that is on a “charge to store” line, the system
needs to carry charges through to the piece of equipment so that it can be valued
correctly in inventory. If the equipment is in inventory (i.e., the location is a
storeroom), the price (of the inventory item that is on the equipment record) also
needs to be updated. This is the default behavior and must be explicitly turned
off. Valid values are 0 and 1. The default is 1. If Update Inventory is equal to 0,
the system will write any price or currency differences (INVOICETRANS
records) to the variance accounts associated with the storeroom.
353
Appendix B
[JAVA]
This section enables the Centura applications to communicate with the Java
Application Server (MXServer). The Java parameters are written to the
MAXMO.INI file whenever a customer installs add-on functions that need to
communicate with the Java Application Server (e.g,; Workflow).
NOTE: Because you installed MAXIMO application files before you installed
the Application Server, you might not have been able to specify the
correct URL or drive mapping of the Application Server when
prompted for it during the MAXIMO installation.
The parameters are described below:
• ClassPath=
The Java Class Path from where the Java virtual machine can find any
additional classes.
• JavaParameters=
-Djava.rmi.server.codebase=”http://hostname/ http://hostname/lib/jndi.jar”
-Djava.security.policy=maxlib.policy -cp .;
If the Application Server code can be downloaded by default via HTTP, make
sure that “codebase=” in the “JavaParameters=” line is set to the actual HTTP
URL, with the trailing slash (/) at the end of the URL.
NOTE: -Djava.security.policy=maxlib.policy is the security policy that
indicates what type of security is enforced on the Centura Workflow
application.
• DefaultJavaHome=
Directory where the default Java machine is installed. If a default is not
specified, the directory is set to the JRE folder under the MAXIMO directory.
• DefaultJavaRuntimeLibrary=
Specifies the complete path to the Java Runtime library, including the library
file name.
354
MAXIMO.INI
[LINKEDDOCUMENTS]
These parameters set the buttons on the Web browser tool bar to go to the
specified URL.
HomePage=www.mro.com
SearchPage=http://www.yahoo.com
[MAINSELECT]
Allows the default processing for building an application’s main select statement
to be overridden and gives you the ability to specify whether a hidden field will
be destroyed. This is particularly necessary for customized applications that rely
on data in hidden fields. Under normal circumstances, when an application starts
up any fields that are hidden and optional are destroyed. Later, when the main
select statement for the application is built, data is not selected into these fields.
This option is particularly necessary for Application Cloning, where fields in the
cloned application are hidden but need to be included in the main select.
Each entry includes the application name and a list of field names. A plus sign
(+) before a field prevents it from being destroyed and includes it in the main
select; a minus sign (-) excludes it from the main select. The field names can be
obtained from EditWindows. Entries can be added for any MAXIMO application
or clone. There are no defaults for this parameter.
jobplan=+fJP1,+fJP2,-fJP3,-fJP4,-fJP5
The above is an example of how to include some fields in the main select for the
Job Plans application. In this example, fJP1 and fJP2 would be included and not
destroyed if hidden, and fJP3, fJP4, and fJP5 would not be included in the main
select which fills the Job Plans screen.
355
Appendix B
[MAXSCHED]
Items in this section define parameters used when running the MAXIMO
Scheduler.
MSPath=C:\MAXSCHD
The location of the MAXIMO Scheduler software. Any valid DOS path may be
entered. NOTE: The path entered does not end with a backslash (\).
DaysToSched=10
Defines the initial value of the number of days to schedule forward in the Set
Schedule Information dialog box. Any positive integer may be entered. The
default is 10 days.
MSReverseCalendars=0
Changes how equipment availability is calculated. When this parameter is set to
0, MAXIMO uses the equipment’s calendar to define when a piece of equipment
is in operation and cannot have work done on it (this is the normal way
MAXIMO uses calendars). When set to 1, MAXIMO uses the equipment’s
calendar to define when a piece of equipment is not in operation and can have
work done on it. Valid values are 0 and 1.
MSDefRD=1
Specifies the default remaining duration (RD) if the calculated remaining
duration is negative or zero. Any positive integer value may be entered. The
default is 1.
MSEquipAvail=100
The resource availability assigned to the resources used to limit work on
equipment requiring downtime. Any positive integer may be entered. The default
is 100.
UpdateEstDur=0
Determines whether or not to return work order durations altered in the
Scheduler back to MAXIMO. When this parameter is set to 0, work order
durations are not returned to MAXIMO. When set to 1, changed durations are
written back to the work order’s estimate duration field. A work order duration
356
MAXIMO.INI
[MOREINFO]
Parameters in this section are used to control the usage and appearance of the
“more information” symbol. By default, a red dot in the upper right corner of a
field or table window cell indicates the presence of additional information
“behind” that field. This additional information can be accessed by clicking the
Detail button in the field or cell.
The following entries are used system-wide for all fields and table window cells:
Enabled=ALL
Specifies whether or not red dots will be displayed in fields and table cells. Valid
values listed below. The default is ALL.
ALL – Red dots are enabled for both fields and table window cells.
FIELDSONLY – Red dots are enabled for fields only. Table window cells
will not show red dots.
NONE – Red dots are disabled.
ColHdrHeight=-1
The height in pixels of a table window column header. Enter -1 to have
MAXIMO calculate a value based on the table window font. The default is -1.
RowHdrWidth=-1
The width in pixels of a table window row header. Enter -1 to have MAXIMO
calculate a value based on the table window font. The default is -1.
RowHeight=-1
The height in pixels of a table window row. Enter -1 to have MAXIMO calculate
a value based on the table window font. The default is -1.
357
Appendix B
TwCellRightOffset=-1
For table window cells, the offset in pixels from the cell right border where the
red dot will be displayed. Enter -1 to have MAXIMO calculate a value based on
the table window font. The default is -1.
TwCellTopOffset=-1
For table window cells, the offset in pixels from the cell top border where the red
dot will be displayed. Enter -1 to have MAXIMO calculate a value based on the
table window font. The default is -1.
ShowAllRows=1
Specifies whether red dots are shown for all rows of table windows or only in the
focus row. Valid values are 0 (focus row only) and 1 (all rows). The default is 1.
[MOREINFO.APPNAME]
Parameters in this section are used to control the usage and appearance of the
“more information” symbol. By default, a red dot in the upper right corner of a
field or table window cell indicates the presence of additional information
“behind” that field. This additional information can be accessed by clicking the
Detail button in the field or cell.
The following entries are used to set red dot preferences on a per-table window
basis. The “AppName” in the section name will be the executable name of the
MAXIMO application whose table window “more information” processing you
wish to control. The “TableName” in the parameter name is the internal name of
the specific table window you wish to control. Use EditWindows to determine
the names of table windows.
Examples of setting the “more information” symbol for specific applications and
table windows follow:
[MoreInfo.JOBPLAN]
tblJP.Enabled=1
tblJP.RowHeight=22
358
MAXIMO.INI
[MoreInfo.PR]
PRLines.Enabled=1
PRLines.ShowAllRows=0
TableName.ColHdrHeight=-1
The height in pixels of the table window column header. Enter -1 to have
MAXIMO calculate a value based on the table window font. The default is
copied from the ColHdrHeight setting in the [MoreInfo] section.
TableName.Enabled=1
Specifies whether or not red dots will be displayed in the table window cells.
Valid values are 0 and 1. The default is 1 if [MoreInfor]Enabled=ALL, and 0 if
[MoreInfo]Enabled=FIELDSONLY or NONE.
TableName.RowHdrWidth=-1
The width in pixels of the table window row header. Enter -1 to have MAXIMO
calculate a value based on the table window font. The default is copied from the
RowHdrWidth setting in the [MoreInfo] section.
TableName.RowHeight=-1
The height in pixels of a table window row. Enter -1 to have MAXIMO calculate
a value based on the table window font. The default is copied from the
RowHeight setting in the [MoreInfo] section.
TableName.ShowAllRows=1
Specifies whether red dots are shown for all rows of the table window or only in
the focus row. Valid values are 0 (focus row only) and 1 (all rows). The default
is copied from the ShowAllRows setting in the [MoreInfo] section.
TableName.TwCellRightOffset=-1
For table window cells, the offset in pixels from the cell right border where the
red dot will be displayed. Enter -1 to have MAXIMO calculate a value based on
the table window font. The default is copied from the TwCellRightOffset setting
in the [MoreInfo] section.
359
Appendix B
TableName.TwCellTopOffset=-1
For table window cells, the offset in pixels from the cell top border where the red
dot will be displayed. Enter -1 to have MAXIMO calculate a value based on the
table window font. The default is copied from the TwCellTopOffset setting in
the [MoreInfo] section.
[PRELOADSTRINGS]
This section is included so that the strings can be localized by international
clients.
NOTE: To ensure the most current messages are used, English versions of
MAXIMO should not have the PRELOAD strings. English versions of
the messages are stored in the DLL.
The parameters in this section are strings that can be accessed before the
standard MAXIMO message file has been read. Defaults are listed below.
360
MAXIMO.INI
[PURCHASING]
Items in this section define parameters used when working in purchasing-related
areas of MAXIMO.
BillTo=company
Specifies the default “Bill To” company name used in the Purchasing module.
The value must be an existing entry in the Companies table. If there is no entry
in MAXIMO.INI, there will be no default “Bill To” company name.
ShipTo=company
Specifies the default “Ship To” company name used in the Purchasing module.
The value must be an existing entry in the Companies table. If there is no entry
in MAXIMO.INI, there will be no default “Ship To” company name.
VendorAnalysisRange=365
Specifies the number of days over which to calculate vendor analysis. Any
number greater than 1 may be entered, or the word ALL to indicate that the
vendor’s entire history should be calculated. The default is 365 days.
[REPORT]
This section defines parameters used when running reports from inside
MAXIMO.
REPORT_TYPE
Specifies the type of report you run as a default in MAXIMO: SQRW or CRW.
For the SQR report writer, use SQRW. For the Crystal Report Writer use CRW.
For example, if you want SQRW reports to be the default when running hard
coded reports in MAXIMO, you should have the following lines in your [Report]
section:
;Report_Type=CRW
Report_Type=SQRW
361
Appendix B
CRW_REPPATH
Specifies the name of the folder containing the Crystal report file. A user can
have separate entries for each database server type to maintain report files in
different folders.
CRW_SPOOL
Specifies the folder where the Crystal report output file will be sent.
CRW_ORACLE_TNS
Specifies the database alias and the TNS name. If you have an Oracle database,
you can find this information in the SQL.INI file, in the [ORAGTWY] section.
Example:
CRW_SQLSERVER_ODBC
Specifies the datasource name (DSN) for a specific database. If you have a SQL
Server database, you must create an ODBC DSN entry for the MAXIMO
database that is being used. Otherwise, you will not be able to run the report.
Example:
MailSPF
Specifies the type of files you are e-mailing. To mail text files, set MAILSPF to
0. To mail SPF files, set MAILSPF to 1, the default. File Send also uses this
parameter.
362
MAXIMO.INI
SQRW_REPPATH
Specifies the folder where SQR5 report files are stored. You may enter any valid
DOS path. This item must be set in order to run SQR5 reports from inside
MAXIMO.
Examples:
SQR5_ORACLE_TNS
If you are using an ORACLE database, you can find this information in the
SQL.INI file, in the [ORAGTWY] section.
Example:
SQR5_SQLSERVER_ODBC
Specifies the SQL Server database name and the datasource name that SQR5
connects to when you run reports in MAXIMO. The latest version of SQR5 that
MAXIMO supports has SQL Server connectivity through ODBC. Enter the SQL
Server database name you are using followed by an equal sign (=), and then the
DNS entry.
Example:
363
Appendix B
SQRW_Path
Specifies the folder where the SQR executables are located.
Examples:
SQRW_Spool
Specifies the folder where the SQR5 report output file will be created. You can
enter any valid DOS path. This item must be set in order to run SQR reports
from inside MAXIMO.
[TABLEWINDOWSIZE]
Parameters in this section allow the user to limit the number of line items a
dynamic table window can have. Dynamic table windows have a default limit of
2000 line items. The larger the number, the slower the performance.
Each section entry includes a form or dialog box name and a size. Every dynamic
table window on the form or dialog box will use the maximum size value. The
name used is the internal name. Use EditWindows to determine the internal
name. Examples of setting table window sizes follow:
PAForm=200
dlgGLCompMaint=1000
[TWDATERANGE]
This section contains parameters that indicate the date range for transactions
listed in the table window displayed on the specified screen. Any number greater
than 0 or the word ALL may be entered. Specifying ALL indicates that all
transactions should be displayed in the table window. The default for each table
window is 30 days.
364
MAXIMO.INI
currency=30
Indicates how many days prior to the current date that exchange rates should be
listed in the Currency Management application’s Exchange Rate table window.
invtrans=30
Indicates how many days of transactions should be listed in the Inventory
Transactions table window.
labrep=30
Indicates how many days of transactions should be listed in the Labor Reporting
table window.
wotrack=30
Indicates how many days of transactions should be listed in the Work Orders and
Quick Reporting table windows.
[WORKMAN]
This section contains parameters used in managing work. For example, the shift
offset parameters are designed to help ensure that all work being done by labor
on a shift will appear and be accounted for in the Labor List, even if the work
began prior to the start of the shift, or continues beyond the shift change.
DaysToSplit=1
Specifies the number of additional days over which you can split work
assignments using the Split Planned Assignment dialog box. For example, if
DaysToSplit is set to 4, a planner preparing work on a Monday can split
Monday's assignments through Friday. The default setting is 1.
When the number of days to split an assignment is reached, or hours cannot be
assigned due to a limit of the calendar, remaining hours become an unassigned
work requirement, and have a status of WAITASGN.
ElapsedHours=24
Indicates to Work Manager how often to refresh the labavail table. The default
time frame is 24 hours. When you have a large number of users who are
365
Appendix B
ShiftStartOffset=-4
Specifies the number of hours prior to the start of the specified shift (specified
on the Labor Selection Criteria or Work Selection Criteria dialog box) that
MAXIMO should check for work assigned to the current (i.e., specified) shift’s
labor and not reported as completed. Thus, labor on work begun but not finished
prior to the specified shift will be included for display in the Labor List.
The default value of minus four (-4) means that any work order’s planned hours
that were begun in the 4 hours prior to the start of the specified shift, and not
reported as finished by the shift change, would be used in calculating the
available hours for the labor code.
NOTE: Specify a negative number to include hours prior to the start of the
shift.
ShiftEndOffset=8
Specifies the number of hours after the end of the specified shift (specified on
the Labor Selection Criteria or Work Selection Criteria dialog box) that
MAXIMO should check for work orders not reported as completed. Thus, labor
on work begun but not finished during the specified (current) shift will still be
included for display in the Labor List.
The default value of 8 means that the planned time on any work orders that start
within 8 hours of the end of the specified shift would be used in calculating the
available hours for the labor code.
366
MAXIMO.INI
CompleteOnFinishOrDelete=0
Specifies whether to set the status of a work order to complete (COMP) or
closed (CLOSE) when all outstanding labor assignments are finished or deleted.
Valid values are 0 and 1. One (1) means the default setting in the Work Order
group box on the Finish Assignment dialog box and Delete Assignment dialog
box will be Complete. Zero (0) means the default setting will be Close. The
default is 0.
LaborRequired=0
Specifies whether work orders created or modified in Work Order Tracking
and/or Work Manager must have at least one labor requirement or work plan
labor entry specified in order to be saved. A one (1) for this parameter also
affects Job Plans; no job plan could be saved without an entry for planned labor.
The default is 0, meaning work orders and job plans can be saved without labor
requirements or planned labor specified. Specifying 1 for this parameter is not
recommended for most users.
[WORKORDERS]
This section contains a parameter that specifies whether a report is generated
when a work order is initiated.
PrintOnInit=1
Specifies whether a work order report is generated when a work order is
initiated. Valid values are 0 and 1.
367
Appendix B
368
APPENDIX C
MAXSCHED.INI
Purpose
The MAXSCHED.INI file allows a site administrator to configure the MAXIMO
Scheduler for users to skip any or all of the login steps during start-up of the
Scheduler. It also allows for certain database-specific options such as array size,
which processes multiple SQL statements for better network performance. There
is also a toolbar section that controls which windows are called by the buttons on
the toolbar.
The MAXSCHED.INI file must reside in the user’s Windows folder, e.g.,
C:\Windows.
Main Section
[PSDI MAXIMO Scheduler] (Required)
DefaultDirectory (Required) Path to where the Scheduler is
installed
369
Appendix C
370
MAXSCHED.INI
371
Appendix C
372
APPENDIX D
373
Appendix D
374
MAXIMO License Program
375
Appendix D
5. Type in the license key number obtained from MRO Software and click OK.
6. Close the MAXIMO License Program. The new authorities will be enabled
when you next start up MAXIMO.
You use the maxmastpath= setting when the location of the MAXIMO .DLL
file (MAXLIB.DLL) is different from the location of the security file,
MAXMAST.OUT. This setting should point to the location (logical drive and
folder path) of the MAXMAST.OUT file. This setting is optional if the .DLL
file and MAXMAST.OUT are in the same folder.
The reason you might want a single copy of the security file (MAXMAST.OUT)
on a network is that it makes upgrades easier; only one file needs to be upgraded,
rather than many.
376
MAXIMO License Program
! Example The MAXMAST file is not located on the same server as the MAXIMO .DLL
and .EXE files. It is installed on the logical M: drive in the apps\max411
folder. The [MAXIMO] section of WIN.INI would look like this:
[MAXIMO]
maxmastpath=m:\apps\max411
You use the maxini= setting when you are running on a network and you want to
have different MAXIMO.INI files for different users. To customize a file, you
need to copy the network MAXIMO.INI file to your local workstation and then
specify the drive and path where the MAXIMO.INI file is located.
! Example If the MAXIMO.INI file is copied to the MAXIMO folder on the C: drive, the
[MAXIMO] section of WINI.INI would look like this:
[MAXIMO]
maxini=c:\maximo
377
Appendix D
378
APPENDIX E
OVERVIEW
When a user tries to delete a MAXIMO record, MAXIMO initiates a series of
database checks to see if that record is allowed to be deleted. If the key field
information in the record to be deleted is required by other tables/records, then
the record cannot be deleted unless that information is first removed for those
other tables/records. For example, you cannot delete a Companies record if the
company is used in the Vendor field on an equipment record and delete or
change the vendor information.
The deletion rules vary by application. They can be evaluated in terms of the
screens and fields involved, or in terms of the database checks performed by
MAXIMO. Where applicable, this document presents the information from both
viewpoints: the Record Deletion sections specify the fields or table window
columns on the screens involved for particular records; the Database Checks
sections list the tables and columns involved.
The ability to delete records can also be affected by security privileges. For
example, a user with access to only some storeroom locations will not be able to
delete an item from the master item table.
379
Appendix E
The modules and applications listed below follow the order in which they appear
on the Main Menu. In the Record Deletion sections below, the name of record
equated with the name of the screen used for creating that record; e.g.,
“Equipment record” implies Equipment screen.
WORK ORDERS
Work Order Tracking and Other Work Order Applications
Work orders can never be deleted. They can be canceled or archived. Records
from Planned Labor, Planned Materials, Planned Tool, and Job Plan Operations
can be deleted, depending on how the Edit Work Plan Options are set in
Application Set Up. Which is also dependent on what the status of the work
order is.
PM
Preventive Maintenance
There are no restrictions on deleting Preventive Maintenance records.
380
Deleting Database Records
INVENTORY
Inventory Control
Record Deletion
An Inventory Control record (i.e., an inventory item) cannot be deleted if the
item
• is used in the Item column on a Work Plan Materials record
• is used in the Item column on a PO Line Items Record
• is used in the Item column on a PR Line Items record
• is used in the Item column on a Job Plans Material Estimates record
• is used in the Item column on a Rotating Equipment record
• is used in the Item column on a Subassemblies and Spare Parts record
• is used in the Item Assembly Structures record
An Inventory Control record (i.e., an inventory item) should not be deleted if the
item
• is used in the Item column on an RFQ
Items may be allocated to zero, one, or multiple storerooms. Depending on how
you bring up the record (using the ‘Define Filter’ Criteria option), the item may
or may not be associated with a particular storeroom. If the conditions described
above are not met, the item will be deleted from all storeroom locations and from
the item master record. You have the option of deleting all Inventory transactions
for that item. A work around would be to set the item as a non-stock item and
then remove non-stock items from that storeroom.
381
Appendix E
Database Checks
An Inventory Control record, i.e., an inventory item, cannot be deleted if the
item is used in any of the following table/column combinations:
Table Column
INVRESERVE ItemNum
POLINE ItemNum
PRLINE ItemNum
JOBMATERIAL ItemNum
SPAREPART ItemNum
EQUIPMENT ItemNum
ITEMSTRUCT ItemNum
RFQ ItemNum
If the conditions described above are met, you still have the option of deleting
the item from only the INVENTORY table (storeroom location data) or from the
master ITEM table.
• If a location is not specified when you delete the record or if a location is
specified, the item will be dropped from both the INVENTORY and ITEM
tables. You will be prompted as to whether you want to delete the item from
transaction.
382
Deleting Database Records
EQUIPMENT
Equipment
Record Deletion
An Equipment record cannot be deleted if the equipment is used:
• in the Equipment field on an open Work Order record
When the equipment record is
• the parent on an equipment hierarchy
• in the Equipment field on a Preventative Maintenance record
• in the Equipment field on a Service Contracts record
then, a dialog appears, giving the user the ability to check any combination of the
following options:
• Sever All Subassembly Relationships
• Delete All Associated PM’s
• Delete All Associated Service Contracts
• Delete Equipment Move History
• Delete Up/Down Status History
When any of those options are checked, the equipment will be deleted from the
table.
383
Appendix E
Database Checks
An Equipment record cannot be deleted if the equipment is used in any of the
following table/column combinations.
Table Column
WORKORDER EqNum
EQUIPMENT EqNum
PM EqNum
SERVICECONTRACT EqNum
Operating Locations
Record Deletion
An Operating Locations record cannot be deleted if the location is listed:
• in the Location field on a Equipment record
• in the Location field on a Preventive Maintenance record
• in the Work Location field on a Labor record
• in the Location field on an Inventory Control record and the Location Type is
equal to Operating Location OR the location is associated with a piece of
rotating equipment.
• in the Location field on a Companies record when a storeroom has been
added in Inventory and the user responded Yes to adding the storeroom as a
vendor
• in the Location field on an open Work Order record
A system with locations cannot be deleted until all of the locations have been
removed.
384
Deleting Database Records
If the location is the parent of other locations in a system you can delete the
location, but you will receive a warning that the location has children and that by
deleting the location may change the system type.
Database Checks
An Operating Location record cannot be deleted if the operating location is used
in any of the following table/column combinations.
Table Column AND
EQUIPMENT Location
INVENTORY Location Locations Type = Operating or
Equipment is rotating
LABOR WorkLocation
PM Location
WORKORDER Location
Failure Codes
A Failure Code record can be deleted but should not be, if the failure code is
• on an open work order
• on a location record
• on an Equipment record
385
Appendix E
Condition Monitoring
Record Deletion
A Measurement record should not be deleted if
• on an open work order, the work plan references a measurement point
• on a job plan
Routes
A Route record should not be deleted if
• it has been applied to a work order/PM
PURCHASING
Purchase Requisitions
Purchase requisitions can never be deleted. They can be canceled or archived.
Purchase Orders
Purchase orders can never be deleted. They can be canceled or archived.
386
Deleting Database Records
Invoices
An Invoice record can only be deleted if its status is ENTERED, WAPPR, or
CANCEL and there are no unapproved service receipts written by the invoice.
Currency Management
Record Deletion
A currency record cannot be deleted if
• it is used in Companies
• it is used on a PO
• it is used on a PR
• it is used on an Invoice
• it is used on an RFQ
Database Checks
TABLE COLUMNS
COMPANIES CurrencyCode
PO CurrencyCode
PR CurrencyCode
RFQVENDOR CurrencyCode
INVOICES CurrencyCode
INVOICETRANS CurrencyCode
MATRECTRANS CurrencyCode
MATUSETRANS CurrencyCode
SERVRECTRANS CurrencyCode
387
Appendix E
JOB PLANS
Job Plans
Record Deletion
A Job Plan record cannot be deleted if the job plan is used:
• in the Next Job Plan field on a Preventive Maintenance record
• on a Preventive Maintenance Job Plan Sequence record
• in the Job Plan field on a Work Order
Database Checks
A Job Plan record cannot be deleted if the job plan is used in any of the
following table/column combinations.
Table Column
PM JpNum
PMSEQUENCE JpNum
WORKORDER JpNum
Safety Plans
There are no restrictions when deleting a safety plan record.
Safety Hazards
Record Deletion
A Safety Hazard record cannot be deleted if
• it has a safety precaution record associated with the hazard
388
Deleting Database Records
Database Checks
A Safety Hazard record cannot be deleted if the hazard is used in any of the
following table/column combinations.
TABLE COLUMN
HAZARDPREC HAZARDID
SAFETYLEXICON HAZARDID
Safety Precautions
Record Deletion
A Safety Precaution record cannot be deleted if
• it is associated with a safety hazard record
Database Checks
A Safety Precaution record cannot be deleted if the safety precaution is used in
any of the following table/column combinations.
TABLE COLUMN
HAZARDPREC PrecautionID
389
Appendix E
LABOR
Labor
Record Deletion
A Labor record cannot be deleted if the labor code is used:
• used in a Craft or Labor Code field in the Work Manager when in the
Assignment table window
• used in the Labor/Craft field on a Labor Reporting record that includes daily
attendance information
• used in the Labor/Craft column of a Job Plan Labor Estimates record
• used in the Supervisor or Lead Craft field on a Job Plans record
• used in the Labor/Craft field on a Labor Reporting record
• used in the Lead Craft or Supervisor field on a Work Order record
• used in the Labor Code column on a Work Plan Labor record
A Labor record should not be deleted if the labor code is used:
• in the Issue To field on an Issues and Transfers record
Database Checks
A Labor record cannot be deleted if the labor code is used in any of the
following table/column combinations.
Table Column
ASSIGNMENT Craft
ASSIGNMENT LaborCode
ATTENDANCE LaborCode
JOBLABOR LaborCode
JOBPLAN Supervisor
390
Deleting Database Records
Table Column
JOBPLAN LaborCode
LABTRANS Craft
LABTRANS LaborCode
MATRECTRANS IssueTo
MATUSETRANS IssueTo
WORKORDER LeadCraft
WORKORDER Supervisor
WPLABOR LaborCode
Crafts
Record Deletion
A Craft record cannot be deleted if the craft code is used
• used in a Craft or Labor Code field on a Work Manager Record
• used in the Labor/Craft column of a Job Plans Labor Estimates record
• used in the Lead Craft field on a Job Plans record
• used in the Labor/Craft field on a Labor Reporting record
• used in the Lead Craft field on a Work Order record
• used in the Labor Code column on a Work Plan Labor record
A Craft record should not be deleted if the craft code is used
• used in the Issue To field on an Issues and Transfers record
Database Checks
A Craft record cannot be deleted if the craft code is used in any of the following
table/column combinations.
391
Appendix E
Table Column
ASSIGNMENT Craft
ASSIGNMENT LaborCode
ATTENDANCE LaborCode
JOBLABOR LaborCode
JOBPLAN Supervisor
JOBPLAN LaborCode
LABTRANS Craft
LABTRANS LaborCode
MATRECTRANS IssueTo
MATUSETRANS IssueTo
WORKORDER LeadCraft
WORKORDER Supervisor
WPLABOR LaborCode
Labor Reporting
No records can ever be deleted from Labor Reporting.
Labor Groups
Record Deletion
A Labor Group record should not be deleted if
• a labor group is on a work order
392
Deleting Database Records
Database Checks
TABLE COLUMNS
WORKORDER WOASSIGNMNTQUEUEID
CALENDARS
Calendars
Record Deletion
A Calendars record cannot be deleted if the calendar is used:
• in the Calendar field on an Equipment record
• in the Calendar field on a Labor record
• in the Calendar field on a Operating Location record
Within Calendars you cannot delete a shift if it refers to a calendar
Database Checks
A Calendars record cannot be deleted if the calendar is used in any of the
following table/column combinations.
Table Column
EQUIPMENT CalNum
LABOR CalNum
LOCOPER CalNum
393
Appendix E
RESOURCES
Companies
Record Deletion
A Company record cannot be deleted if the company is used:
• in the Vendor field on an Inventory record
• in the Manufacturer field on an Inventory record
• in the Vendor, Bill To, or Ship To fields on a Purchase Requisition
• in the Vendor field on a Service Contract
• in the Vendor field on the Work Plan Materials screen
• In the Vendor field on an Invoice
• In the Vendor field on the Job Plan Materials screen
• in the Vendor, Ship To, or Bill To field on a Purchase Order
NOTE: This is true even for closed purchase Orders. Therefore, to delete a
Company record when the company still appears on closed Purchase
Orders, you must first archive the closed Purchase Orders.
A Company record should not be deleted if the company is used:
• in the Vendor column on an Vendors record
• on an RFQ Line and RFQ Vendor tab
Database Checks
A Company record cannot be deleted if the company is used in any of the
following table/column combinations.
Table Column
EQUIPMENT Vendor
EQUIPMENT Manufacturer
394
Deleting Database Records
Table Column
INVOICES Vendor
INVENTORY Vendor
INVENTORY Manufacturer
INVVENDOR Vendor
JOBMATERIAL Vendor
PO Vendor
PO ShipTo
PO BillTo
PR Vendor
PR BillTo
PR ShipTo
SERVICECONTRACT Vendor
WPMATERIALS Vendor
Tools
Record Deletion
A Tools record cannot be deleted if the tool is used
• in the Tool column of a (Job Plans) Tool Estimates record
Tools record should not be deleted if the tool is used
• in the Tool column of a (Work Order Tracking) Work Plan Tools record
395
Appendix E
Database Checks
A Tool record cannot be deleted if the tool is used in any of the following
table/column combinations.
Table Column
JOBTOOL ToolNum
WPTOOL ToolNum
Service Contracts
Record Deletion
A Service Contract record may be deleted when
• a service contract is associated with a work order
Database Checks
A Service Contract record cannot be deleted if the service contract is used in any
of the following table/column combinations.
TABLE COLUMN
WORKORDER CONTRACT
CUSTOM APPS
Custom Applications
Custom applications are dropped by selecting Drop Custom Application from the
Actions menu.
396
Deleting Database Records
SETUP
Reports and Other Apps
There are no restrictions on deleting a Report and Other Apps record.
Chart of Accounts
In Chart of Accounts, no database checks are made when you delete a GL
account code. It would be too time consuming of a process for MAXIMO to
check all possible occurrences of a GL account. Therefore, a GL account code
deleted from Chart of Accounts can still exist on previously created records;
work orders, purchase orders, etc.
WARNING: Deleting a GL account code may cause problems with your GL
accounting system.
Signature Security
Deleting a User
If you try to delete a user, you are prompted to verify that you really want to drop
the user. If you do drop the user:
• Table access privileges are revoked from the user.
• Associated LABORAUTH records are deleted.
• Associated LOCAUTH records are deleted.
• Associated USERRESTRICTIONS records are deleted.
• Associated MAXUSERGROUPS records are deleted.
397
Appendix E
Deleting a Group
If you try to delete a group, you are prompted to verify that you really want to
drop the group. If you do drop the group, a check is performed to see if there are
existing users in the group. If there are existing users in the group, you are told
that they will be deleted as well, and you are asked if you want to continue. If
you continue:
• All existing users in the group will be dropped as described under Deleting a
User.
• The group is dropped from the database as detailed above under Deleting a
User.
• Associated MAXUSERAUTH records are deleted.
• Associated MAXUSERGROUPS records are deleted.
• Associated MAXGROUPS records are deleted.
Database Configuration
Deleting records is not applicable to the Database Configuration application.
Application Setup
You are given a warning when you delete applications.
Hyperlink
There are no restrictions on deleting Hyperlink records.
398
Deleting Database Records
Workflow Designer
You cannot delete a Workflow process once it has been enabled.
Before it has been enabled, you can click the row that contains the Workflow
process that you want to delete. The selected row will appear highlighted. Select
Delete Workflow Process from the Edit menu. The record is deleted.
UTILITIES
Archive
Deleting records is not applicable to the Archive application.
Workflow Inbox
Deleting records is not applicable to Workflow Inbox.
399
Appendix E
400
INDEX
401
Index
402
Index
403
Index
404
Index
405
Index
406
Index
list of database columns, reference to, Hiding/unhiding screen objects. See Object
224 Nationalizer screen editor
making GL account fields required, 231 Hyperlink, 131–37
merging, 240 creating a hyperlink, 133–36
optional components, 90–91 data exchange, 131, 134–35
overwriting account codes, 236–37 Detail button, 136
partially defined, 90–91 finding field and push button names,
placeholders, 93 136–37
required components, 90–91 Hyperlink tab, 132
specifying format, 91–94 launching a non-MAXIMO application,
tool resource codes, 226, 241 135
tools control accounts, 226, 241 launching MAXIMO applications, 134
type codes, 230 launching object, 133
updating database with new GL opening a View List dialog box, 135
information, 236–37, 236–37 overview, 131–32
validation, 92–93 passing Where clause to user application,
GL Accounts 135
specifying format, 75, 76 Reload Data Dictionary menu item, 136
GL Accounts tab, 226–27. See also Chart of Hyperlink tab, 132
Accounts figure, 132
figure, 227
GL component information
authorizing access to, 26, 27, 34–36 —I—
GL Component Maintenance menu item,
232–33 Icons. See MAXIMO icons
figure of dialog box, 232 Index Definitions tab, 84–86
Graphics applications figure, 84
integrating with MAXIMO, 220 Indexes
Groups creating, 75, 76, 85–86
adding, 25, 27 dropping, 75, 76, 86
default group, 23 Integer fields, 142–43
dropping, 24, 27 Internal Labor Control Accounts menu item,
reassigning users to, 26, 27 226, 241
viewing, 27 Internal Tools Control Accounts menu item,
226, 241
Internet Information Server (IIS)
—H— running with Tomcat JSP Server, 288–
308
Hardware/software requirements, 14–17 Inventory Resource Codes menu item, 226,
Help 241
customizing help files, 128–29 Inventory-Related Accounts menu item,
Hidden crossover fields, 309–11 226, 241
407
Index
408
Index
409
Index
—N— —P—
Numeric fields, 141–48 Parameter login, 38–41
amounts, 146–48 Passwords
decimals, 144–45 MAXIMO schema administrator, 25, 27
floats, 143–44 setting expiration intervals, 26, 27
formatting, 141–48 system administrator, 24, 25, 27
integers, 142–43 user, 25, 27
smallints, 142–43 Preventive Maintenance Options menu item,
validation, 141–48 107
Printer routing. See Report routing
410
Index
411
Index
412
Index
413
Index
standard, 122–23
—U— synonym, 122–23
Update Database menu item (Chart of types, 122–23
Accounts), 226, 236–37 Value Lists tab, 120–27
figure of dialog box, 236 figure, 121
Update Statistics menu item, 75, 76 Vendor
Update statistics procedure, 257 default in Self Service Applications, 268–
User field 70
Login dialog box MAXIMO.INI setting, Vendor analysis
337 date range setting in MAXIMO.INI, 361
User Restrictions, 46–47 Verity search engine, 259–65
defined, 21 adding new fields to item collection, 261
Users building collections, 260
adding, 25, 27 configuration, 260
changing login status, 33 modifying synonym lists, 262
changing number of licensed, 373–76 running as a Windows NT service, 264
changing passwords, 25, 27 setting commodity restrictions, 265
dropping, 24, 27 updating collections, 264
names, 24 View Definitions tab, 87–88
reassigning to groups, 25, 27, 36–38 figure, 87
viewing, 24, 27 View List dialog boxes
customizing, 59–60
View Users menu item, 24, 27
—V— Views
creating, 76, 88
Validation
date/time fields, 150
numeric fields. See individual data field —W—
types
Query mode, 156–57 WHERE clause
Value list dialog boxes, dynamic Application Restrictions menu item, 117
customizing, 61–63 WIN.INI file
Value lists, 120–27 and MAXIMO.INI file, 336
adding synonym values, 126–27 formatting information, 140
assigning and deassigning, 125 Mail section, 170
automatic display when leaving fields MAXIMO section, 376–77
containing invalid data, 338 Work Equipment and Location Options
changing type, 126 menu item, 106
creating, 124 Work Manager
dropping, 127 MAXIMO.INI parameters, 365–67
showing all, 123 Work orders
archiving, 247, 249
414
Index
MAXIMO.INI parameters, 367 Work Plan Save Options menu item, 106
specifying that work order is printed Work Priority Options menu item, 106
when initiated (MAXIMO.INI), 367 Work Type Options menu item, 106
Work Plan Edit Options menu item, 106
415
Index
416
NOTES
MPD0712-411MAXSAG-02-ENG-04/26/01