General Aurea CRM Parameters
Learn about the general Aurea CRM parameters.
-?
Displays information on the parameters supported by an Aurea CRM module.
-u
Specifies an Aurea CRM user name.
mmba.exe -u "John Smith"
-p
Specifies the password used to log on.
mmri.exe -u su -p 123
-l
Specifies the language the module should be started with, see Language IDs.
mmba.exe -u su -p <Password> -l 1
Logs on to the main module in English as SU.
--db
Specifies the database type (MS SQL or Oracle) the module should be started with, see mmdb.ini and mmodbc.ini Files.
mmim.exe -u su -p <Password> --db mss
or
mmim.exe -u su -p <Password> --db ora
-v
If you have installed Aurea CRM with separate program and data directories, you need to
specify the data directory using the parameter –v
, see Additional Options in the Aurea
CRM win Installation Guide.
mmba.exe -v c:\u7data
--role
Specifies the role(s) that the user is logged on with, see Rep Roles.
mmba.exe -u "John Smith" -p johns --role "Support Admin" "Sales Admin"
-q:<Value>,<Value>,...
Starts a module with the following functions:
-
selout
: Logs SELECT statements executed by selections in the file <USER NAME>.<Link to Info Area> (FI, KP or OJ (BTB only)) in the\system\db
directory. -
errorlog
: Logs database errors to the mmcom.log file in the \system\db directory. -
stmtlog
: Logs SQL statements to the module's log file (e.g. SU_1.log) in the \system\db directory, see Logs and Error Messages. -
stmttune
: (for Oracle databases): If you start mmba.exe with parameters, all combinations of tables and indices are tested and sensibleTUNE_STMT_REL
combinations are determined. The settings are displayed in a prompt. Click on Yes to write the settings to the mmdb.ini file, see Optimizing Access.
--writeprocesslist
If you start an Aurea CRM module with this parameter, the file u8ProcessList_<Module no.>.txt containing a list of all levels ("processes") available in this module is written to the \system\db directory, see Module Numbers. The module is then closed automatically.
The file contains:
- Id: ID of the level.
- Class: Class the level belongs to (for example, levels containing the Activity info area belong to class 11000), see Level Properties in the Aurea CRM win Administrator Guide.
- Name: Name of the level in the current language.
-
Type: Level type
- core : Levels available in all verticals.
- BB/BC/FS: Levels only available in specific verticals.
- gen : User-defined levels, see Defining New Levels in the Aurea CRM win Administrator Guide
- Modules: Name of the module in the current language.
- Infoareas: The info areas contained in the level.
This parameter is supported by the main module as well as the Rights, Maintenance, Communication, Print, Analysis, Import and Export modules.
--quiet
If you start an Aurea CRM function using this parameter, no messages are displayed if errors occur. Use this parameter for sessions that should run in the background.
mmim.exe -u <user name> -p <password> -f "Company Import" --quiet
mmba.exe -u <user name> -p <password> --xml "Revenue 2008" --quiet
--exit
Automatically closes an update.CRM module
:
mmba.exe -u <User> -p <Password> --writedbstr --exit
--exit
parameter
only works in combination with the --write*
parameters, see mmba.exe Parameters.You can use
echo %errorlevel%
and --quiet --exit
during
batch processing to return General Error Codes. (Example:
mmco.exe -u no_user --quiet --exit
returns error code
105.)