Maintaining company and division
Use this procedure to rename, copy, or remove company and division from the database tables.
-
Right-click your environment and select Database > Maintain Company and Division.
Note: You can also open the task by clicking Database > Maintain Company and Division on the dashboard.
-
Perform either of these options depending on the status of the
environment:
-
If the environment is running, the message "Set M3 BE in maintenance mode" is displayed.
-
If the environment is stopped, the environment will be started in maintenance mode.
Note: The environment is in maintenance mode until the application is started, or set online.
-
- Click Next.
- Specify the user ID and password of the database administrator and click Next.
-
The Select Configuration Option window is
displayed. Select one of these options for importing data:
- Maintain company and division
-
Select this option to maintain specific data.
- Maintain company and division using saved configuration
-
Select this option to maintain specific data using saved configuration.
Note: It is recommended to save the settings or configuration related to data that you frequently use, such as tables, to save you from providing the data again. - Delete configuration
-
Select this option if you want to remove a saved configuration.
When the second or third options are selected, the Configuration field is enabled. It allows you to use or delete a saved configuration.
- Click Next. The Table Selection window is displayed.
-
Specify this information:
- Component
-
Select the component. For an additional component, select the component specified in the Environment Configurator Components pane (MNS104). For standard M3 BE without any modification, select the MVX component.
- Database schema
-
Depending on your selection of component, the applicable schema is displayed in this field.
- Options
-
Select one of these options for Table selection:
-
All tables - Maintain all the tables.
-
Enter table name - Maintain one specific table. Specify the name of the table.
-
Select tables - Displays all tables in a list. Select the tables to maintain.
-
- Click Next. The Rename, Remove or Copy Company and Division window is displayed.
-
Specify this information:
- Rename, Remove or Copy company
-
Select one of these options:
- Rename Company
- Remove Company
- Copy Company
- Division filter
-
Select one of these options:
-
All divisions
-
Selected division
-
- Source company number
-
If you selected Rename or Copy company, you must specify a Source company number.
- Target company number
-
If you selected Rename or Copy company, you must specify a Target company number.
- Click Next.
- The Advanced Copy Configuration window is displayed. Select the number of threads to be used.
- Click Next. The Save Configuration window is displayed.
-
Specify a unique name for the configuration.
The configurations for Maintain Company and Division are saved in the M3BE file structure in M3BE\_db_data\configuration\maintain\.
- Click Next. The Summary window is displayed.
- Verify the values provided and click Finish.
- When the task is finished, a window is displayed. Click OK or click View log. You can also go to the Logs tab to view the log file.