Professional Documents
Culture Documents
Makug 10.1.2.0 W
Makug 10.1.2.0 W
Version 10.1.2
Published February 26, 2015
Copyright © 2015 Infor. All rights reserved.
Important Notices
The material contained in this publication (including any supplementary information) constitutes and
contains confidential and proprietary information of Infor.
By gaining access to the attached, you acknowledge and agree that the material (including any
modification, translation or adaptation of the material) and all copyright, trade secrets and all other
right, title and interest therein, are the sole property of Infor and that you shall not gain right, title or
interest in the material (including any modification, translation or adaptation of the material) by virtue
of your review thereof other than the non-exclusive right to use the material solely in connection with
and the furtherance of your license and use of software made available to your company from Infor
pursuant to a separate agreement, the terms of which separate agreement shall govern your use of
this material and all supplemental related materials ("Purpose").
In addition, by accessing the enclosed material, you acknowledge and agree that you are required to
maintain such material in strict confidence and that your use of such material is limited to the Purpose
described above. Although Infor has taken due care to ensure that the material included in this publication
is accurate and complete, Infor cannot warrant that the information contained in this publication is
complete, does not contain typographical or other errors, or will meet your specific requirements. As
such, Infor does not assume and hereby disclaims all liability, consequential or otherwise, for any loss
or damage to any person or entity which is caused by or relates to errors or omissions in this publication
(including any supplementary information), whether such errors or omissions result from negligence,
accident or any other cause.
Without limitation, U.S. export control laws and other applicable export and import laws govern your
use of this material and you will neither export or re-export, directly or indirectly, this material nor any
related materials or supplemental information in violation of such laws, or use such materials for any
purpose prohibited by such laws.
Trademark Acknowledgements
The word and design marks set forth herein are trademarks and/or registered trademarks of Infor and/or
related affiliates and subsidiaries. All rights reserved. All other company, product, trade or service
names referenced may be registered trademarks or trademarks of their respective owners.
Publication Information
Release: 10.1.2
Publication date: February 26, 2015
Document Number: MAKUG_10.1.2_W_01
Version Log
The version log describes the changes between versions of this document.
Part Number Release Date Description
updated for version 9.0.3.0
1.0 2009-05
Added the following sections: Working With Entities
2.0 2009-10
in M3 Adaptation Kit and Enabling the Extended
Access Mode.
Updated the section: MAK Navigator.
Updated content in MAK Navigator and Action
Marking a Program.
Updated the procedure Exporting to Tempfix.
Global change in the allowed length and characters
in an action number.
Updated for version 9.0.5.0
3.0 2010-05
Updated for version 9.0.6.0
4.0 2010-10
Updated for version 9.0.6.1
5.0 2011-05
Updated for version 9.0.7.0
6.0 2011-11
Added the section: "Working with Metadata
Publisher" on page 134
Updated for version 9.0.8.0
7.0 2012-10
Update for version 10.1.0
8.0 2013-03
Update for version 10.1.1.0
9.0 2014-05
Updated the topic: Creating a MAK project with new
settings
Update for version 10.1.2
10 2015-05
MAK Navigator.................................................................................................................................14
Properties.........................................................................................................................................22
Editor Area.......................................................................................................................................22
Fixing a Project................................................................................................................................34
Creating an Entity.............................................................................................................................38
Editing an Entity...............................................................................................................................43
Exporting Entities.............................................................................................................................50
Exporting to Tempfix.........................................................................................................................53
Editing a Program............................................................................................................................61
Copying a Field.............................................................................................................................72
Editing a Field...............................................................................................................................74
Cutting a Field...............................................................................................................................76
Deleting a Field.............................................................................................................................76
Creating Keys................................................................................................................................87
Creating a Condition.....................................................................................................................88
Importing a Column.......................................................................................................................90
Deleting a Column.........................................................................................................................95
Deleting a Condition......................................................................................................................95
Moving a Row...............................................................................................................................96
Importing a Field.........................................................................................................................101
Editing a Field.............................................................................................................................102
Deleting a Field...........................................................................................................................103
Moving a Field.............................................................................................................................104
Synchronizing Records...............................................................................................................127
ServerView.....................................................................................................................................138
Eclipse Debug................................................................................................................................138
Viewing Variables........................................................................................................................138
Creating Locks...............................................................................................................................150
Comparing Entities.........................................................................................................................155
Appendix B: Bibliography..............................................................................................................159
List of Reference Documents.........................................................................................................159
• Programs
• Database interfaces
• Data structures
• Console
• Problems
• Error Log
• MAK Administration
• MAK Debug Server
• Progress
MAK Navigator
The M3 Adaptation Kit (MAK) Navigator tab contains a list of MAK projects and entities. Opening or
closing a project in the MAK Navigator also opens or closes any Eclipse project or an entity that is
connected to that MAK project.
The following table lists the different icons for resources and other objects that appear in the MAK
Navigator:
The following table lists the decorators that annotate the icons for resources and other objects that
appear in the MAK Navigator:
question mark This icon indicates that the project is connected to the
SVN repository, but the entity has not been added to
Version Control.
market This icon is displayed when MAK detects that the program
exists in both MVX, Market and Industry components.
Option Description
This option allows you to do a free text
search to display only entities matching the
filter text. An Asterisk * can be used as a
wildcard.
The icon to the right of the input field can be
used to clear the search.
Filter This option allows you to select MAK
Navigator filter options.
When you click the Filter button, the following filter options are displayed:
When the "Filter on A/N" is checked, the Action Number Selector is displayed. The user can now select
which Project A/N is available to filter with.
Task Description
Open This is used to open the selected entity in the
editor for modifications.
Build This is only used for compiling entities when a
Simple MAK project is used.
Delete This is used to delete a selected entity or project
in the MAK Navigator tab.
Import This is used to import non-local entities to your
workspace. You can import these files not
associated with any MAK Project in the workplace
using the Local node.
Deploy This is used to deploy a selected entity from the
local workspace to the M3 BE server.
Deploy A/N This is used to deploy multiple entities connected
to the same action number.
Set Action Number This is used to set the action number for the
selected entity.
Get This is used to fetch a copy of an entity from the
M3 BE Server to a local project. You have the
following options:
• The Get Entity command retrieves a copy of
an entity that can be deployed.
• The Program read-only command gets a
program in read-only mode that can be used
for debugging a program.
File Description
<MAK Project Name>.configInfo.txt This file contains essential locations of the
libraries to be used concurrently by MAK. Read
and Write (+R +W) access status is appended to
each directory entry to indicate the corresponding
access in them.
<MAK Project Name>.classpathInfo.txt This file contains the classpath information of the
project.
<MAK Project Name>_properties.txt This file contains miscellaneous property value
pairs.
misc.txt file This file contains the Java Runtime Version,
Platform, Java Temp, Workspace path, and
Access control file path.
Similar to the <MAK Project Name>.configInfo.
txt, this file also has Read and Write (+R +W)
access status for Java Temp, Workspace path,
and Access control file path.
linkedFolders.txt This file is used to check the conditions of the
linked folders used in MAK. This information is
useful when users attempt to copy-paste their
workspaces in different locations. This action is
strictly not supported by MAK but to determine if
such actions were performed, the conditions are
listed with status "ok" or "broken".
configDetails.txt This file contains the same details found in
Eclipse when you select Help > About >
Configuration Details.
makInfo.txt and about.mappings This file contains the MAK Version and build.
config.ini and .eclipseproduct These files contain the configuration and
information of the current Eclipse software used.
mak.log.*, profiling.log and .log These files are important MAK and Eclipse log
files. They contain useful error logs for
troubleshooting.
wsProjects.txt This file contains information about which projects
exist in the workspace, and if the said projects
are open or closed.
Properties
The Properties tab contains information about selected entities. When a project node is selected in the
M3 Adaptation Kit (MAK) Navigator view, the properties of that particular project are shown in the
Properties tab below the MAK Navigator tab. Information about the M3 configuration that a particular
project is connected to, the action number that is currently selected (if any) to filter the entities in the
project, the default language selected and others are shown.
Tip: The same information can also be accessed by clicking File > Properties or right-clicking the entity
and selecting Properties > General in the context menu.
If you select an entity, the Properties tab is displayed with the properties of the entity, such as the Action
number that the entity is connected to, the deploy details, lock status and source path.
This Action Number corresponds to an action log that is used to keep track of an entity under work or
deployed. It contains all the file paths and various states of the Action Number.
Editor Area
The editor area is used to display the appropriate editor that is connected to the type of file or entity
that you want to edit. The name of the file is displayed in the tab of the editor. If an asterisk (*) is
displayed to the left of the tab, the editor has unsaved changes.
You can right-click the editor area to show available commands. The menu is context-sensitive, that
is, it differs depending on which type of entity that is displayed in the editor. For more information about
these commands, see the Eclipse documentation in http://www.eclipse.org.
Tab Description
Console This tab displays information about the performed
actions.
Problems This tab is used to display compilation errors and
warnings.
Error Log This tab is used to show more severe errors
related to the tools.
MAK Administration This tab is used for the following tasks:
• Maintaining Action Logs
• Maintaining Locks
• Viewing and Deleting Entities in the Sandbox
MAK Debug Server This tab is used to manage the MAK Debug
feature from within MAK.
For more information, see Debugging in M3
Adaptation Kit.
Progress This tab provides information about processes
that run in the background.
5 Select Window > Open Perspective > Other. The Open Perspective window is displayed.
The project properties window contains the settings of the selected project. Some are editable and
some are read-only. The following table lists the different project properties:
Property Description
Build This property shows the type of the project. The
type of a project is chosen when it is created and
can not be changed after that.
Custom language file Optional. Type a three character prefix that will be used when working
prefix with a new custom language file. The prefix should be the same as the
custom component that you are working with.
Any combination of three characters is valid except MVX, HUM, and Mxx
where xx is a valid language code.
10 Click Finish. The project is now created and can be viewed in the MAK Navigator tab.
The name of the project is derived from the server address, server port, and system configuration
name. The project node contains the Local folder and project entities grouped according to
component. For example, MVX, MSE, and others.
Before you start Make sure that you already have existing projects or environments in your workspace.
Configuration Select a system configuration from the Configuration list, which contains
all the system configurations available under the particular M3 BE Server
settings.
You cannot select a system configuration that has been used by an existing
project, with the same environment in the current workspace.
10 Click Finish. The project is now created and can be viewed in the MAK Navigator tab.
The name of the project is derived from the server address, server port, and system configuration
name. The project node contains the Local folder and project entities grouped according to
component. For example, MVX, MSE, and others.
9 Click Finish.
The project is now created and is viewable in the MAK Navigator tab.
The full project name is concocted from the server address, server port, and system configuration
details. The project node contains the Local folder and project entities grouped according to
component. For example, MVX, MSE, and others.
5 Make sure that the tools.jar provided has at least the same Java version or higher than the Java
version used by Business Engine (BE). For more information about Java version requirements, see
System Requirements in M3 Adaptation Kit Installation Guide.
6 If there is no entry for tools.jar, click Add External JARs.
7 Browse for the JAR file in the local Java SDK installation folder.
8 Click Apply the OK to save the changes.
Fixing a Project
When Eclipse is started and when a project is created, M3 Adaptation Kit (MAK) checks to see if there
is a mismatch between the settings of the local projects and the settings currently in their corresponding
configuration in M3. MAK also checks to determine if the M3 configuration and its components have
been set up properly server side. If any mismatch is found a warning is shown presenting the problem
and how to solve it.
If there is a mismatch between a project and the current M3 configuration, the warning message has
the Fix button enabled. Clicking this button updates the local project with settings currently in the
configuration on the server. Issues that can be fixed this way are:
• Component mismatch
• Class path mismatch
• View path mismatch
If the problems are found on server side, the Fix button is disabled. Server side issues could be:
• Recommended enabling of HFix or VFix
• Mismatch between class path and view path
Creating an Entity
Use this procedure to create a new entity.
Important: The entities you can create depends on whether Extended Access Mode is enabled or
not. For more information, see Working With Entities in M3 Adaptation Kit.
3 Provide necessary information to create a new entity. Consider the following fields:
Project Select a project in the list where you want to create your entity.
Show only action Select this option to filter the Action Numbers that are unused or belonging
numbers that are to the particular MAK user.
unused or belonging to
<User ID>
Create Lock Select this option to lock a source by default. If you do not lock a source,
you cannot deploy the entity.
4 Click Next. The Create a new entity by copying an existing one window is displayed.
5 Provide the following information. Consider the fields applicable to the entity you are creating:
Name Type a name for the new entity that you are creating.
Package This field is only available if you are creating a new program. Select a
package component to which the new program is to be associated with.
Note: Program Entity will prompt the wizard to automatically identify the matching package for the
selected component. A read-only package field will be displayed except for the Standard component.
6 Click Finish. The new entity is created and listed under the appropriate component and folder in the
MAK Navigator tab.
If MAK detects that the Program exists in both MVX and Market components, then the program will
be marked by an M icon.
Getting an Entity
Use this procedure to get an entity. To work with an existing entity, the source file must first be copied
from the M3 Business Engine (BE) Server into the local environment in Eclipse.
Important: The entities you can get depends on whether Extended Access Mode is enabled or not.
For more information, see Working With Entities in M3 Adaptation Kit.
To get an entity
1 In the MAK Navigator tab, right-click a project where you want to put the entity.
2 Select Get > Entity. The Get Entity wizard is displayed.
3 Provide necessary information to get the new entity. Consider the following fields:
Project Select a Project in the list
Action Number Allocate your entity to an action number by performing one of the following
options:
• Select an action number in the Action Number list. The list is sorted
in reverse alphabetical and descending numerical order.
• Use Ctrl + Space for content-assisted text.
• Click the browse icon to view all action numbers and their descriptions.
• Click New to create a new action number for your entity. An action
number can be created up to a length of 14 characters which can
include a dash (-).
Show only action Select this option to filter the Action Numbers that are unused or belonging
numbers that are to the particular MAK user.
unused or belonging to
<User ID>
Create Lock Select this option to lock a source by default. If you do not lock a source,
you cannot deploy it – only to a sandbox. If you do not lock it in this window,
you will receive a message while deploying to lock the entity.
You can lock the entity once it is available in the MAK Navigator tab using
the Lock option in the context menu. However, you should be prepared
to have this entity replaced by a version in HFix or VFix.
Name Type the first characters of the name of the entity that you want to Get
and press CTRL+space. All matching entities will appear in a list. When
you double-click an entity in the list, it will automatically be added to the
selection that lists all files ready for copying to a local workspace. You can
add multiple entities to the selection by repeating the process.
Browse Click Browse to type a search text related to the entity. All matching entities
will be listed. You can select multiple entities at the same time by pressing
Shift or CTRL.
Remove Click Remove to delete entities already in the selection.
Details Click Details to see the information of Status column if it is not empty. The
connected Action Number(s) to the entity will be displayed along with their
statuses. The following are the possible values of the Status Column:
a D - Development
b T - Test
c R - Rejected
d * - Multiple Action Numbers actively connected
Editing an Entity
Important: The entities you can edit depends on whether Extended Access Mode is enabled or not.
For more information, see Working With Entities in M3 Adaptation Kit.
You can edit an entity using the corresponding editor. For more information about editing specific
entities, see the following sections:
• Editing a Program
• Editing an Out Interface
• Editing a View Definition
• Editing a Database Interface
• Editing a Data Structure
Building an Entity
The auto build feature of Eclipse is used to compile the entity. As soon as you save the file, the autobuild
feature takes over and the build happens in the background.
You can click the Problems tab to see if there are build errors.
Deploying an Entity
Use this procedure to deploy an entity. When the source file is compiled successfully, the files can be
deployed. It is recommended to connect only one component to an Action number; otherwise the
system displays a warning.
Important: The entities you can deploy depends on whether Extended Access Mode is enabled or
not. For more information, see Working With Entities in M3 Adaptation Kit.
To deploy an entity
1 In the MAK Navigator tab, select or get an entity.
2 Right-click the entity and select Deploy. The Deploy Entities window is displayed.
Note: If the entity is not connected to an Action number, a message is displayed prompting you to
connect the entity with an Action number.
Deploy to sandbox Select this option if you want to use the MAK Sandbox
functionality. When deploying to the sandbox, the Remove after
deploy setting is disabled and the component will remain in the
MAK Navigator tab.
Selecting this option means that the files are deployed to a
specific folder for each user located under the HFix folder. The
folder is added to the classpath and the modified file can be
tested by the user without affecting other users.
Keep lock on source Select this option to keep lock on the file even after deploying.
This option is selected by default.
Remove after deploy Select this option to remove the entity from the workspace after
deploying.
Set to status Test Select this option to automatically set the A/N status to Test.
Note: If MAK is under Version Control, it performs an auto-commit to the SVN server when an
entity is deployed and its corresponding project is connected to SVN. When you browse the SVN
history of the deployed entity, the comment column will display the following: <AN>: <User Comment>
(Automatic MAK commit)
9 Optional. View the MAK Console for file and location information.
Important: The entities you can deploy depends on whether Extended Access Mode is enabled or
not. For more information, see Working With Entities in M3 Adaptation Kit.
3 Select the Action number that connects the entities that you want to deploy.
4 Click Next. The Deploy Entities window is displayed. All entities in workspace that are connected
to the selected action number are listed.
5 Select one or more entities that you want to deploy using the Action Number.
6 Select the following deploy options as needed:
Deploy to sandbox Select this option if you want to use the MAK Sandbox
functionality. When deploying to the sandbox, the Remove after
deploy setting is disabled and the component will remain in the
MAK Navigator tab.
Keep lock on source Select this option to keep lock on the file even after deploying.
This option is selected by default.
Remove after deploy Select this option to remove the entity from the workspace after
deploying.
Set to status Test Select this option to automatically set the A/N status to Test.
Note: If MAK is under Version Control, it performs an auto-commit to the SVN server when an
entity is deployed and its corresponding project is connected to SVN. When you browse the SVN
history of the deployed entity, the comment column will display the following: <AN>: <User Comment>
(Automatic MAK commit)
Files are also removed from the sandbox when the entity is removed from the MAK Navigator or when
a deploy is done on the specific component with the Deploy to sandbox checkbox cleared.
Exporting Entities
It is possible to export entities deployed for one or several action numbers between fix folders and to
zip files. The zip file can be used to install in an M3 Business Engine (BE) environment. The Export
window presents a list of action logs that can be used when exporting, and a list view which shows the
contents of an action log.
The Action Logs list can be filtered to make it easier to find a particular log. A filter button is located
under the action log list. When the filter button is clicked, a status selection window is displayed.
Selecting a particular status or statuses filters the action log list, and shows logs only in the selected
status or statuses.
In exporting an action log containing entities that have been modified and included in other action logs,
inconsistencies may occur if not all of the action logs involved are exported at the same time. To help
find out if there are such dependencies, a check for dependencies is done when a user clicks Finish.
The check is enabled by selecting Check action log dependencies under the project selection control
in each of the export windows.
The said option is selected by default, indicating that there is an action log dependency check when
clicking Finish. If it is not selected, the export finishes without checking dependencies. When
dependencies are found, a confirmation window is displayed, presenting the dependencies and prompting
the user to choose whether the export should continue.
2 Provide the following information to export from HFix. Consider the following fields:
Check action log This option is selected by default to help you determine if an action log
dependencies that you want to export contains entities that have been modified and
included in other action logs. For more information, see "Exporting Entities"
on page 50.
Action Logs Select one or more action numbers to export.
Action logs connected to standard or market components are not listed.
Action Logs Content This lists the files in the HFix folder connected to the selected the Action
number.
Selection This lists the files waiting for export. If the same physical file is connected
to more than one action log, it will only be added once in the list.
3 Click OK. A window is displayed, informing you whether there are dependencies found.
4 If there are no dependencies, click OK to promote the selected files. All selected non-standard and
non-market files are promoted to VFix. These files are moved together with the action logs.
Otherwise, click Yes to continue the export or No to cancel.
2 Provide the following information to export VFix to service pack. Consider the following fields:
Check action log This option is selected by default to help you determine if an action log
dependencies that you want to export contains entities that have been modified and
included in other action logs. For more information, see "Exporting Entities"
on page 50.
Action Logs Select one or more action numbers to export to a service pack.
Action Logs Content This lists the files in the VFix folder connected to the selected Action
number.
Selection This lists the files waiting for export. If the same physical file is connected
to more than one action log, it is added once in the list and in the resulting
service pack zip file.
Use Base Format Select this if you want to export using base format. The resulting zip file
will be formatted so that it can be installed into the base structure of a
component. An exported base zip file only contains entities from one
component.
Selecting this checkbox will automatically disable the Existing SP and
Suffix fields.
Existing SP If you want to export files to an existing SP file, click the browse button to
select the particular SP. In this case, there is no need to provide the
Destination and suffix details.
Destination Type or browse for the folder where the resulting zip file should be created.
The first time an Export VFix to Service Pack is performed for a particular
project, the target location is empty. For subsequent exports for the same
project, however, the previously selected target location is set as default
path.
Suffix Specify the component name as suffix
Retain copy in VFix Select this check box to keep the files in the VFix folder after export;
otherwise, the files are removed.
Delivery PDF Fill in the fields to provided information used in the PDF file, which is
Information fields created along with the SP file. A calendar option is provided to select the
export delivery date.
3 Click OK. A window is displayed, informing you whether there are dependencies found.
4 If there are no dependencies, click OK to export the selected files from the VFix folder to a service
pack zip file for a customer modification. Otherwise, click Yes to continue the export.
5 Locate and verify the contents of the service pack zip file having the following format: SP<BE
Version>C<Solution number>_<Component>.zip. For example, SP1510C70801_MVX.zip.
Unzip the file to access the PDF file containing all the information pertaining to the Fix.
Exporting to Tempfix
Use this procedure to export projects or entities connected to one or several action numbers that are
located in the HFix or VFix folder to a Tempfix zip file.
To export to Tempfix
1 In the MAK Navigator tab, right-click and select Export > Export to TempFix. The Export to Tempfix
window is displayed.
2 Type or select necessary information to export files to tempfix. Consider the following fields:
Check action log This option is selected by default to help you determine if an action log
dependencies that you want to export contains entities that have been modified and
included in other action logs. For more information, see "Exporting Entities"
on page 50.
Show Select the Fix type folder to export files from – HFix or VFix.
Action Logs Select one or more Action numbers to export to a Tempfix zip file. It is
recommended that you export one action number to one tempfix zip file.
Action Logs Content This lists the files in the folder connected to the selected Action number.
Prefix Select a prefix in the list.
Name The name is automatically filled with the Action number that you selected
by default.
Destination Type the folder name or browse for the folder where the zip file should be
created.
The first time an Export to Tempfix is performed for a particular project,
the target location is empty. For subsequent exports for the same project,
however, the previously selected target location is set as default path.
Keep locks Select this option to retain the entities in the lock state inside A/N.
3 Click OK. A window is displayed, informing you whether there are dependencies found.
4 If there are no dependencies, click OK to finish the export operation. Otherwise, click Yes to continue
the export.
5 Locate and verify the contents of the Tempfix zip file having the following format: <Fix Type>_
<Name>_<Component>.zip. For example, HFix_ABC_MVX.zip.
Important: The functionality to work with programs is only available in M3 Adaptation Kit with Extended
Access Mode enabled. For more information, see Working With Entities in M3 Adaptation Kit and M3
Adaptation Kit Administration Guide.
Program Packages
There are five types of M3 Adaptation Kit (MAK) packages that you can work with:
• Standard – programs that belong to the mvx.app.pgm package
• Market – programs that belong to the mvx.app.pgm.market package
• Customer – programs that belong to the mvx.app.pgm.customer package
• Parameter list (Plist) - programs that belong to the mvx.app.plist package
• Utility list (Util) - programs that belong to the mvx.app.util package
Before you start The database interface that is used in the new program must be fetched into the
M3 Adaptation Kit (MAK) Navigator before creating the new program.
3 Provide necessary information to set up the project settings. Consider the following fields:
Project Select a Project in the list
Action Number Allocate your entity to an action number by performing one of the following
options:
• Select an action number in the Action Number list. The list is sorted
in reverse alphabetical and descending numerical order.
• Use Ctrl + Space for content-assisted text.
• Click the browse icon to view all action numbers and their descriptions.
• Click New to create a new action number for your entity. An action
number can be created up to a length of 14 characters which can
include a dash (-).
Show only action Select this option to filter the Action Numbers that are unused or belonging
numbers that are to the particular MAK user.
unused or belonging to
<User ID>
Create Lock Select this option to lock a source by default. If you do not lock a source,
you cannot deploy the entity.
Name Type a name to the new entity that you are creating.
Package Select a package component to which the new entity is to be associated
with: standard, customer, market, plist – parameter list, or util – utility list.
Component Select a corresponding component to which the new entity is to be
associated with.
Type Only the type "work with" is supported in this version.
Generate Program This option is selected by default. Select this option if you want to create
a new program.
Generate This option is selected by default. Select this option if you want to create
ViewDefinition a new view definition.
Important: The wizard will not proceed if neither Generate checkbox is selected.
Note: The wizard will automatically identify the matching package for the selected component. It
will display a read-only package field except for Standard component.
Note: Panel E is the only Detail Panel created by default. The additional Detail Panels will start
from F to J depending on the number of additional panels you created.
12 Click Finish. The two entities, Program and View Definition, are now created. The Program will be
generated according to the Database Interface and the number of Panels specified. The View
Definition will be generated with all requested panels. The fields that were assigned to each panel
should be visible.
If MAK detects that the Program exists in both MVX and Market components, then the program will
be marked by an M icon.
3 Provide necessary information to get the program. Consider the following fields:
Project Select a Project in the list
Type Program is selected by default.
Name Type the name of the program that you want to get. All matching programs
will appear in a list. Click a program in the list to display the program
description tooltip.
4 Select a program in the list and click Finish. The Opening information window is displayed informing
you that the program will be opened in read-only mode and that although this program can be used
for debug it cannot be edited or deployed.
5 Click OK to continue. The program is opened in the Editor area in read-only mode.
6 Start debugging the program as described in Starting the Debug Server.
Editing a Program
You can edit a program using the Java Editor. The program source is displayed in the editor after
getting a program. For more information about how to use the Java editor, see the Eclipse documentation
found on the http://www.eclipse.org page.
After editing, go to File > Save or press CTRL+S to save your changes.
In the Java Editor, when a program is successfully edited and saved, and locked by the current user,
its source will be automatically updated with the following change:
• public final static String_spNumber is updated with a value of MAK<User ID>_<Date>_
<Time>
For example, public final static String _spNumber="MAK_15895_090311_16:23";.
Action marking is done automatically when a program is modified using the Get command or when a
program is successfully deployed. The action marking is added in the file header under Modification
area - Customer.
When a program is successfully deployed after saving the changes, the existing source will be
automatically appended and updated with the following changes:
• Modification area - Customer in the header is updated with a value of <Action Number>
<Date> <User ID> <A/N Description>
For example, 81229 070927 14473 MMS300CL_does_not_follow_CRS158_selection_fields
• public final static String [][] _standardModifications declaration at the end
of the source is updated with a value of "<Action Number>", "<Date>", <User ID>","
<Description><User ID>__<Time>"
For example, public final static String [][] _standardModifications={
{"80437","070628","11905","Performance_problem_when_read_and_write_to_FTAXTR"}}.
1 Use the Get Wizard to fetch the relevant Program Entity. (See "Getting an Entity " on page 40 for
more information).
2 From MAK Navigator, right-click on the selected entity > Get > Annotation Reports.
3 The reports will be displayed in their respective editors.
Field Details
The Field Details pane is used to edit or copy a field. Select a field of a record format, and click Add to
display this pane. You can also select any field of a record format to display this pane. All the details
of the fields are displayed, allowing you to edit them
Page Details
The Page Details pane is used to edit or copy a page. Select the Pages folder, and click Add to display
this pane. You can also select any page from the Pages folder to display the pane.
Name Type the name of the new record format. By default, the name
begins with the prefix of a particular file, and contains eight
characters.
Suffix Type a suffix or change the suffix.
Stream This is the stream file in which the record format is included.
This field is read-only. However, it automatically reflects any
change or update made in the Suffix field.
Type Select a type of the record format in the list.
4 Click the Out Interface Objects pane area to update the list. The new record format is added to Out
Interface Objects.
5 Press CTRL+S to save the changes.
Field Name Select or type a valid field name to add to the record format.
Reference Field Type or select a field in the Select Reference Field window to
which the added field can be referred.
If a reference field is used here, it is not possible to change the
field characteristics of the adding field. Data of the referenced
field is retrieved in runtime.
Reference File This field is read-only. The table name of the selected Reference
Field.
Type Select a type of the record format in the list. The following types
are possible:
• Blob – binary large entity
• Char – character field
• Decimal – decimal field, zoned.
4 Click the Out Interface Objects pane area to update the list. The field is now added to the record
format.
4 Click the Out Interface Objects pane area to update the list. The new page is added to Out Interface
Objects.
5 Press CTRL+S to save the changes.
4 Click the Out Interface Objects pane area to update the list.
5 Press CTRL+S to save the changes.
2 Click Copy then click the Record Formats folder The Paste button is now enabled.
3 Click Paste. The record format is copied into the Record Formats folder with the same name as that
of the out interface. In the following example CRS602A2 is copied as shown in the out interface
CRS602 marked with a red circle.
4 Click the record format that was copied. The Record Format Details pane is displayed.
5 Edit the name and other details of the out interface as needed.
6 Press CTRL+S to save the changes.
Copying a Field
Use this procedure to copy a field.
To copy a field
1 In the Out Interface Objects pane, select a field belonging to a record format in the Record Formats
folder to copy. The Field Details pane is displayed.
2 Click Copy then select another record format. The Paste button is now enabled.
3 Click Paste. The field is copied into the record format selected in the Record Formats folder.
4 Press CTRL+S to save the changes.
Importing a Field
Use this procedure to import a field to the out interface. When importing a field or several fields, the
settings for the fields are transferred into the out interface.
To import a field
1 In the Out Interface Objects pane, select the record format to add the field to. The Record Format
Details pane is displayed.
2 Click Import. The Select Field window is displayed.
3 Select the table from where you want to reference the field or column. All fields in the table are
displayed in the right panel. The field name, its field characteristics, and connected field heading
are pre-filled for the field to be added. It is possible to change the field metadata according to your
preference.
Tip: You can filter the display based on field names by specifying any character in the first text box.
All the fields containing the specified characters are displayed. Alternately, you can choose to filter
by description by specifying the description criteria in the second text box.
Name Edit the name of the new record format. By default, the name
begins with the prefix of a particular file, and contains eight
characters.
Suffix Type a new suffix or change the suffix.
Stream This is the stream file in which the record format is included.
This field is read-only. However, it automatically reflects any
change or update made in the Suffix field.
Type Select another type of the record format in the list, if needed.
For more information about the field descriptions, see Adding a Record Format to a Page.
3 Click the Out Interface Objects area to update the list.
4 Press CTRL+S to save the changes.
Editing a Field
Use this procedure to edit a field.
To edit a field
1 In the Out Interface Objects pane, select the field in the Record Formats to edit. The Field Details
pane is displayed.
2 Modify the following information as needed:
Reference Field Type or select a field in the Select Reference Field window to
which the added field can be referred.
If a reference field is used here, it is not possible to change the
field characteristics of the adding field. Data of the referenced
field is retrieved in runtime.
Reference File is updated automatically when the Reference
Field changes.
Type Select atype of the record format in the list. The following types
are possible:
• Blob – binary large entity
• Char – character field
• Decimal – decimal field, zoned.
Cutting a Field
Use this procedure to cut a field.
To cut a field
1 In the Out Interface Objects pane, select a field belonging to a record format in the Record Formats
folder to cut. The Record Format Details pane is displayed.
2 Click Cut. The field is copied to the clipboard and not removed until it is pasted to a record format.
3 Select another record, and click Paste.
4 Press CTRL+S to save the changes.
Deleting a Field
Use this procedure to delete a field.
To delete a field
1 In the Out Interface Objects pane, select a field belonging to a record format in the Record Formats
folder to delete. The Field Details pane is displayed.
2 Click Delete. A confirmation window is displayed.
3 Click OK. The field is now deleted.
Important: The functionality to work with database interfaces is only available in M3 Adaptation Kit
with Extended Access Mode enabled. For more information, see Working With Entities in M3 Adaptation
Kit and M3 Adaptation Kit Administration Guide.
Table
The Table pane has a main folder named Table that contains sub-folders for all columns and index
overviews of the selected database Interface.
This pane also contains the different tasks available in the editor. For more information, see Database
Interface Editor Tasks.
Table Overview
The Table Overview pane is used to edit the properties of the table. Select a table in the Table pane
to display this pane. All the details of the table are displayed, allowing you to edit them.
Note: The Browse program, Archiving function, Mass delete function, Program heading for description
fields are only applicable for M3 Business Engine 14.1.2. or later.
Column Overview
The Column Overview pane is used to view the number of columns in a table. This pane is read-only.
Column Details
The Column Details pane is used to edit or copy a column. Select the Columns list, and click Add to
display this pane. You can also select any column in the Columns list to display the pane.
Index Overview
The Index Overview pane is used to add or edit a field in an Index overview. Select a logical view to
display this pane. All the details of the index are displayed, allowing you to edit them. You can also
specify whether the index overview is unique.
Key Overview
The Key Overview pane is used to view the number of keys in an index overview. This pane is read-only.
Key Details
The Key Details pane is used to edit or copy a key. Select the Keys list, and click Add to display this
pane. You can also select any key in the Keys list to display the pane.
Condition Overview
The Condition Overview pane is used to view the number of conditions in an index overview. This pane
is read-only.
Condition Details
The Condition Details pane is used to insert conditions for displaying selected fields in a logical view.
Select the Conditions list, and click Add to display this pane.
4 Press CTRL+S to save the changes. The new Index Overview is now created and added to the
Table pane.
Adding a Column
Use this procedure to add a column in the database interface.
To add a column
1 In the Table pane, select Columns Node in the list.
2 Click Add. The Column Details pane is displayed. The default column name always begins with the
current prefix, for example, MM.
3 Provide the following information as needed:
Name Type a new Field name in this table, with the chosen
field prefix.
Field heading Type the field heading connected to the field or
browse a field heading using the Field Headings
window. The field heading is retrieved from the
language file that is valid according to a language
search order.
Type Select the type of the field data. The following types
are possible:
• String
• Decimal
4 Press CTRL+S to save the changes. The column is added to the table.
Creating Keys
Use this procedure to create keys.
To create keys
1 In the Table pane, select the index overview for which you want to create keys.
2 Select Keys and click Add. The Key Details pane is displayed.
3 Provide the following information:
Creating a Condition
Use this procedure to create a condition for displaying fields in an index overview.
To create a condition
1 In the Table pane, select the index overview for which you want to create conditions.
2 Select Conditions and click Add. The Condition Details pane is displayed.
3 Provide the following information:
From Select a Column name that will be used for the join.
To Click the browse button to select a field heading.
Select the table where the column you want to join
exists. The columns in the table are displayed. Select
the field or column from the list.
Table The table name selected in the Select Field window
is displayed.
Importing a Column
Use this procedure to import a column in the database interface.
To import a column
1 In the Table pane, select Columns Node.
2 Click Import. The Select Fields window is displayed.
3 Select the table from where you want to reference the field or column. All fields in the table are
displayed in the right panel.
The field name, its field characteristics, and connected field heading are pre-filled for the field to be
added. It is possible to change the field metadata to your liking.
4 Select one or more fields to import.
5 Click OK. The Import result window is displayed. The prefixes of the new columns are renamed to
the prefix used in database interface. If the new column name already exists then a number is added
as suffix.
Mass delete function This field is only applicable for M3 Business Engine
14.1.2 or later.
Specify the menu function for a mass delete program
where the table is included.
Program heading for description This field is only applicable for M3 Business Engine
14.1.2 or later.
Specify a program heading that will be used for
description.
Comment Type comments to describe the use of tables. These
comments can also be applied by using the
CommentDB administration tool.
3 Press CTRL+S to save the changes. The changes are now applied to the Table Overview.
Editing a Column
Use this procedure to edit a column in the database interface.
To edit a column
1 In the Table pane, select a column to edit. The Column Details pane is displayed.
2 Modify the following information as needed:
Name Type a new Field name in this table, with the chosen
field prefix.
Field heading Type the field heading connected to the field or
browse a field heading using the Field Headings
window. The field heading is retrieved from the
language file that is valid according to a language
search order.
Type Select the type of the field data. The following types
are possible:
• String
• Decimal
3 Press CTRL+S to save the changes. The changes are now applied to the column.
Editing a Condition
Use this procedure to edit a condition for displaying fields in an index overview.
To edit a condition
1 In the Table pane, select the condition that you want to edit. The Condition Details pane is displayed.
2 Modify the following information as needed:
From Select a Column name that will be used for the join.
To Click the browse button to select a field heading.
Select the table where the column you want to join
exists. The columns in the table are displayed. Select
the field or column from the list.
Table The table name selected in the Select Field window
is displayed.
Deleting a Column
Use this procedure to delete a column in the database interface.
To delete a column
1 In the Table pane, select a column in the list.
2 Click Delete. A confirmation message is displayed prompting you to confirm the deletion of the
selected column.
3 Click Yes to delete the column.
Deleting a Condition
Use this procedure to delete a condition for displaying fields in an index overview.
To delete a condition
1 In the Table pane, select a condition that you want to delete. The Condition Details pane is displayed.
2 Click Delete. A confirmation message is displayed prompting you to confirm the deletion of the
selected condition.
3 Click Yes to delete the condition.
Moving a Row
Use this procedure to move a row up or down in the list.
To move a row
1 In the Table pane, select a row in the list .
2 Click one of the following options:
Up Select this option to move the row one position up in the list.
Down Select this option to move the row one position down in the list.
Important: The functionality to work with data structures is only available in M3 Adaptation Kit with
Extended Access Mode enabled. For more information, see Working With Entities in M3 Adaptation
Kit and M3 Adaptation Kit Administration Guide.
The Data Structure Editor can detect if a data structure is of type Standard or MI. However, this can
only be done by M3 Adaptation Kit if the data structure already contains a string of length 1. Otherwise,
M3 Adaptation Kit prompts the user for input on how to save the string. For more information about
editing and saving a string, see Editing a Field.
Fields
The Fields pane has a main folder named Table that contains sub-folders for all columns and index
overviews of the selected database Interface.
This pane also contains the different tasks available in the editor. For more information, see Data
Structure Editor Tasks.
Field Details
The Field Details pane is used to edit or copy a field. You can also select any field in the Fields pane
to display the Field Details pane.
Length Type a new value for the length of the field in number
of characters.
Decimals Type the number of decimals allowed. This field is
enabled only for type decimal.
Importing a Field
Use this procedure to import a field in the data structure. When importing a field or several fields, the
settings for the fields are transferred into the data structure.
To import a field
1 In the Fields pane, click Import. The Select Fields window is displayed.
2 Select the table you want to view fields for. The fields are displayed to the right.
3 Select the table from where you want to reference the field or column. All fields in the table are
displayed in the right panel. The field name, its field characteristics, and connected field heading
are pre-filled for the field to be added. It is possible to change the field metadata according to your
preference.
Tip: You can filter the display based on field names by specifying any character in the first text box.
All the fields containing the specified characters are displayed. Alternately, you can choose to filter
by description by specifying the description criteria in the second text box.
Editing a Field
Use this procedure to edit a field in the data structure.
To edit a field
1 In the Fields pane, select a field that you want to edit. The Field Details pane is displayed.
2 Modify the following information as needed:
Length Type a new value for the length of the field in number
of characters.
Decimals Type the number of decimals allowed. This field is
enabled only for type decimal.
5 For Datastructures which MI type is still unknown, if you changed the length value of the field to 1
in step 2, a window is displayed, prompting you to save the string as MI.
• When you click OK, the data structure is saved as MI (MvxString, 1).
• When you click Cancel, the data structure is saved as standard (char, 1).
Deleting a Field
Use this procedure to delete a field in the database structure.
To delete a field
1 In the Fields pane, select a field that you want to delete.
2 Click Delete. A confirmation message is displayed prompting you to confirm the delete action.
3 Click OK. The field is deleted from the Data structure.
Moving a Field
Use this procedure to move a field up or down in the fields list.
To move a field
1 In the Fields pane, select a field that you want to move.
2 Click one of the following options:
Up Select this option to move the field one position up in the list.
Down Select this option to move the field one position down in the list.
1 Modify the Language Entity using the Language Editor. This task is done by New or Get Language
Entity.
2 Deploy the XML file. The changes in the XML file are merged into the language file and the
Master XML file on the M3 BE Server. A zip file containing the XML file with the changes is also
deployed to the server.
3 Use the zip file in LifeCycle Manager (LCM) to update the database with new data.
Important: If the language is new for the component, it is prerequisite to create new language tables
in the database by using the Create Database Language Tables in LCM. For more information about
Creating Database Language Tables, see M3 BE LifeCycle Manager User Guide.
For more information about the procedures on how to open XML file in a special XML editor, or if there
are problems with opening the language file, see M3 Adaptation Kit Administration Guide.
Filter
The Filter pane is used to extract the language constants or messages to the Language Editor based
on a given View Definition and panel name. The constant or message IDs are fetched from the view
definition file. Before you can fetch any IDs, the view definition must already exist in the workspace
and listed in the MAK Navigator tab. It is possible to add constants for the whole program or select
panels only. You have the option to filter which panels to work on.
Search
The Search pane is used to search for headings and messages associated with the language file. using
wildcards.
Language Objects
The Language Objects pane is used to display all headings and messages associated with the language
file. This pane also contains the different tasks available in the Language editor. For more information,
see Language Editor Tasks.
Base Language
The Base Language pane is used as a language reference when translating the fields of language
objects. You can select the language code in the list to show the translation of a message or heading
in that language.
Before you start Make sure that the view definition already exists in the workspace and is listed in
the MAK Navigator tab in order to use the Filter feature.
2 Click Filter. The headings or messages of the selected panel are displayed in the Language Objects
pane.
3 Select a message or heading ID or message or heading in the list. The Edit CON Object or Edit
MSG Object pane is displayed.
4 Modify the heading or message as needed.
Tip: You can use the Base Language pane as language reference when you translate the fields.
You can select the language code in the list to show the message or heading in that language.
5 Press CTRL+S to save the language file. The Language Editor reflects the changes made.
2 Click the Search icon. You can stop the search anytime by clicking the Stop icon. The results are
displayed in the Language Objects pane.
Heading ID Type the Program Heading ID. The ID must be seven characters
long, beginning with two to three uppercase letters followed by
numbers.
Heading Type the content or description of the program heading. A read-
only counter to the right of the field automatically indicates the
number of characters used.
4 Click the object name to reflect the changes. A new program heading with a green lock is displayed
in the Language Objects pane.
4 Click the object name to reflect the changes. A new field heading with a green lock is displayed in
the Language Objects pane.
4 Click the object name to reflect the changes. A new information message with a green lock is
displayed in the Language Objects pane.
Message ID Type the Standard Message ID per Field Heading. The ID must
be seven characters long.
Type Select the Type of the substituted variable, &1:
• DEC
• CHAR
4 Click OK to save the changes made to the template or click Cancel to cancel any changes made
and to close the Standard Message Template display. These options appear only when Template
is clicked.
5 Click the object name to reflect the changes. A new standard message with a green lock is displayed
in the Language Objects pane.
Important: The heading ID cannot be modified. Only the Heading field and any type (CHAR or DEC)
can be edited. A heading can be edited only if the user has a green lock icon.
Heading ID You cannot modify the Program Heading ID. This is a read-only
field.
Heading Type the content or description of the program heading. A read-
only counter to the right of the field automatically indicates the
number of characters used.
4 Click the object name to reflect the changes. An asterisk (*) is displayed on the second column of
the modified heading in the Language Objects pane.
Important: The heading ID cannot be modified. Only the Heading field and any type (CHAR or DEC)
can be edited. A heading can be edited only if the user has a green lock icon.
Heading ID You cannot modify the Field Heading ID. This is a read-only
field.
Suffix This is the Content of the field heading, which depends on the
suffix, as follows:
• AA – the entire field heading that can accommodate up to
40 characters. By default, the heading starts with the letter
W.
• 03 – first three positions or characters of the field heading
• 05 – first five positions or characters of the field heading
• 10 – first ten positions or characters of the field heading
• 15 – first 15 positions or characters of the field heading
• C0 – column heading showing the first 15 characters
• C1 – first row of a two-row column heading showing the first
15 characters
• C2– second row of a two-row column heading showing the
first 15 characters
4 Click the object name to reflect the changes. An asterisk (*) is displayed on the second column of
the modified heading in the Language Objects pane.
Important: The message ID cannot be modified. Only the Message field and any type (CHAR or DEC)
can be edited. A heading can be edited only if the user has a green lock icon.
Message ID You cannot modify the Message ID. This is a read-only field.
Message Type the content of the information message. The field can
accommodate up to 128 characters.
Type (1-4) Select the Type of the substituted variable:
• Character
• Decimal
The Type lists are enabled when you type &1, &2, &3, or &4 in
the Message field, where &1, &2, &3, or &4 are the variables
that are substituted with the type that you select.
Length Type the Length of the character or decimal type.
Decimal (1-4) Type the number of decimals that a decimal type displays. The
integer values are from 0 through 9. For example, if the length
of the decimal type is set to 4, and that of the Decimals is set to
2, then the value presented is 1234.42.
4 Click the object name to reflect the changes. An asterisk (*) is displayed on the second column of
the modified message in the Language Objects pane.
Important: The message ID cannot be modified. Only the Message field and any type (CHAR or DEC)
can be edited. A heading can be edited only if the user has a green lock icon.
Message ID You cannot modify the Message ID. This is a read-only field.
Type Select the Type of the substituted variable, &1:
• DEC
• CHAR
4 Click the object name to reflect the changes. An asterisk (*) is displayed on the second column of
the modified message in the Language Objects pane.
files for the current language. If no template can be looked up, the GB template is used as the default
template.
3 Modify the information as needed. The character combination {0} is replaced with the value of the
AA message when the template is used.
4 Click OK to save the template and exit the template editor. The values in the 01 – 05 fields are
updated according to the template modification made.
Important: The delete function is only enabled when one of the selected rows has a green lock.
Important: All records are read-only when viewed. The lock status is displayed in the first column of
the Language Objects pane. A red lock refers to record locked by other users while a green lock refers
to a record or records lock by the current user.
Synchronizing Records
Use this procedure to get the latest value or values of a selected record or records from the master
XML file on the server.
Important: The Synchronize tab is disabled when one of the selected rows has a green lock.
To synchronize records
1 In the Language Objects pane, select a record or records that you want to synchronize. If you want
to synchronize all records, proceed to step 2.
2 Click one of the following buttons:
• Synchronize - for particular records
• Synchronize All - for all records
Note: Language Entity Details button will only appear when a language file is included in the list.
contains a text file including the messages from the Application Engineer (AE) of what changes that
are done. The information in the text file is added by the AE during the deployment.
For more information about Creating Database Language Tables and Importing XML to Database, see
M3 BE LifeCycle Manager User Guide.
Note: If a complex Field Help structure has been detected, a warning message will appear that will
prompt you to install Eclipse XML Editor.
Field Help ID This is the ID of the field help message. The ID is, for
example, used in the view definitions in Screen
Designer when referring to the field help message.
Field Heading This is the heading of the field help.
Body This is the Field help message that is displayed for a
specific field.
Show tab symbol Select this option to display the tab symbol in the body:
Preview This is used to create a preview of the help text in a
browser.
Undo This option reverses the latest change in the Body area.
Cut This option removes the selected content from the Body
area and moves it to the clipboard.
Copy This option makes a copy of the selected content and
moves it to the clipboard.
Paste This option pastes the content of the clipboard to the
Body area.
Delete This option removes the selected content from the Body
area.
Select All This option selects all text in the Body area.
You can display the tab symbols by selecting Show tab symbol.
If field help is used the column for “=” is added automatically when displaying the field help.
Important: Before you proceed, ensure that you have set the Metadata Publisher credentials from the
M3 Adaptation Kit settings. For more information, see Setting M3 Metadata Publisher Credentials from
M3 Adaptation Kit from M3 Adaptation Kit Administration Guide.
Ensure that you have set Internet Explorer as your default browser.
Important: MAK will automatically detect if there is an existing debug subsystem running. Clicking
Retry will attempt to close the detected existing connection while clicking Cancel will disregard the
option to start a new debug system.
Important: Ensure that you have stopped an existing debug subsystem process before you can
start a new session.
2 Click the Debugger Properties icon (see red box) to modify the MAK Debugger Settings:
• By default a free port number is assigned while starting the debug server. In the Allowed port
range field, ensure that you fill in both maximum and minimum port values or leave them both
blank. The port range must be within the range of values from 1024 to 65535. You can click the
Default button if you want to reset the port values to their default values.
• If you do not select Auto-connect debug, only the local debug server is started. The activation
of the debug user, the start of the debug subsystem and the start of the connection must be
done manually.
Important: Make sure that the Program being debugged is synchronized with the copy in the M3
Business Engine (BE) or Sandbox. You can do this using the Deploy task. If you need to debug all
changes that you made to the program, you have to deploy it to the Sandbox first to test and then
deploy it to the BE when it's ready.
ServerView
The M3 ServerView will open when the ServerView tab is clicked. For more information on how to user
the Grid Management Pages, see M3 BE LifeCycle Manager User Guide.
Eclipse Debug
• "Viewing Variables" on page 138
• "Changing the Primitive Type" on page 138
• "Changing the MvxString Value" on page 139
• "Changing the Value of an Expression" on page 139
• "Displaying the Value of an Expression" on page 139
Viewing Variables
Use this procedure to display variables in the Variables view.
To view variables
1 Select Window > Show View > Debug > Variables. If the variable is a primitive type, such as int,
long and char, the value is displayed after ‘=’. If the variable is MvxString, the value is displayed
under ‘value’.
2 View the variables and details. You can now start working with variables.
3 Click OK.
For more information about how to run Eclipse debug, see the Eclipse documentation found on the
http://www.eclipse.org page.
You can filter the list using the different combinations such as Fix folder, component, status and user.
The filter is set by clicking Filter on the toolbar.
The filter selection window is displayed when you click the Filter.
After selecting filtering options and clicking OK, only those action logs matching the selected filter are
shown in the Administration Tool’s action log list. If filtering has been set, the filters are cleared by
deselecting all checked items in the filter selection window and clicking OK.
Important: The Action Number cannot be reset using this procedure if it was already connected to
another Action Number which was not exported yet.
2 Allocate your entity to a new action number by performing one of the following options:
• Type an action number in the Action Number list. The Action Number description will appear if
the input Action Number is found. You can also use Ctrl + Space to assist in locating an entry.
• Click the browse icon to view all action numbers and their descriptions.
• Click New to create a new action number for your entity. Type an Action number and description.
An action number can be created up to a length of 14 characters which can include a dash (-).
Note: A warning message is displayed if the selected Action Number is in use by another user.
You can continue using the Action Number but the A/N user will be changed to your User ID.
The following table lists the status levels set and managed by the users. The description of each level
is the recommended usage:
When an action log is first created, it is set to status archive and its component is set to ‘Created’, as
the right component name is only known when the first deployment of this action number takes place.
When the first entry is written to the action log (first deployment associated with this A/N is made), the
status is set to ‘development’ and is placed in HFix. After that you can set it to any status - development,
test, approved or rejected using the Admin Tool.
The entities are connected to any one of the following folders - HFix, VFix, and Archive. When an action
log shows ‘Archive’, only the particular action number is moved to the archive. The files connected to
an action number are not moved to the Archive. ‘Archive’ is the folder (location) and the action log will
be placed in Archive when an action number is created or removed or moved from the VFix folder.
The status can be modified as long as the entity the Action Log is connected to is located in HFix or
VFix. To change the status of an action number, right-click on any row and select Set Status from the
context menu. Choose the status that you want to move the action number to from the list of status
that is displayed. You cannot change the status of an action log in the Archive.
a Select an action number in the Action Number list. The list is sorted in
reverse alphabetical and descending numerical order.
b Use Ctrl + Space for content-assisted text.
c Click the browse icon to view all action numbers and their descriptions.
Note: Action numbers that can be used in this wizard should have
status Development, Test, or Approved and the component should be
available in the present MAK Project
Show only action Select this option to filter the Action Numbers that are unused or belonging
numbers that are to the particular MAK user.
unused or belonging to
<User ID>
4 After selecting a valid Action Number, the connected entities will be listed in the Entities Table.
2 Click Delete. A confirmation message is displayed prompting you to confirm the removal of the
selected action number
3 Click OK. The action log is deleted. All the entities that were mapped to the action log will no longer
be mapped to it.
2 Click Export to export selected action logs or click Export All to export all action logs in the list. The
Action Log – Save As window is displayed.
3 Specify a file name and location where you want to save the file, then click Save.
A corresponding lock file is created in a folder called Locks located in the tools/mak/<environment>/
folder for the component on the server.
Creating Locks
A lock can be created when creating a new entity or getting a working copy of an entity from the server.
To create a lock, select the Create lock check box.
When deploying an entity a check is made to see if the entity is locked. An entity must be locked by
the user to be deployed to the Server. An entity can be deployed to the sandbox even if the entity is
not locked or locked by another user:
• If the entity is locked by the same user that checked out the entity and Keep lock on source is not
selected, the lock file is removed and deployment is done when you click Finish.
• If the entity is locked by the same user that checked out the entity and Keep lock on source is
selected , the lock file is not removed and deployment is done when you click Finish.
• If no lock file exists for the entity and the Deploy to sandbox check box is not selected, a message
is displayed informing the user that the entity must be locked in order to be deployed.
Locking an Entity
Use this procedure to lock an entity in the workspace.
To lock an entity
1 In the MAK Navigator tab, right-click the entity that you want to lock.
2 Select Lock.
3 When the selected entity is locked, the Action Number Selection window is displayed.
4 Select an Action Number in the list.
5 Select Show only action numbers that are unused or belonging to <User ID> to filter the Action
Numbers that are unused or belonging to the particular MAK user.
6 Click OK. A warning message is displayed if the selected Action Number is in use by another user.
7 Click Yes to continue using the Action Number.
8 If the entity exists in HFix or VFix, a window is displayed stating that the local version of the entity
will be replaced with the current copy in HFix or VFix. Click OK to proceed. Otherwise, the entity is
locked and displayed with a green lock. Click OK to proceed.
Unlocking an Entity
Use this procedure to unlock an entity in the workspace. You can only unlock an entity in the workspace
that is locked by you.
To unlock an entity
1 In the MAK Navigator tab, right-click the entity that you want to unlock.
2 Select Unlock. The entity is now unlocked and is no longer displayed with a green lock icon.
4 Click Browse to navigate to the folder where the files are stored. The Select source directory window
is displayed.
5 Select the files that you need to import. You can only import the following file types:
Comparing Entities
Use this procedure to compare two or three local entities.
Before you start If you are comparing non-local entities, make sure that you already imported them
to your workspace. For more information, see Importing Non-local Entities.
To compare entities
1 In the MAK Navigator tab, select the two entities that you want to compare. You can press CTRL
to select the succeeding entities.
2 Right-click and select Compare With > Each Other. The Compare window is opened with the
differences in the two entities highlighted.
3 If three files are selected, the Select Common Ancestor window is displayed, prompting you to select
which of the files should be considered the ancestor before they can be opened in the Compare
Editor.
4 Click OK. The Compare Editor window is displayed.
5 If three files are selected, the Select Common Ancestor window is displayed, prompting you to
choose which of the files should be considered the ancestor before they can be opened in the
Compare Editor.
6 Save the MAK file after merging the changes and deploy it once again. A file in the Local node
(folder) cannot be deployed.
7 Edit the files accordingly.
• When comparing one local and one non-local (with or without ancestor, 2- or 3-way), the local
file is shown to the right in the Compare Editor and be non-editable, and the non-local file is
shown to the left in the Compare Editor and be editable.
• When comparing two local files or two non-local files (with or without ancestor, 2- or 3-way),
both files are editable in the Compare Editor.
8 Save the entity after merging the changes and deploy it once again. A file in the Local node or folder
cannot be deployed.
MvxViewDefMerger Tool
The MvxViewDefMerger merge tool for view definitions can merge two or three .mvx files. The MVX
file contains all information for a view definition and consists of one or more record formats.
A record format can consist of the following:
• record field information
• visual parts
• function keys
• options
• array
• list
You can start the merge tool by first selecting a View Definition file in the M3 Adaptation Kit (MAK)
Navigator and then selecting Merge from the context menu.
The tool presents the MVX file content as a tree with icon symbols:
MvxFile
• Record Format
• Record field info – defining field reference, such as field name, type and length
• Visual Part – edit field, caption, dropdown list, button, check box
• Function keys
• Options