Microsoft Dynamics AX Implementation Guide
Microsoft Dynamics AX Implementation Guide
Implementation Guide
Microsoft Dynamics AX Implementation Guide i
The information contained in this document represents the current view of Microsoft Corporation on the issues
discussed as of the date of publication. Because Microsoft must respond to changing market conditions, this
document should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot
guarantee the accuracy of any information presented after the date of publication.
This documentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED,
OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT.
Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under
copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or
transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for
any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights
covering subject matter in this document. Except as expressly provided in any written license agreement from
Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights,
or other intellectual property.
Microsoft, the Microsoft Dynamics Logo,BizTalk, FRx, Microsoft Dynamics, Microsoft Installer, Internet Information
Services, SharePoint, SQL Server, Visual Basic, Visual C++, Visual SourceSafe, Visual Studio, Windows, and
Windows Server are either registered trademarks or trademarks of Microsoft Corporation, FRx Software
Corporation, or Microsoft Business Solutions ApS in the United States and/or other countries. Microsoft Business
Solutions ApS and FRx Software Corporation are subsidiaries of Microsoft Corporation. All other trademarks are
the property of their respective owners.
Microsoft Dynamics AX Implementation Guide ii
Table of Contents
Changes between Microsoft Axapta 3.0 and Microsoft Dynamics AX 4.0, and
implications for upgrade ............................................................................ 65
Note about upgrading from releases prior to Microsoft Axapta 3.0 .................. 66
Resources for tracking changes in Microsoft Dynamics AX ............................. 66
Changes in configuration keys and security keys .......................................... 67
Migrate Intercompany from Commerce Gateway to Application Integration
Framework (AIF) ........................................................................................... 69
Before you begin upgrading ............................................................................ 74
Upgrade your code in the test environment ................................................. 78
Flowchart: Upgrade your code ................................................................... 78
Prepare a Microsoft Dynamics AX system for code upgrade ........................... 80
Create an upgrade project ......................................................................... 80
Correct your code and customization conflicts ......................................... 81
Use the code compare tool ................................................................... 82
Use the code upgrade tool ......................................................................... 88
Compile the application ............................................................................. 89
Test the system after code upgrade ................................................................. 89
Upgrade your data in the test environment.................................................. 90
Flowchart: Upgrade your data .................................................................... 90
Prepare the test Microsoft Axapta 3.0 system for data upgrade ...................... 92
Prepare a Microsoft Dynamics AX system for data upgrade ....................... 94
Run the Dynamics AX DB Upgrade Preparation Tool ...................................... 95
Upgrade checklist ................................................................................ 95
Compile the application ........................................................................ 98
Development access licenses ................................................................ 99
Prepare database for data upgrade (Pre-synchronize data upgrade) ........ 101
Synchronize your database ................................................................. 103
Update data in all company accounts (Post-synchronize data upgrade) .... 103
Create an upgrade project ....................................................................... 106
Test the system after data upgrade ............................................................... 107
Move upgrades to a production environment ............................................. 107
Flowchart: Upgrade in the production environment ..................................... 108
Prepare your production environment for upgrade ...................................... 110
Prepare a Microsoft Dynamics AX system for upgrade in the production
environment ..................................................................................... 112
Microsoft Dynamics AX Implementation Guide iv
Section Description
Recommended methodology and This section describes the recommended
processes implementation methodology, and
processes to use in implementation and
upgrade.
Planning an implementation or upgrade This section describes key elements to
consider in planning an implementation
or upgrade.
Section Description
Implementation methodology Microsoft strongly encourages our
partners to use the recommended
Microsoft Dynamics implementation
methodology that is described fully in the
Microsoft Dynamics Consulting Toolkit.
Upgrade methodology This section describes the recommended
preparation for and path through an
upgrade project.
Flowchart: Installation process This topic provides a visual overview of
the installation process, and links to all
steps in the process.
Flowchart: Configuring a core installation This topic provides a visual overview of
the configuration process, and links to all
steps in the process.
Microsoft Dynamics AX Implementation Guide 3
Implementation methodology
The Microsoft Dynamics Implementation methodology describes consulting and process
best practices for partners working with Microsoft Dynamics AX, Microsoft Dynamics
Nav, and Microsoft Dynamics GP. Toolkits are available for download from
PartnerSource.
Upgrade methodology
Upgrading to Microsoft Dynamics AX from an earlier product version must be done
using the following stages:
Note For a description of the entire upgrade process, see Flowchart: Upgrade
methodology.
Upgrade code
After you set up your test environment and start the Microsoft Dynamics AX client for
the first time, you must create an upgrade project. When you create an upgrade
project, the process analyzes the application files, and creates the project with
application objects that must also be upgraded. For information about how to create an
upgrade project, refer to Create an upgrade project.
If you have modified application objects in any layer, you must:
Identify where the changes are for these application objects
Analyze your business processes and decide what code modifications you need to
port to the new version
Compare and port your modifications to the new version.
In order to identify the changes to application objects, and then evaluate and port these
changes to the new version, these tools are available:
The Compare tool compares an application object in different layers. Properties, as
well as X++ source code, are compared.
The Code upgrade tool is used to upgrade X++ source code. The tool presents
source code comparisons and provides convenient access to the X++ editor to make
the actual updates.
For details and procedures for upgrading your code, see Upgrade your code in the test
environment.
For details and procedures for testing your system after you upgrade the code, see Test
the system after code upgrade.
Microsoft Dynamics AX Implementation Guide 6
Upgrade data
After you have evaluated and ported code changes to the new version, then you must
upgrade your data. The data must be upgraded because of changes made to the data
dictionary since the last product version. Changes to the data dictionary mean that
tables and/or fields have been added, renamed or deleted. In addition, upgrading to the
new version could require validation and correction of existing data.
After you upgrade your data when you upgrade your system, you must upgrade data
when you import data that was exported from a previous product version. See Import
data from older versions for more information.
Data upgrade is handled by the Data upgrade cockpit (%1 -> %2), which is a part
of the Upgrade checklist.
For details and procedures for upgrading your data, see Upgrade your data in the test
environment.
Restrictions
There are a number of upgrade restrictions that you should be aware of before actually
starting the upgrade:
Version support
Upgrade to Microsoft Dynamics AX 4.0 must be from Microsoft Axapta 3.0 with or
without one of the service packs.
Because data dictionary changes, and as a consequence DEL_ prefixed tables and fields,
are typical from one version to the next, you cannot skip a full version when you
upgrade. For example, you cannot upgrade Axapta version 2.5 information directly to
Microsoft Dynamics AX version 4.0. You must upgrade to version 3.0 first, and then to
version 4.0. If you skip a version, the data upgrade facilities cannot handle data
upgrade, and you are liable to lose data. For more information about upgrading from
versions prior to Axapta 3.0, see Note on upgrading from releases prior to 3.0.
Requirements
Before you begin upgrading, check the following:
Microsoft Dynamics AX Implementation Guide 9
Clean up data
Remove data in the Microsoft Axapta 3.0 database that is not needed for audit trails,
and that is slowing down performance or making the database unnecessarily large.
Before you upgrade your database, select the type of data that you want to clean up by
using the standard filtering mechanism.
1. Start Axapta 3.0 in your test environment (Start > All programs > Navision
Axapta), and log on.
2. Open the Application Object Tree (AOT).
3. Under \Menu Items\Action, open and run the following forms to clean up the
respective types of data:
SysUserLogCleanUp
SysDatabaseLogCleanUp
ProdJournalCleanUp
InventJournalCleanUp
ProdTableCleanUp
SalesParmCleanUp
PurchParmCleanUp
LedgerJournalCleanUp
As an alternative to the Create upgrade project tool, the Compare layers tool can
be used. The Compare layers tool compares any two layers and creates a project with
the objects that differ. As opposed to the Create upgrade project tool, it compares
only two layers and not all existing layers. Additionally, duplicate objects are not per
default deleted when creating an upgrade project. Consequently compare layers may
also be useful as a general tool, such as to give an overview of modifications made in a
certain layer.
The comparison reveals that a number of application objects have been deleted (see
the Status column) since the previous version. If the list comprises objects that you
have added X++ code to, you must manually port your modifications from the previous
version to the current one.
Note If you have modifications in more than one layer, upgrade one layer at a
time. The lowest layer that you have access to should be upgraded first. For
example, if you have a VAR layer and a USR layer, upgrade the VAR layer first and
then the USR layer.
To learn more about how the upgrade process works for different types of application
objects, see Application upgrade: examples.
Microsoft Dynamics AX Implementation Guide 13
The Create upgrade project algorithm is used on each field in the CustTable table. For
field A this results in field A being ignored. No upgrade is necessary.
The create upgrade project algorithm is used on the entire VendTable form. This results
in the form being added to the upgrade project.
There is a potential conflict in the form because it has been changed in two layers. The
form is added to the upgrade project and the conflict must be examined and resolved
manually.
The following graphic shows the decision tree when implementing a hot fix.
Because form A is identical in the new SYS layer and the new USR layer, form A in the
USR layer is obsolete and is deleted.
Version support
Upgrade to Microsoft Dynamics AX 4.0 must be from Microsoft Axapta 3.0 with or
without one of the service packs.
Because data dictionary changes, and as a consequence DEL_ prefixed tables and fields,
are typical from one version to the next, you cannot skip a full version when you
upgrade. For example, you cannot upgrade a Axapta version 2.5 directly to Microsoft
Dynamics AX version 4.0. You must upgrade to version 3.0 first, and then to version
4.0. If you skip a version, the data upgrade facilities cannot handle data upgrade, and
you will lose data. For more information about upgrading from versions prior to Axapta
3.0, see Note on upgrading from releases prior to 3.0.
Example
The field CostValue in the CustInvoiceJour table becomes obsolete in version 4.0 and
is given the DEL_ prefix. When the customer updates from version 3.0 to version 4.0,
the upgrade system manages the move of data from the DEL_-prefaced field to the field
that replaces it.
Any references to the CostValue in X++ code in higher layers must be updated
manually.
When the customer later upgrades from version 4.0 to the next major version, the
DEL_ field is deleted.
For more information about the steps in the installation process, expand the sections
below.
Microsoft Dynamics AX Implementation Guide 19
The table below provides links to detailed steps for each stage in the process:
The table below provides links to detailed steps for each stage in the process:
The table below provides links to detailed steps for each stage in the process:
The table below provides links to detailed steps for each stage in the process:
The table below provides links to detailed steps for each stage in the process:
The table below provides links to detailed steps for each stage in the process:
Microsoft Dynamics AX allows you to add, remove and modify functionality by adjusting
the relationships of the licensing, configuration and security subsystems.
Topic Description
System topology recommendations Describes recommendations for system
topology.
Planning hardware and software Describes hardware and software
minimums.
Planning security Describes considerations in planning
security, including security architecture,
Active Directory directory service user
topology, infrastructure security, and
application security.
Planning data migration Describes considerations in planning data
migration.
Planning reporting Describes considerations in planning
reporting.
Planning maintenance and disaster Describes considerations in planning
recovery maintenance and disaster recovery.
Core topologies
If your customer does not have users outside their domain (external users) that need to
access data, you can use one of the following basic topologies.
Note Although you can install Microsoft Dynamics AX on a single computer for
development and trial purposes, we recommend that you do not install a production
system on a single computer.
Microsoft Dynamics AX Implementation Guide 30
The figure below shows one of the more common topologies that uses three computers:
The figure below shows a core system topology running on clustered servers.
Note If you choose to install the application file server on the AOS cluster, it
should only be installed on a single computer in the cluster.
network). For details about the topology of a traditional perimeter network see Active
Directory user topology.
The Microsoft Perimeter Network Configuration Wizard also helps you install and
configure your Microsoft Business Solutions applications, allowing them to be accessed
by authenticated users outside of your perimeter network. The wizard supports the
following Microsoft Business Solutions applications:
Microsoft Dynamics AX Enterprise Portal
Microsoft CRM Mobile
Microsoft Business Solutions Great Plains Business Portal
The Wizard guides you through the following tasks:
Installing ISA Server 2004 SP1 on your perimeter network.
Configuring three network cards in the computer running ISA Server, one for each
network:
Internal network
Perimeter network
Internet
Configuring ISA Server for the Microsoft Business Solutions products you select, and
testing your configuration.
Microsoft Dynamics AX Implementation Guide 36
The result is a secure network, with external access from the Internet available only to
the specified Microsoft Business Solutions products. In the following figure, you can see
a typical network configuration used with the Microsoft Perimeter Network Configuration
Wizard. For details about how to use the Microsoft Perimeter Network Wizard, refer to
the documentation for the wizard included on the Microsoft Dynamics AX DVD.
The Microsoft Perimeter Network Configuration Wizard also supports other network
configurations that include additional application and Microsoft Internet Information
Servers (IIS), as required for some Microsoft Business Solutions applications. For
example, Microsoft Business Solutions Great Plains Business Portal and Axapta both
support multiple IIS servers. Check the implementation guide for the Microsoft Business
Solutions applications you want to deploy for specific network requirements. Then,
make sure you have the correct number of servers for your planned network before you
begin the deployment process. The wizard is designed to support additional Microsoft
Business Solutions applications as they are released.
Microsoft Dynamics AX Implementation Guide 37
Planning security
Planning security for any Microsoft Dynamics AX system that you implement enables
your customers to help protect their business assets and maintain their system security
in the future. It also lets you and your customers evaluate the security risk the
customer is willing to accept, and document any tradeoffs you make.
Any system you design for a customer should follow Microsoft standard guidelines for
enterprise application security. It should be:
Secure by design
Secure by default
Secure in deployment.
For the latest information on security, refer to the TechNet Security Center. It provides
security tools, security response information, such as security bulletins and virus alerts,
and the most prescriptive security guidance Microsoft has to offer to assist IT
Professionals in securing their systems.
We recommend that you review the security architecture then plan the system's
security in the phases listed described in the topics in this section.
Microsoft Dynamics AX Implementation Guide 39
Security architecture
Microsoft Dynamics AX security architecture consists of infrastructure security and
application security.
Infrastructure security
Microsoft Dynamics AX infrastructure security is built on:
Active Directory directory services configured in native mode. For details about
Active Directory user topology, see: Active Directory user topology. For information
about configuring Active Directory, see the Microsoft Windows Server 2003 Active
Directory Technology Center.
Integrated Windows authentication.
A perimeter network with a firewall for Internet-facing Enterprise Portal.
Secured servers. Many of the servers running Microsoft Dynamics AX components
have specific security requirements. For details, see Plan infrastructure security.
Follow recommended Microsoft practices for securing the servers you are running,
and stay up-to-date on understanding and implementing recommendations that
make sense for your environment. For the most recent guidance, see the Microsoft
Technet Security Center.
Application security
The application security architecture of Microsoft Dynamics AX includes the features
listed below. For more information about creating secure applications, see Microsoft
Dynamics AX Security.
Active Directory users that have been added to Microsoft Dynamics AX. Users that
are not in Active Directory cannot be added. Users cannot be granted permissions
directly.
Microsoft Dynamics AX Implementation Guide 40
If your customer does not have Active Directory installed and configured, refer them to
the best practices in the Microsoft Windows Server 2003 Deployment Kit chapter on
Designing and Deploying Directory and Security Services, located at the Microsoft
Windows Server 2003 Active Directory Technology Center.
2. Enter a name for the group, under Group Scope click Global, under Group type
click Security, and then click OK.
3. Add all external users to the security group that you created.
Business Connector
A domain account to act as the Business Connector Proxy is required when you
configure the Business Connector if your application requires "act-on-behalf-of"
functionality. We recommend that the account be set up as follows:
Password does not expire
No interactive logon rights
The Business Connector Proxy domain account should not be set up as an Microsoft
Dynamics AX user.
Server Set
Application file server The folder containing the application files
should be restricted to the Application
Object Server (AOS) account (the
domain account or Network Service
account that is associated with the AOS
service) and administrators only.
Database server Be sure that you have followed
recommended practices for securing your
database. If you are running a Microsoft
SQL Server, for the latest information on
SQL Server security, see the SQL Server
TechCenter.
Application Object Server The log directory cannot be changed--the
log is always installed to
installationdirectory\log. Restrict access
to the directory to administrators and the
AOS account.
If you are using a domain account for the
AOS account, use an account with the
following rights:
Log on as a service
No positive privileges should be
granted
Enterprise Portal The computer running Microsoft Internet
Information Services (IIS) must be
configured to have Basic authentication
over secure socket layers (SSL) as the
only supported mechanism for Internet
login.
The Enterprise Portal server can be
either in the perimeter network and
Internet-facing, or inside the internal
network.
Note The Enterprise Portal is
Microsoft Dynamics AX Implementation Guide 47
Server Set
dependent on the Business Connector
proxy user, described below.
Be sure that you have followed
recommended Microsoft practices for
securing IIS and Microsoft Windows
SharePoint Services.
For the latest information about IIS
security, see the IIS 6.0
documentation.
For the latest information about
Windows SharePoint Services
security, see the Windows SharePoint
Services TechCenter.
Business Connector proxy user A Windows domain account that acts as
the Business Connector Proxy is used to
support "act-on-behalf-of" functionality.
This functionality is used by Enterprise
Portal for external users or users that are
at times unable to connect to your
application. Other applications can
leverage this functionality. We
recommend that the account be set up
as follows:
Password does not expire.
No interactive logon rights.
Application Integration Framework (AIF) The computer running the Application
Web services Integration Framework (AIF) Web
services must be inside the internal
domain and not Internet-facing.
The server requires the local Windows
group Dynamics AX Web Service
Administrators, which is created by
Setup.
Be sure that you have followed
recommended Microsoft practices for
securing IIS. For the latest information
on IIS security, see the IIS 6.0
documentation.
Reporting server The computer running reporting server
must be inside the internal domain and
not Internet-facing.
The reporting server requires a dedicated
domain account set up with a password
Microsoft Dynamics AX Implementation Guide 48
Server Set
that does not expire, and with the
following rights.
On the Microsoft Dynamics AX
Database computer (if it is a
Microsoft SQL Server):
Not a member of any groups (not
a member of the Users group)
No positive privileges should be
granted
Deny log on locally
Deny logon through Terminal
Services.
On the SQL Server Reporting
Services computer:
Not a member of any groups (for
example, should not be a member
of the Users group)
No positive privileges should be
granted
Should have Deny access through
Terminal Services
Should have Deny access to this
computer through the network
Must not be denied the ability to
log on locally.
Be sure that you have followed
recommended Microsoft practices for
securing IIS and SQL Server Reporting
Services. For the latest information on
IIS security, see the IIS 6.0
documentation. For the latest
information on SQL Server Reporting
Services security, see the SQL Server
TechCenter.
Microsoft Dynamics AX Implementation Guide 49
Client Requirement
Desktop client If no local configuration file is present,
must have read permissions on the file
share where a shared configuration file is
stored.
Business Connector proxy user A Windows domain account that acts as
the Business Connector Proxy is used to
support "act-on-behalf-of" functionality.
This functionality is used by Enterprise
Portal for external users or users that are
at times unable to connect to your
application. Other applications can
leverage this functionality. We
recommend that the account be set up
as follows:
Password does not expire.
No interactive logon rights.
Configuration hierarchy
The figure below shows the configuration hierarchy for security in an Microsoft
Dynamics AX system.
Microsoft Dynamics AX Implementation Guide 51
Best practices
By following a few simple rules in administration, you can increase the security of your
Microsoft Dynamics AX environment:
There is no need for Microsoft Dynamics AX users to have administrative privileges
over the domain, so all Microsoft Dynamics AX user accounts should reside in
restricted, well-defined User Groups. Also, following the principle of least privilege,
anyone using the Microsoft Dynamics AX system should have minimal rights. This
starts at the domain level. A domain user account should be created and used to run
Microsoft Dynamics AX.
If you are uncertain about whether to allow permission to a certain item, leave the
permissions level set to No access. It is better to deny permission to an item and
force an individual to request permission for their group than to grant permission to
an area that a group should not be able to access.
Restrict the number of users who are members of the Administrators group, which
has access to all fields, tables, reports, and modules in Microsoft Dynamics AX by
default. If users are made members of the Administrators group, they can
potentially view reports or data they should not be allowed to see, or change
configurations and business logic in the system. Ideally, only those individuals who
are configuring and administering Microsoft Dynamics AX should be members of the
Administrators group. Access in the Administrators group cannot be altered.
Work with managers who oversee the different groups in your business or
organization to determine permission levels. For example, work with a manager in
the Finance department to determine permissions levels for the Finance group or
groups. The manager knows which groups should have permissions to items like
General ledger and Bank, including permissions on child nodes.
Passwords should never be used across systems and domains. For example, an
administrator responsible for two domains may create Domain Administrator
accounts in each that use the same password, and even set local administrator
passwords on domain computers that are the same across the domain. If this
happens, a compromise of a single account or computer could lead to a compromise
of the entire domain. Passwords should never be reused in this way.
Service accounts should never be domain administrator accounts, and they should
be limited in privilege as much as possible. Domain Administrator accounts are
commonly used as service accounts for common services such as backup systems.
However, it is a security risk to use Domain Administrator accounts as service
accounts, because the password must be stored, or cached, locally on every
computer where the service resides. The password can easily be retrieved by
anyone with administrative rights over the computer. If this happens, the
compromise of a single computer could lead to a compromise of the entire domain.
Service accounts should never be domain administrator accounts, and they should
be limited in privilege as much as possible.
Microsoft Dynamics AX Implementation Guide 53
If you change permissions for a user group, especially if you demote permissions,
restart the server after making the change. If you do not restart the server,
members of the group might retain their former permissions until the next time the
server is restarted.
As a best practice, ask members of a group to log off Microsoft Dynamics AX before
changing permissions and inform all Microsoft Dynamics AX users of the impending
server restart. If necessary, before changing user group permissions, select users in
User group permissions (Administration > Online users) and click End
sessions.
For more information, see Remove users.
ECPCUSTSIGNUP
Any table that begins with HRM
SYSCOMPANYUSERINFO
USERINFO
VENDTABLE
Recommendations for managing access to personal information include:
As part of your business processes, document and communicate appropriate policies
and procedures.
Within the Microsoft Dynamics AX client, restrict access to forms that may contain
personal information to only those groups of employees that require access for
business reasons. For details, see Set up application security.
Restrict access to reports that may list personal information to only those groups of
employees that require access for business reasons. For details, see Set up
application security.
Restrict direct access to the Microsoft Dynamics AX database to Microsoft Dynamics
AX administrators only. See your database documentation on controlling access.
Will you be importing master data (Customers, Vendors, Items, and Ledger
accounts)?
If you will, then the setup required for those files must be completed before
performing the import. Field names and values in Microsoft Dynamics AX may be
different than that of the current system. It may help you to create a record
manually to understand all of the available Microsoft Dynamics AX fields and how
they correspond to the current system.
It is also a good time to consider cleaning the database. Are there old records that
can be deleted or archived? Does your current database contain duplicate records?
Do you want to change numbering schemes?
Financial data is imported into an Microsoft Dynamics AX journal, but it is not
imported directly into data files.
Because of the complex file structures in Microsoft Dynamics AX, financial data
should never be imported directly into the data file, since this causes inconsistencies
in other files.
If financial data is going to be manually entered, data is entered into a journal. After
the financial data has been converted into a journal, the journal can then be
reviewed and posted. When the journal is posted, all of the necessary Microsoft
Dynamics AX files are updated.
Almost any table can be imported into Microsoft Dynamics AX, but it may be easier
or more effective to enter some tables manually.
For example, many of the setup screens, such as Terms of payment, do not have
many records, so it is faster to enter them manually.
Note Create a backup before importing any data into Microsoft Dynamics AX. A
hard copy backup should be performed by your system administrator. An online
backup in Microsoft Dynamics AX can be created by copying the company's
information to a newly created company.
Planning reporting
Microsoft Dynamics AX includes the following options for creating and viewing reports of
your business data:
Standard reports: Microsoft Dynamics AX includes hundreds of reports to help you
analyze your business data. Standard reports are located in the Reports folder in
each section.
Ad hoc reports: Ad hoc reporting enables technical users to dynamically create,
customize, and run reports. Ad hoc reporting is a powerful tool for day-to-day
business analysis. For more information about ad hoc reporting, see Introduction to
ad hoc reporting.
Microsoft Dynamics AX Implementation Guide 56
Online analytical processing (OLAP) reports: OLAP reporting is typically used for
month-end, quarter-end, or year-end business analysis. OLAP can help business
decision-makers identify key trends in their data, which can aid business
forecasting. For more information about OLAP reporting, see Introduction to OLAP
Reporting.
This topic describes important planning considerations for standard, ad hoc, and OLAP
reporting. For specific set up and configuration information, including hardware and
software requirements, see Set up and configure ad hoc reporting or Set up and
configure OLAP reporting.
Identify the data that will be used in report models. Use the standard perspectives
or create new perspectives for report models.
For more information about perspectives and models, see Create an ad hoc report
model.
Configure report model options on the Model generation options form (Tools >
Reporting tools).
Manually generate a report model: Tools > Reporting tools > Model generation
options > Update models.
Set batch mode options for generating a model: Tools > Reporting tools >
Update models > Batch tab
Create and run test report(s) that use the generated models.
For more information about creating ad hoc reports, see Create ad hoc reports.
Alerts
You can use alerts in Microsoft Dynamics AX, your database, and the Event Viewer in
Microsoft Windows operating systems to monitor specific events in the system. Use
alerts to monitor available disk space, system up-time, and user activity.
For details about how to use alerts, see Managing alerts, your database documentation,
and your operating system documentation.
Microsoft Dynamics AX Implementation Guide 61
Maintain system logs in a secure fashion. Keep records of all service packs installed
on Microsoft Windows, your database, and Microsoft Dynamics AX.
On another server or set of servers, assess the steps you need to take to recover
from a disaster. If necessary, amend the steps as necessary to suit the local server
environment, and then test the amended steps.
Make sure that you understand and document the database and file access rights
required to recover the database and application folder and get it to a working
production state.
Plan for the loss of each Microsoft Dynamics AX server role, including the AOS,
database server, application file server, and Enterprise Portal server. You should
also understand the implications of the loss of the Domain Controller to the
Microsoft Dynamics AX implementation.
Review related documentation, such as the Windows SharePoint Services
Administration Guide, so that you are able to recover the other databases used with
Microsoft Dynamics AX.
Section Description
Flowchart: Upgrade methodology This flowchart provides you with an
overview of the entire upgrade process.
Changes between 3.0 and 4.0, and This section provides you with
implications for upgrade information on what has changed since
the previous release, and provides links
to documentation that describes changes
in tables.
Before you begin upgrading This section provides you with important
prerequisites for upgrade.
Upgrade your code in the test This section describes the first phase of
environment upgrade: code upgrade. This section
leads you through the code upgrade
process.
Upgrade your data in the test This section describes the second phase
environment of upgrade: data upgrade. This section
Microsoft Dynamics AX Implementation Guide 63
Section Description
leads you through the data upgrade
process.
Move upgrades to a production This section describes the final phase of
environment upgrade: upgrade in the production
environment. This section leads you
through the final production environment
upgrade process.
Upgrade your help system This section describes how you can move
your customized help contents from the
legacy help system to the new help
system.
Upgrade Enterprise Portal This section describes how to upgrade
your Enterprise Portal.
Upgrade OLAP reporting This section describes how to upgrade
OLAP.
Troubleshoot upgrade issues This section describes workarounds to
some possible problems during upgrade.
Additional resources
For information about upgrading from versions of Axapta prior to 3.0, see Note on
upgrading from releases prior to 3.0.
For developer-oriented resources for upgrade, see Resources for tracking changes in
Microsoft Dynamics AX.
For a list of changes to configuration keys and security keys since the last release, see
Changes in configuration keys.
The table below provides information on what changes have been implemented in
Microsoft Dynamics AX.
Section Description
What's new in implementing Microsoft This section describes the major feature
Dynamics AX changes or enhancements that affect the
way you implement and upgrade
Microsoft Dynamics AX.
What's new for information workers This section describes the major feature
changes or enhancements that affect
Microsoft Dynamics AX Implementation Guide 66
Section Description
how the user works with Microsoft
Dynamics AX.
What's new for IT professionals This section describes the major feature
changes or enhancements that affect
information technology (IT) professionals
and Microsoft Dynamics AX
administrators.
What's new in Microsoft Dynamics AX This section describes the major feature
changes or enhancements that affect
developers working in Microsoft
Dynamics AX.
Migrate Intercompany from Commerce This section describes the intercompany
Gateway to Application Integration functionality that can be migrated from
Framework (AIF) Commerce Gateway to the Application
Integration Framework (AIF).
Data migration
Note All other fields in the EndpointActionPolicy table are set to their default
values.
Microsoft Dynamics AX Implementation Guide 74
Note All other fields in the IntercompanyEndpointActionPolicy table are set to their
default values.
Restrictions
There are a number of upgrade restrictions that you should be aware of before actually
starting the upgrade:
Version support
Upgrade to Microsoft Dynamics AX 4.0 must be from Microsoft Axapta 3.0 with or
without one of the service packs.
Because data dictionary changes, and as a consequence DEL_ prefixed tables and fields,
are typical from one version to the next, you cannot skip a full version when you
upgrade. For example, you cannot upgrade Axapta version 2.5 information directly to
Microsoft Dynamics AX version 4.0. You must upgrade to version 3.0 first, and then to
version 4.0. If you skip a version, the data upgrade facilities cannot handle data
upgrade, and you are liable to lose data. For more information about upgrading from
versions prior to Axapta 3.0, see Note on upgrading from releases prior to 3.0.
Microsoft Dynamics AX Implementation Guide 75
Requirements
Before you begin upgrading, check the following:
Clean up data
Remove data in the Microsoft Axapta 3.0 database that is not needed for audit trails,
and that is slowing down performance or making the database unnecessarily large.
Before you upgrade your database, select the type of data that you want to clean up by
using the standard filtering mechanism.
1. Start Axapta 3.0 in your test environment (Start > All programs > Navision
Axapta), and log on.
2. Open the Application Object Tree (AOT).
Microsoft Dynamics AX Implementation Guide 78
3. Under \Menu Items\Action, open and run the following forms to clean up the
respective types of data:
SysUserLogCleanUp
SysDatabaseLogCleanUp
ProdJournalCleanUp
InventJournalCleanUp
ProdTableCleanUp
SalesParmCleanUp
PurchParmCleanUp
LedgerJournalCleanUp
When the application object changes have been identified, they should be evaluated
and ported to the new version. To make this easier, these tools are available:
CompareThe Compare tool compares an application object in different layers.
Properties, as well as X++ source code, are compared.
To learn more about the Compare tool, see Code compare tool and Use the code
compare tool.
Code upgradeThe Code upgrade tool is used to upgrade X++ source code. The
tool presents source code comparisons and provides convenient access to the X++
editor to make the actual updates.
To learn more about the Code upgrade tool, see Code upgrade tool and Use the
code upgrade tool.
Differences between the objects are indicated by the use of colors, both in the icons in
the tree structure and in the actual node contents. Here, one object is depicted in red
and the other one in blue. Red represents the reference layer, while blue represents the
layer you are comparing with.
A shaded box with a check mark indicates that there are differences in the children of
that node.
Whenever there are differences, they are depicted with an unequal icon (≠) where the
two colors are mixed.
Code lines, properties, or controls that belong to one object appear in that object’s
color. Identical code lines, properties, or controls appear in black.
In the right pane, code lines and property settings that differ have a gray background.
Code lines that differ only in their position have a slightly lighter background.
Microsoft Dynamics AX Implementation Guide 86
Edit the specific object by right-clicking either the new or old object in the left pane,
and selecting Edit, as shown in the graphic below.
The changed code lines may have a small icon to the right. The straight arrow icons
may be used to respectively insert and remove the code line. The bent arrow icons may
be used to move code lines.
Symbol Action
-> remove from current layer
<- insert into current layer
|-> merge the two solutions
Note Lines can be inserted and deleted from the current layer only.
Lines cannot be moved if two objects in the same layer are compared.
Microsoft Dynamics AX Implementation Guide 87
In the Application Object Tree (AOT), select the element you want to upgrade code for,
right-click, point to Add-Ins, and select Code upgrade. This ports any source code
modifications that you have made from the previous version to the new version to the
Code upgrade dialog box. The application object in a tree structure in the left pane,
and a workspace is displayed in the right pane. When you select a method in the tree
structure, a tab is added next to the Workspace tab for each layer that the method
exists in, along with a tab where the layers are compared, as the following graphic
The method names are displayed in bold if there is a conflict between changes made by
Microsoft and changes made for customization. That is, the objects are not identical
because some changes have been made in one or both layers (for example, SYS and
old USR). Examine and compare these objects to see whether an upgrade of the code is
required.
Example
A conflict is identified as a situation when the SYS layer has changed as compared to
the previous version (the old SYS), and:
The object exists in the current layer, for example the old USR layer, even though
the object might be identical to that in the old SYS layer;
- or -
The changes are not identical.
The layers in the example might also be, for example, CUS and USR or CUS and BUS.
Microsoft Dynamics AX Implementation Guide 88
The following illustration shows the comparisons that are made on a system with a SYS
and a USR layer as well as the corresponding old layers.
Click Compare, and select the layers to compare in the dialog box that opens, as
shown in the following
A new tab is created displaying the comparison, and exists for that method only.
To test whether the code upgrade to the Microsoft Dynamics AX system has succeeded,
perform at least these minimum steps:
Start all Application Object Server (AOS) instances.
Launch a client that is connected to each running AOS instance.
Test that users can execute the most common tasks for your system.
Test that the administrator can run the system maintenance tasks.
Test that users can execute the most vital tasks for your system.
Test that the permissions settings is working right by checking that users have
access to the data they had access to prior to upgrade.
1. Preparation
1. Install Axapta 3.0 system in your test environment.
See your Axapta 3.0 user documentation for information on installation. Installation
of an Axapta 3.0 system consists of the following:
Application installation
Application Object Server installation
Client installation
2. Back up the Axapta 3.0 database in your production environment, and restore it to
the Axapta 3.0 system in your test environment (see Microsoft SQL server
information, located at Microsoft SQL Server documentation).
3. Copy the application files (*.aod, *.ahd, *.ald, *.add, *.khd) from all layers above
the DIS layer from your Axapta 3.0 system. These layers are the modified 3.0
layers. Copy the application files to your Axapta 3.0 system in your test
environment.
2. Clean up data
Remove data in the Microsoft Axapta 3.0 database that is not needed for audit trails,
and that is slowing down performance or making the database unnecessarily large.
Before you upgrade your database, select the type of data that you want to clean up by
using the standard filtering mechanism.
1. Start Axapta 3.0 in your test environment (Start > All programs > Navision
Axapta) and log on.
2. Open the Application Object Tree (AOT).
3. Under \Menu Items\Action, open and run the following forms to clean up the
respective types of data:
SysUserLogCleanUp
SysDatabaseLogCleanUp
ProdJournalCleanUp
InventJournalCleanUp
ProdTableCleanUp
SalesParmCleanUp
PurchParmCleanUp
LedgerJournalCleanUp
Microsoft Dynamics AX Implementation Guide 93
Upgrade checklist
Use the Upgrade checklist during Setup to guide you through the tasks needed for an
upgrade. As each option is completed, the item is checked by the system. Most of these
items are one-time setup options.
Icons are used to mark the status of the tasks involved. Some tasks are mandatory,
and some tasks depend on other tasks being completed first. Tasks must be completed
from the top down.
The Upgrade checklist starts automatically when you:
Install a new version of Microsoft Dynamics AX on top of an existing version
Install a new service pack on top of an existing version of Microsoft Dynamics AX
Import a .dat file (*.dat) that is exported from an older version of Microsoft
Dynamics AX.
An automatic pop-up is triggered by comparing the version number in the current
application and the version number in the new application or in the *.dat file. You can
also open the Upgrade checklist by clicking Administration > Setup > System >
Checklists > Upgrade checklist.
Microsoft Dynamics AX Implementation Guide 96
Upgrade checklist
Compile application - Update references and ensure that the application is ready
for use. This process takes 30 minutes or more to run, and must be completed if
there is more than one layer in your system. This ensures that all object references
are updated and the application is ready to use. This is also necessary during new
installations with a Service Pack, since the references form the standard application
must also be updated. This option is also available from under Administration >
Periodic > Compile application. Close the Compiler output window when finished.
For more information, see Compile the application.
License information - Import or enter the Microsoft Dynamics AX licenses that
were purchased. The license information is used to enable the modules and
functions that your company is implementing. This option is also available from
under Administration > Setup > System > License information. For more
information, see Add license keys.
Presynchronize data upgrade - Gets database information ready for
synchronization. For more information, see Prepare database for data upgrade (Pre-
synchronize data upgrade).
Synchronize - Synchronizes the database data. For more information, see
Synchronize your database.
Postsynchronize data upgrade - Finalizes the synchronization of database
information. For more information, see Update data in all company accounts (Post-
synchronize data upgrade).
Create upgrade project - Uses the Compare tool in Microsoft Dynamics AX to find
objects that conflict with lower layer objects and which need a manual upgrade.
Obsolete objects are deleted. For more information, see Create an upgrade project.
Microsoft Dynamics AX Implementation Guide 97
Field identifications
If a field is deleted and you subsequently restore a backup, the field gets a new
identification even though it logically has not changed. This means that all your code
that refers to this field will not execute.
During development you may decide that you do not need a specific field. Instead of
deleting the field, rename the field using the following format:
DEL_<Original Name>
This makes sure that you maintain the same field identification, and if you need this
field later on, it is just a matter of removing the DEL_ from the field name.
Tip Create a new security key that can be added to the items that you want to
delete. This is a safe way of "deleting." This strategy allows you to keep the field
(and identification) in your project and when you are sure that your project runs
without problems, you can disable the security key and get rid of the field in the
physical database.
Microsoft Dynamics AX Implementation Guide 98
4. Click OK.
The Configuration dialog box appears and you are asked if you want to
synchronize your database.
5. Click Yes.
6. Close the License information window.
Base Package
Base Package gives access to:
Create or modify menus (user menus, main menu, and so on).
Create or modify user Forms.
MorphX
The MorphX development license gives access to the Data Dictionary node, where
tables, fields, enums, and extended data types are maintained. MorphX development
license also gives the ability to create or modify forms.
Microsoft Dynamics AX Implementation Guide 100
It is possible to add, change and delete forms, tables, extended data types, macros,
menus, reports, jobs, and queries. Methods related to tables, for instance forms, can be
changed. For example, this allows you to change the standard information when adding
new customers.
An example of a change in extended data types by using MorphX is changing the
lengths of account numbers.
The Application Object Tree (AOT) displays the following nodes:
Data Dictionary
Forms
Macros
Reports
Queries
Jobs
Menus
Menu Items
Resources
System Documentation
Application Developer Documentation
Application documentation
Web MorphX
The Web MorphX Development Suite license gives access to the Microsoft Dynamics AX
Web Development Framework.
The AOT displays the following nodes:
Web Forms
Web Reports
Web Menus
Web page
Web Editor
Style Sheet Editor
X++
The X++ development license gives you full access to all classes in Microsoft Dynamics
AX, and the development code for the CUS layer. This gives you the ability to modify
things like the invoice routine, or the posting process for a ledger journal. Having the
development code for the CUS layer allows customers to place their modified
application objects in the CUS layer, or the USR layer, or both.
Microsoft Dynamics AX Implementation Guide 101
It is possible to add, change, and delete classes. For example, you could change the
logic in an invoice update, which is defined in the class SalesFormLetter.
The graphic below shows how jobs are transferred between the upgrade cockpit to and
from the batch queue, and between the batch queue to and from the batch server.
Handle errors
When the status of a job is Error, you can detect the source of the error by doing the
following:
1. Highlight the row that shows the error, and click View job errors.
A new dialog appears that shows the source of the error.
2. After you have investigated the source of the error and fixed it, click Rerun job to
run this job again. The status of this job becomes Waiting.
Detect bottlenecks
When the status of a job is Waiting, you can detect which jobs it is waiting for by
selecting the job and clicking View job predecessors. A dialog appears showing you
which jobs must be finished before this job can be put into the batch queue.
You can also detect how much time various jobs have been running by sorting through
the Time running column. This indicates the time the jobs have been running, so that
you can detect scripts that are running an unusually long time.
The data upgrade cockpit helps manage the upgrade by using batch functionality. The
tool gives an overview of the jobs that must be run when you upgrade from Microsoft
Axapta 3.0 to Microsoft Dynamics AX, and helps you manage their processing. One line
in the table represents one upgrade job.
Open the data upgrade cockpit from the Upgrade checklist by clicking Administration
> Setup > System > Checklists > Upgrade checklist > Postsynchronize data
upgrade.
Note You must complete all preceding tasks in the Upgrade checklist in order to
work with the data upgrade cockpit.
The upgrade cockpit opens in Pause mode. Click Run to submit jobs to batch.
The status of a job is either Ready, Waiting, Executing, Finished or Error.
After you complete post-synchronization, you are ready to create the upgrade project.
For more information, see Create an upgrade project.
Handle errors
When the status of a job is Error, you can detect the source of the error by doing the
following:
1. Highlight the row that shows the error, and click View job errors.
A new dialog appears that shows the source of the error.
2. After you have investigated the source of the error and fixed it, click Rerun job to
run this job again. The status of this job becomes Waiting.
Microsoft Dynamics AX Implementation Guide 106
Detect bottlenecks
When the status of a job is Waiting, you can detect which jobs it is waiting for by
selecting the job and clicking View job predecessors. A dialog box opens showing you
which jobs must be finished before this job can be put into the batch queue.
You can also detect how much time various jobs have been running by sorting through
the Time running column. This indicates the time the jobs have been running, so that
you can detect scripts that are running an unusually long time.
1. Preparation
1. Turn the production environment offline.
2. Back up your data. See SQL Server information, located at Microsoft SQL Server
documentation.
2. Clean up data
Remove data in the Microsoft Axapta 3.0 database that is not needed for audit trails
and that is slowing down performance or making the database unnecessarily large.
Before you upgrade your database, select the type of data that you want to clean up by
using the standard filtering mechanism.
1. Start Axapta 3.0 in your test environment (Start > All programs > Navision
Axapta), and log on.
2. Open the Application Object Tree (AOT).
3. Under \Menu Items\Action, open and run the following forms to clean up the
respective types of data:
SysUserLogCleanUp
SysDatabaseLogCleanUp
ProdJournalCleanUp
InventJournalCleanUp
ProdTableCleanUp
SalesParmCleanUp
PurchParmCleanUp
LedgerJournalCleanUp
Microsoft Dynamics AX Implementation Guide 111
Upgrade checklist
Use the Upgrade checklist during Setup to guide you through the tasks needed for an
upgrade. As each option is completed, the item is checked by the system. Most of these
items are one-time setup options.
Icons are used to mark the status of the tasks involved. Some tasks are mandatory,
and some tasks depend on other tasks being completed first. Tasks must be completed
from the top down.
The Upgrade checklist starts automatically when you:
Install a new version of Microsoft Dynamics AX on top of an existing version
Install a new service pack on top of an existing version of Microsoft Dynamics AX
Import a .dat file (*.dat) that is exported from an older version of Microsoft
Dynamics AX.
An automatic pop-up is triggered by comparing the version number in the current
application and the version number in the new application or in the *.dat file. You can
also open the Upgrade checklist by clicking Administration > Setup > System >
Checklists > Upgrade checklist.
Microsoft Dynamics AX Implementation Guide 114
Upgrade checklist
Compile application - Update references and ensure that the application is ready
for use. This process takes 30 minutes or more to run, and must be completed if
there is more than one layer in your system. This ensures that all object references
are updated and the application is ready to use. This is also necessary during new
installations with a Service Pack, since the references form the standard application
must also be updated. This option is also available from under Administration >
Periodic > Compile application. Close the Compiler output window when finished.
For more information, see Compile the application.
License information - Import or enter the Microsoft Dynamics AX licenses that
were purchased. The license information is used to enable the modules and
functions that your company is implementing. This option is also available from
under Administration > Setup > System > License information. For more
information, see Add license keys.
Presynchronize data upgrade - Gets database information ready for
synchronization. For more information, see Prepare database for data upgrade (Pre-
synchronize data upgrade).
Synchronize - Synchronizes the database data. For more information, see
Synchronize your database.
Postsynchronize data upgrade - Finalizes the synchronization of database
information. For more information, see Update data in all company accounts (Post-
synchronize data upgrade).
Create upgrade project - Uses the Compare tool in Microsoft Dynamics AX to find
objects that conflict with lower layer objects and which need a manual upgrade.
Obsolete objects are deleted. For more information, see Create an upgrade project.
Microsoft Dynamics AX Implementation Guide 115
Field identifications
If a field is deleted and you subsequently restore a backup, the field gets a new
identification even though it logically has not changed. This means that all your code
that refers to this field will not execute.
During development you may decide that you do not need a specific field. Instead of
deleting the field, rename the field using the following format:
DEL_<Original Name>
This makes sure that you maintain the same field identification, and if you need this
field later on, it is just a matter of removing the DEL_ from the field name.
Tip Create a new security key that can be added to the items that you want to
delete. This is a safe way of "deleting." This strategy allows you to keep the field
(and identification) in your project and when you are sure that your project runs
without problems, you can disable the security key and get rid of the field in the
physical database.
Microsoft Dynamics AX Implementation Guide 116
4. Click OK.
The Configuration dialog box appears and you are asked if you want to
synchronize your database.
5. Click Yes.
6. Close the License information window.
Base Package
Base Package gives access to:
Create or modify menus (user menus, main menu, and so on).
Create or modify user Forms.
MorphX
The MorphX development license gives access to the Data Dictionary node, where
tables, fields, enums, and extended data types are maintained. MorphX development
license also gives the ability to create or modify forms.
Microsoft Dynamics AX Implementation Guide 118
It is possible to add, change and delete forms, tables, extended data types, macros,
menus, reports, jobs, and queries. Methods related to tables, for instance forms, can be
changed. For example, this allows you to change the standard information when adding
new customers.
An example of a change in extended data types by using MorphX is changing the
lengths of account numbers.
The Application Object Tree (AOT) displays the following nodes:
Data Dictionary
Forms
Macros
Reports
Queries
Jobs
Menus
Menu Items
Resources
System Documentation
Application Developer Documentation
Application documentation
Web MorphX
The Web MorphX Development Suite license gives access to the Microsoft Dynamics AX
Web Development Framework.
The AOT displays the following nodes:
Web Forms
Web Reports
Web Menus
Web page
Web Editor
Style Sheet Editor
X++
The X++ development license gives you full access to all classes in Microsoft Dynamics
AX, and the development code for the CUS layer. This gives you the ability to modify
things like the invoice routine, or the posting process for a ledger journal. Having the
development code for the CUS layer allows customers to place their modified
application objects in the CUS layer, or the USR layer, or both.
Microsoft Dynamics AX Implementation Guide 119
It is possible to add, change, and delete classes. For example, you could change the
logic in an invoice update, which is defined in the class SalesFormLetter.
The graphic below shows how jobs are transferred between the upgrade cockpit to and
from the batch queue, and between the batch queue to and from the batch server.
Handle errors
When the status of a job is Error, you can detect the source of the error by doing the
following:
1. Highlight the row that shows the error, and click View job errors.
A new dialog appears that shows the source of the error.
2. After you have investigated the source of the error and fixed it, click Rerun job to
run this job again. The status of this job becomes Waiting.
Detect bottlenecks
When the status of a job is Waiting, you can detect which jobs it is waiting for by
selecting the job and clicking View job predecessors. A dialog appears showing you
which jobs must be finished before this job can be put into the batch queue.
You can also detect how much time various jobs have been running by sorting through
the Time running column. This indicates the time the jobs have been running, so that
you can detect scripts that are running an unusually long time.
The data upgrade cockpit helps manage the upgrade by using batch functionality. The
tool gives an overview of the jobs that must be run when you upgrade from Microsoft
Axapta 3.0 to Microsoft Dynamics AX, and helps you manage their processing. One line
in the table represents one upgrade job.
Open the data upgrade cockpit from the Upgrade checklist by clicking Administration
> Setup > System > Checklists > Upgrade checklist > Postsynchronize data
upgrade.
Note You must complete all preceding tasks in the Upgrade checklist in order to
work with the data upgrade cockpit.
The upgrade cockpit opens in Pause mode. Click Run to submit jobs to batch.
The status of a job is either Ready, Waiting, Executing, Finished or Error.
After you complete post-synchronization, you are ready to create the upgrade project.
For more information, see Create an upgrade project.
Handle errors
When the status of a job is Error, you can detect the source of the error by doing the
following:
1. Highlight the row that shows the error, and click View job errors.
A new dialog appears that shows the source of the error.
2. After you have investigated the source of the error and fixed it, click Rerun job to
run this job again. The status of this job becomes Waiting.
Microsoft Dynamics AX Implementation Guide 124
Detect bottlenecks
When the status of a job is Waiting, you can detect which jobs it is waiting for by
selecting the job and clicking View job predecessors. A dialog box opens showing you
which jobs must be finished before this job can be put into the batch queue.
You can also detect how much time various jobs have been running by sorting through
the Time running column. This indicates the time the jobs have been running, so that
you can detect scripts that are running an unusually long time.
Automatic changes
The following changes are made to Enterprise Portal automatically:
Data is automatically migrated as part of the upgrade process.
All out-of-the box Axapta 3.0 Enterprise Portal objects are automatically upgraded.
Manual changes
The following changes must be made to Enterprise Portal manually.
The table below describes what you will find in this section.
Section Description
Rights required for installation Describes the rights you must have to
install Microsoft Dynamics AX on each
computer in the system.
Installation order Describes the recommended installation
order.
Considerations for multi-site or multi- Describes steps you may need to take
language implementations when installing multisite or
multilanguage implementations.
Installing a core system Describes how to install a database,
application file server, Application Object
Server (AOS), and client, so that you can
start the system.
Initial configuration Describes how to configure your
Microsoft Dynamics AX installation so
that you can start using it.
Set up application security Describes how to secure your Microsoft
Dynamics AX application.
Setting up and configuring Business Describes how to set up Business
Connector Connector and configure a Business
Connector proxy account.
Setting up and configuring an Enterprise Describes how to set up and configure
Portal Enterprise Portal.
Setting up and configuring a reporting Describes how to set up and configure a
server reporting server.
Setting up and configuring an application Describes how to set up and configure an
integration server application integration server.
Setting up and configuring OLAP Describes how to set up and configure an
reporting OLAP server.
Managing version control Describes how to set up a version control
system.
Test an installation Describes how to test whether an
installation has been successful.
Troubleshooting Provides information on troubleshooting
during installation and while the system
is running.
Silent installation Describes how to use parameters to run
the Setup program without the user
interface for broad deployments.
Microsoft Dynamics AX Implementation Guide 132
Section Description
Trial installations Describes how to set up a single-
computer installation to use for a trial
system.
Installation order
When installing Microsoft Dynamics AX, we recommend that you follow this process,
whether in a development, test, staging, or production environment:
1. Set up and configure the core Microsoft Dynamics AX computer roles in the
system, then using a small amount of test data, validate that the system works.
2. Set up and configure any additional computer roles and validate that the system
works.
3. Apply any customizations and validate that the system works.
Before you start installing your system, verify that your domain account has the correct
permissions on each computer you will install to, or you will be unable to complete
setup.
For an overview of installation, see Flowchart: Installation process
For an overview of the recommended topologies, see System topology
recommendations.
For an overview of Microsoft Dynamics AX architecture, see Microsoft Dynamics
architecture.
The table below describes what you will find in this section.
Section Description
Create an Axapta database (SQL Server) Describes how to create a SQL Server
database using Microsoft Dynamics AX
Setup.
Create an Axapta database (Oracle) Describes how to set up an Oracle
database to use with Microsoft Dynamics
AX.
Install a file server Describes how to install a file server
using Microsoft Dynamics AX Setup, and
how to choose regional functionality.
Install an Axapta Object Server instance Describes how to install an AOS using
Microsoft Dynamics AX Setup, how to
install multiple AOS instances, and how
to set up an AOS on a Network Load
Balanced cluster.
Install an Axapta client Describes how to install a client using
Microsoft Dynamics AX Setup.
Start Axapta Describes how to start Microsoft
Dynamics AX after installing.
Uninstall Microsoft Dynamics AX Describes how to uninstall axapta
components.
Install multiple instances of Microsoft Describes how to install multiple
Dynamics AX instances of Microsoft Dynamics AX.
Install Microsoft Dynamics AX on a single Describes how to install Microsoft
computer Dynamics AX on a single computer.
Microsoft Dynamics AX Implementation Guide 136
Components installed
Setting up a SQL Server database creates a database to store your Microsoft Dynamics
AX data structures and creates a SQL Server user login for the AOS account (the
domain account or Network Service account that is associated with an AOS instance).
Verify prerequisites
SQL Server must be installed with Windows Authentication, and must be running under
the Local System account.
Verify rights
You must log in with an account that is both:
A member of the Administrators group on the computer from which you are running
Setup.
A member of the Database Creators server role in the SQL Server instance in which
you want to create the database.
7. On the Connect to an instance of SQL Server page, in the SQL Server name
box, type or select the name of the SQL Server to connect to, and then click Next.
If you need to connect to a named instance of SQL Server, enter it in the format
Servername\Instancename.
8. On the Create SQL Server database page, in the Database name box, type a
name for the database you are creating for Microsoft Dynamics AX to use.
We recommend that you determine a naming convention and use it for all aspects of
an installation, including the database name, AOS name, and application file server
directory name.
A recommended naming convention includes a short form of the customer name,
the Microsoft Dynamics AX version, the service pack version, and a code for what
you are using the installation for, such as Cust_AX_Live.
Note Setup places the database and transaction log in the same location. For a
production environment, we recommend that you move the transaction log to a
different drive. For more information, see the SQL Server documentation.
1. On the Ready to install page, review the summary of roles for your computer. To
proceed, click Next.
2. On the Installing page, you can monitor installation progress as Setup proceeds.
3. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles for your computer. To exit the Setup wizard, click Finish.
4. Microsoft Dynamics AX administrator: On the computer that will host the AOS
instance, log in with the installing user account, and use the Setup wizard to set up
the AOS and connect it to the Oracle database.
5. Microsoft Dynamics AX administrator: Start Microsoft Dynamics AX, and as part of
the installation checklist, configure the placement of tables in tablespaces. For more
information, see Configure Oracle tablespaces.
You can set up multiple Microsoft Dynamics AX databases on an Oracle system by
following the process below and creating each database under a different schema.
Option Value
Database name Any valid Oracle database name
Tablespace Create tablespaces for Microsoft
Dynamics AX to use, for example:
AXTAB, for tables
AXIDX, for indexes
AXTMP, for temporary tables
The Microsoft Dynamics AX administrator
can configure the tablespaces after
Microsoft Dynamics AX has been fully
installed. For more information, see
Configure Oracle tablespaces.
Note If you are upgrading, you
must use the same tablespace names
in the Microsoft Axapta 3.0 system
and the Microsoft Dynamics AX new
system.
ALL PRIVILEGES
SELECT ANY DICTIONARY
4. Optional. Create a schema (user account) for each database instance and grant the
following rights:
CREATE USERS <schema name> IDENTIFIED BY "<schema password>";
GRANT ALTER ANY CLUSTER TO "<schema name>";
GRANT ALTER ANY DIMENSION TO "<schema name>";
GRANT ALTER ANY INDEX TO "<schema name>";
GRANT ALTER ANY INDEXTYPE TO "<schema name>";
GRANT ALTER ANY MATERIALIZED VIEW TO "<schema name>";
GRANT ALTER ANY PROCEDURE TO "<schema name>";
GRANT ALTER ANY TABLE TO "<schema name>";
GRANT ALTER TABLESPACE TO "<schema name>";
GRANT ALTER USER TO "<schema name>";
GRANT ANALYZE ANY DICTIONARY TO "<schema name>";
GRANT CREATE ANY CLUSTER TO "<schema name>";
GRANT CREATE ANY DIMENSION TO "<schema name>";
GRANT CREATE ANY INDEX TO "<schema name>";
GRANT CREATE ANY INDEXTYPE TO "<schema name>";
GRANT CREATE ANY MATERIALIZED VIEW TO "<schema name>";
GRANT CREATE ANY PROCEDURE TO "<schema name>";
GRANT CREATE ANY TABLE TO "<schema name>";
GRANT CREATE ANY VIEW TO "<schema name>";
GRANT CREATE CLUSTER TO "<schema name>";
GRANT CREATE DATABASE LINK TO "<schema name>";
GRANT CREATE DIMENSION TO "<schema name>";
GRANT CREATE INDEXTYPE TO "<schema name>";
GRANT CREATE MATERIALIZED VIEW TO "<schema name>";
GRANT CREATE PROCEDURE TO "<schema name>";
GRANT CREATE PUBLIC DATABASE LINK TO "<schema name>";
GRANT CREATE TABLE TO "<schema name>";
GRANT CREATE TABLESPACE TO "<schema name>";
GRANT CREATE USER TO "<schema name>";
GRANT CREATE VIEW TO "<schema name>";
GRANT DELETE ANY TABLE TO "<schema name>";
GRANT DROP ANY CLUSTER TO "<schema name>";
Microsoft Dynamics AX Implementation Guide 143
1. On the Select database type page, select Oracle database server, and then
click Next.
2. On the Connect to Oracle database server page, select the connection type you
plan to use.
If you select Connect using a net service (TNS), type in the service name.
If you select Connect using custom settings, type in the host name, database
service name, and TCP/IP port to connect to.
3. Enter a schema (user) name and password to use to connect to the database. If you
enter a schema name that does not already exist, Setup creates it for you.
4. On the Ready to install page, review the summary of roles for your computer. To
proceed, click Next.
5. On the Installing page, you can monitor installation progress as Setup proceeds. At
this point, Setup performs these actions on the computer that runs Oracle:
Grants the AOS account Full Control on the Oracle installation directory.
Runs a script that creates a schema, if it does not already exist.
Creates session persistence stored procedures.
6. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles and components for your computer. To exit the Setup wizard,
click Finish.
Next steps
1. Verify that the AOS instance has started:
Open the Windows Event viewer on the AOS computer (Start > Administrative
Tools > Event viewer).
To determine when the AOS has started, wait for the message "Object Server
AOSname: Ready for operation."
2. After the AOS instance has connected, start a Microsoft Dynamics AX client.
3. Complete the installation checklist. For more information, see Installation checklist.
Components installed
Setting up a computer as an application file server installs application files that are used
by an instance of Application Object Server (AOS) and the clients associated with it.
Verify prerequisites
The directory you install to must be accessible to all AOS instances.
Microsoft Dynamics AX Implementation Guide 148
Verify rights
You must log in with an account that is a member of the Administrators group on the
computer on which you are running Setup.
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
9. On the Installing page, you can monitor installation progress as Setup proceeds.
10. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles for your computer. To exit the Setup wizard, click Finish.
Components installed
Installing an AOS instance installs the following components:
AOS.
Microsoft Dynamics AX Server Configuration Utility.
Verify prerequisites
Before setting up a computer in the object server role, we recommend that you install
the database server and application file server.
Note If you do not install in this order, you can use the Server Configuration Utility
to set the database and application file share locations.
If the computer on which you are installing has a firewall, you must open port 2712
before the system can function.
Verify rights
You must log in with an account that is both:
A member of the Administrators group on the computer that you are running Setup
on.
A member of the Security Administrators server role on the Microsoft SQL Server
you want to connect to.
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
Microsoft Dynamics AX Implementation Guide 151
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
Depending on the other roles that you have selected, Setup grants the following
permissions for the AOS account:
9. On the Select database page, select the type of database to connect to and then
click Next. Follow one of the following paths:
To Do this:
Connect to a SQL Server database On the Connect to an instance of SQL
Server page, in the Server name box,
type or select the name of the SQL
Server to connect to.
On the Connect to SQL Server
database page, in the Database name
box, type or select the name of the
database to connect to.
Setup adds the AOS account to the
database as a user, and makes it a
member of the db_ddladmin,
db_datareader, and db_datawriter
database roles.
Connect to an existing Oracle database On the Connect to Oracle database
server server page, choose whether to connect
using a net service or custom settings.
In the Schema (user) name box,
specify a name for the schema under
which the Microsoft Dynamics AX objects
will be created in the database. You can
accept the default value of DBO.
Microsoft Dynamics AX Implementation Guide 153
To Do this:
In the Password box, specify a
password for the schema.
Setup adds the AOS account specified for
the AOS to the database as a user, and
makes it a member of the
db_ddladmin, db_datareader, and
db_datawriter database roles.
10. On the Locate application files page, type or browse to the location where you
installed the Microsoft Dynamics AX application files. Click Next to continue.
11. Click Next to continue.
We recommend that you determine a naming convention and use it for all aspects of
an installation, including the database name, AOS name, and application file server
directory name.
A recommended naming convention includes a short form of the customer name,
the Microsoft Dynamics AX version, the service pack version, and a code for what
you are using the installation for, such as Cust_AX_Live.
12. On the Ready to install page, review the summary of roles for your computer. To
proceed, click Next.
Note If you are upgrading, be sure to clear the Start the AOS Windows
service as part of installation checkbox.
13. On the Installing page, you can monitor installation progress as Setup proceeds.
14. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles for your computer. To exit the Setup wizard, click Finish.
Note The AOS Windows service can take several minutes to start the first time
after installing. To determine whether it has started, go to Administrative
tools > Services, and review the status of the Dynamics service.
7. On the Select database type page, select the type of database to connect to and
then click Next.
To Do this:
Connect to a SQL Server database On the Connect to an instance of SQL
Server page, in the Server name box,
type or select the name of the SQL
Server to connect to.
Microsoft Dynamics AX Implementation Guide 155
To Do this:
On the Connect to SQL Server
database page, in the Database name
box, type or select the name of the
database to connect to.
Setup adds the AOS account to the
database as a user, and makes it a
member of the db_ddladmin,
db_datareader, and db_datawriter
database roles.
Connect to an existing Oracle database On the Connect to Oracle database
server server page, choose whether to connect
using a net service or custom settings.
In the Schema (user) name box,
specify a name for the schema under
which the Microsoft Dynamics AX objects
will be created in the database. You can
accept the default value of DBO.
In the Password box, specify a
password for the schema.
Setup adds the AOS account specified for
the AOS to the database as a user, and
makes it a member of the
db_ddladmin, db_datareader, and
db_datawriter database roles.
8. On the Locate application files page, type or browse to the location where you
installed the Microsoft Dynamics AX application files. Click Next to continue.
9. Click Next to continue.
10. On the Ready to install page, review the summary of roles for your computer. To
proceed, click Next.
11. On the Installing page, you can monitor installation progress as Setup proceeds.
12. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles for your computer.
13. To exit the Setup wizard, click Finish.
Install a client
A client is the interface to Microsoft Dynamics AX data and functionality. You must be at
the Microsoft Dynamics AX client computer to install the client. If you are installing
multiple clients, we recommend that you install them from a file server. For details, see
Install clients silently. The procedure that follows assumes that you are installing a
Microsoft Dynamics AX Implementation Guide 156
single role on a computer. You can install multiple roles on a single computer, however,
the order of the pages in the Setup Wizard will change based on your selections.
Components installed
Setting up a computer as an Microsoft Dynamics AX client installs the following
components:
The Microsoft Dynamics AX interface that connects to an Application Object Server
(AOS).
Microsoft Dynamics AX Client Configuration Utility.
Components to support OLAP reporting functionality:
Microsoft SQL Server Native Client
Microsoft SQL Server 2005 Analysis Services 9.0 OLEDB Provider
Microsoft SQL Server Management Objects Collection
MSXML 6.0 Parser
Verify prerequisites
Before installing clients, be sure that you have installed the database, application file
server, and AOS.
Verify rights
You must log in with an account that is a member of the Administrators group on the
computer on which you are running Setup.
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
Install a client
1. To begin the installation process, click Microsoft Dynamics AX Client.
On the Prerequisites check page, Setup validates that the software required to
install Microsoft Dynamics AX is present. If it is not, click Install. To continue after
the update completes, click Next.
2. On the Welcome page of the Setup Wizard, click Next to continue.
Microsoft Dynamics AX Implementation Guide 157
3. On the License agreement page, read the license agreement and then click I
accept the terms in the license agreement to accept the licensing terms and
conditions. Accepting the license agreement activates the Next button. To continue,
click Next.
Note To end Setup, click Cancel.
4. On the Select display language page, select the language in which you would like
to first run Microsoft Dynamics AX. If you later decide to change languages, you can
modify the user language within the client.
5. On the Select Help language page, select the Help languages you would like to
have available for Microsoft Dynamics AX. We recommend that you install all the
Help languages required for your system during initial installation.
Note To switch between Help languages, you can change the user settings
within the Microsoft Dynamics AX client. If you do not install the Help files for
the languages you need during initial installation, you can install additional Help
files by running the Microsoft Dynamics AX Setup program again, selecting the
Client installation path, and then selecting any additional languages you require.
6. On the Install files page, click Next to accept the default location, or click Browse
to designate a different location.
7. On the Connect to Application Object Server page, type the name of the
computer running the AOS instance you would like to connect to. To specify a
connection to a specific AOS instance, enter the server information in one of the
following formats:
Format Example
Instancename@Servername AOS2@Dynamics
Servername:Portnumber Dynamics:2713
Instancename@Servername:Portnumber AOS2@Dynamics:2713
If you do not know the name of the Application Object Server and it is running
locally, you can check its name under Administrative Tools > Services.
Otherwise, contact the Microsoft Dynamics AX administrator.
8. On the Ready to install page, review the summary of roles and components for
your computer. To proceed, click Next.
9. On the Installing page, you can monitor installation progress as Setup proceeds.
10. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles and components for your computer. To exit the Setup wizard,
click Finish.
Microsoft Dynamics AX Implementation Guide 158
Start Axapta
1. On the computer running the Microsoft Dynamics AX client, start Microsoft
Dynamics AX (Start > All Programs > Microsoft Dynamics AX).
Note The AOS Windows service can take several minutes to start after you
install it the first time. To determine whether it has started, go to
Administrative tools > Services, and review the status of the Dynamics
service.
2. If this is the first time you have started Microsoft Dynamics AX, the Installation
checklist is displayed to the left of the navigation pane and workspace.
For instructions about completing the Installation checklist, see Configuring a core
Axapta Installation.
Remove components
The following procedure can be followed for any Microsoft Dynamics AX component.
1. Open Add or Remove Programs. (Start > All Programs > Control Panel >
Add or Remove Programs).
Microsoft Dynamics AX Implementation Guide 159
2. Select the component that you want to remove, and then click Remove. Possible
components to remove include:
Microsoft Dynamics 4.0 Client
Setting up the Microsoft Dynamics Client also installs the following components
that you may want to remove.
- Microsoft SQL Server Native Client
- Microsoft SQL Server 2005 Analysis Services 9.0 OLEDB Provider
- Microsoft SQL Server Management Objects Collection
- MSXML 6.0 Parser
Microsoft Dynamics 4.0 COM Business Connector
Microsoft Dynamics 4.0 .NET Business Connector
Microsoft Dynamics 4.0 Object Server (##-instancename), where ## is an
integer from 01 to 20
Microsoft Dynamics 4.0 Application Integration Server
3. A message box asks you to confirm that you want to uninstall the product. To
proceed with the uninstallation process, click Yes.
The Setup wizard removes the component from your computer. If Setup requires
access to the DVD, you are prompted to insert it.
4. Repeat for all components installed on the computer.
Reporting server
Application integration server
The following table lists considerations when installing a second instance of any role:
Role Consideration
Database To point an Application Object Server to
a named instance of SQL Server, use the
following naming convention in the Setup
Wizard: Server\Instance
Application file server To copy the modifications from an
existing application to a newly-installed
application, copy all files with the
following extensions:
.add
.adi
.ahd
.ahi
.alc
.ald
.ali
.alt
.aod
.aoi
.khd
.khi
Application object server Each AOS instance runs on a different
TCP/IP port, which you will need to know
when connecting to it from a client. To
find the TCP/IP port that an AOS is
running on, use the Services application
at Start > All Programs >
Administrative Tools > Services to
find the Dynamics service.
Microsoft Dynamics AX Implementation Guide 162
Prerequisites
The computer running Microsoft Dynamics AX must also have access to computers in
the same Active Directory directory service domain running Active Directory configured
in native mode.
Microsoft SQL Server 2000, Enterprise edition; Microsoft SQL Server 2005, Standard or
Enterprise editions must also be running in the environment or on the computer.
Verify rights
You must log in with an account that is both:
A member of the Administrators group on the computer on which you are running
Setup.
A member of the Database Creators server role in the SQL Server instance in which
you want to create the database.
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
4. On the Select installation type page, click Single computer installation, and
then click Next.
5. On the Select region page, choose a region to install. For guidance on choosing a
region, see Choosing regional functionality.
6. On the Install application files page, type the location, or click Browse to
navigate to the location where you would like to install the application files.
7. On the Create an instance of Application Object Server page, enter the name
for the Application Object Server (AOS) you are installing and click Next.
8. On the Select database page, select Microsoft SQL Server or Oracle database
server. For SQL Server, determine whether you want to connect to a new database
or an existing database. If you choose Oracle, you must connect to an existing
database.
For more information, see Set up an Oracle database.
To Do this
Create a SQL Server database On the Connect to an instance of SQL
Server page, in the Server name box,
type or select the name of the SQL
Server to connect to, and then click
Next.
On the Create SQL Server database
page, in the Database name box, type
a name for the database you are creating
for Microsoft Dynamics AX to use.
We recommend that you determine a
naming convention and use it for all
aspects of an installation, including the
database name, Application Object
Server (AOS) name, and application file
server directory name.
An example of a recommended naming
convention includes a short form of the
customer name, the Microsoft Microsoft
Dynamics AX version, the service pack
version, and a code for what you are
using the installation for, such as,
Cust_AX30_SP4_Live.
Connect to an existing SQL Server On the Connect to an instance of SQL
database Server page, in the Server name box,
type or select the name of the SQL
Server to connect to, and then click
Next.
On the Connect to SQL Server
Database page, in the Server name
Microsoft Dynamics AX Implementation Guide 165
To Do this
box, type or select the name of the SQL
Server to which you want to connect. In
the Database name box, type or select
the name of the database to which you
want to connect.
1. On the Select language page, select the language in which the client is to be
displayed, and then click Next.
2. On the Select Help languages page, select the Help languages to install on the
client.
3. On the Install client files page, click Next to accept the default location, or click
Browse to designate a different location.
4. On the Ready to install page, review the summary of roles and components
installed on the computer. To proceed, click Next.
5. On the Installing page, you can monitor installation progress as Setup proceeds.
6. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles installed on the computer.
7. To exit the Setup wizard, click Finish.
Initial configuration
Before you begin setting up Microsoft Dynamics AX, make sure that the installation was
properly completed and that Microsoft Dynamics AX is running. For more information,
see Installing a core system.
Configuration of your Microsoft Dynamics AX installation entails setting up the system
by using the Installation checklist, and then setting up the various modules. For
information about working with the Installation checklist, see Installation checklist.
The installation checklist can be run with no user interaction. This requires defining
input parameters in an XML file and starting up Microsoft Dynamics AX from a command
line. For more information, see Run the checklist items without user interaction.
The table below describes what you will find in this section.
Section Description
Rights required for configuration This section describes what rights you
need in order to configure a Microsoft
Dynamics AX system.
About configuration This section provides a conceptual
introduction to configuring Microsoft
Dynamics AX.
Installation checklist This section provides a procedural
description on how to configure your
system using the Installation checklist.
Microsoft Dynamics AX Implementation Guide 166
Section Description
Re-executing checklist items This section describes how to re-execute
Installation checklist items once they
have been completed.
Test a configured installation This section provides information on what
to test once your system has been
configured.
Set up core modules This section provides information on
prerequisites and setup of the core
modules and extended functionality in a
Microsoft Dynamics AX system.
Set up additional modules This section provides information on
prerequisites and setup of the additional
modules in a Microsoft Dynamics AX
system.
Run the checklist items without user This section provides information on how
interaction to run checklists silently.
About configuration
The configuration of Microsoft Dynamics AX is done by entering license codes in the
License information form, and by enabling or disabling configuration keys in the
Configuration form. You have to be an administrator to enter license codes and
change the configuration keys.
By entering license codes, the administrator enables the general functionality covered
by the license. The, the administrator can enable or disable access to more specific
features by changing the configuration.
When the license codes are entered and the configuration keys are set up, you must
create and set up User groups and Domains to control access to the individual parts
of the functionality for individual users.
Configuration keys should be defined so that the installation can be set up with only the
features needed for each particular installation. By disabling configuration keys,
administrators can reduce the potential surface of attack, thereby helping to increase
the security of their Microsoft Dynamics AX installation
Microsoft Dynamics AX Implementation Guide 167
Example
For example, you have a license for the General ledger module. By selecting the
General ledger - Collection letter configuration key, the collection letter functionality
is enabled. Finally you grant access rights to one or more user groups to create and
send out collection letters.
Installation checklist
Use the Installation checklist to guide you through the initial setup of the Administration
module. As each option is completed, the item is checked by the system. Most of these
items are one-time setup options. For more help, click the help icon next to each
option.
Important You must complete the Installation checklist before you add any users
to the system. If you add users to the system before completing the Installation
checklist, they receive full user rights to the application, regardless of what user
group they are assigned to, until you complete the checklist.
The Installation checklist opens after you have installed the Microsoft Dynamics AX
client, or you can open it by clicking Administration > Setup > System > Checklists
> Installation checklist.
The options on the Installation checklist vary slightly, depending on whether Microsoft
Dynamics AX is running on a Microsoft SQL Server database or on an Oracle database.
Click the active link in the checklist to open the appropriate form and start the task.
When you complete the Installation checklist, you must restart the Microsoft Dynamics
AX client.
Adjust global types - Change the properties for the data types displayed without
accessing the Application Object Tree (AOT). You must be an Administrator to make
these changes. All changes must be made before data is entered into the system.
This option is also available from Administration > Setup > System > Adjust
global types. For more information, see Adjust global types.
Synchronize - Synchronize the database to the most recent version of Microsoft
Dynamics AX. For more information, see Synchronize tables and indexes. When you
complete synchronization, you can select the Prevent startup of Installation
checklist checkbox so that the Installation checklist does not open each time you
start the client.
Company accounts - Identify each company used in Microsoft Dynamics AX. A
company can be a separate legal entity, or it may be a division within a company.
The company identification is a 3 character alphanumeric field. A company can be
attached to virtual companies or domains. A virtual company is used to share tables
between companies; such as, zip codes, country/region codes, tax codes, and so on.
A domain is used to group companies for security purposes. If the company setups
are similar, then only create the main company. After setup screens are populated,
copy the main company to create new companies. Companies can be added at any
time. This option is also available from Administration > Company accounts. For
more information see Manage company accounts.
Import - Import Microsoft Dynamics AX demo data or data that was originally
exported from Microsoft Dynamics AX (*.dat files). This option is also available from
Administration > Periodic > Data export/import > Import. For more
information, see Import company data.
To be able to use Microsoft Dynamics AX, enter the license codes, and check the Status
field to see that each code is verified.
Note If you are changing your current license settings as a result of updating
license keys, the new functionality does not take effect until the client has been
restarted.
In addition to license codes for Microsoft Dynamics AX functionality, access to the
Microsoft Dynamics AX development environment is divided into four different licenses.
For more information, see Development access licenses.
If you do not have a license, you can still set up Microsoft Dynamics AX in
demonstration mode. For more information, see Demonstration mode.
Demonstration mode
Initiate demonstration mode of Microsoft Dynamics AX by clicking the Optional icon
(Checklist ) next to License information.
Demonstration mode gives you all of the functionality of Microsoft Dynamics AX, and
enables all configuration keys by default.
Base Package
Base Package gives access to:
Create or modify menus (user menus, main menu, and so on).
Create or modify user Forms.
MorphX
The MorphX development license gives access to the Data Dictionary node, where
tables, fields, enums, and extended data types are maintained. MorphX development
license also gives the ability to create or modify forms.
It is possible to add, change and delete forms, tables, extended data types, macros,
menus, reports, jobs, and queries. Methods related to tables, for instance forms, can be
changed. For example, this allows you to change the standard information when adding
new customers.
An example of a change in extended data types by using MorphX is changing the
lengths of account numbers.
The Application Object Tree (AOT) displays the following nodes:
Data Dictionary
Forms
Macros
Reports
Queries
Jobs
Menus
Microsoft Dynamics AX Implementation Guide 173
Menu Items
Resources
System Documentation
Application Developer Documentation
Application documentation
Web MorphX
The Web MorphX Development Suite license gives access to the Microsoft Dynamics AX
Web Development Framework.
The AOT displays the following nodes:
Web Forms
Web Reports
Web Menus
Web page
Web Editor
Style Sheet Editor
X++
The X++ development license gives you full access to all classes in Microsoft Dynamics
AX, and the development code for the CUS layer. This gives you the ability to modify
things like the invoice routine, or the posting process for a ledger journal. Having the
development code for the CUS layer allows customers to place their modified
application objects in the CUS layer, or the USR layer, or both.
It is possible to add, change, and delete classes. For example, you could change the
logic in an invoice update, which is defined in the class SalesFormLetter.
Configuration keys
When a license code is purchased, the license code determines the contents of the
configuration keys. Configuration keys consist of parent configuration keys and their
children. A parent key that has no children is not available from the Configuration
Microsoft Dynamics AX Implementation Guide 175
window. A configuration key with one or more children, however, is available because
the features below the parent can be disabled.
Configuration keys can control several child configuration keys, which can be either
disabled or enabled as required.
A minimized system
When you load the license code file, the system starts minimized. This means that all
child configuration keys are disabled. Any required extra features can safely be enabled
later. A specific setup can still be exported and imported or, if it is necessary, reset to
Standard, which is the minimized system.
Note A system with an expiry date, typically a partner license, behaves differently
by starting maximized.
Microsoft Dynamics AX Implementation Guide 176
To learn about the configuration keys, see Set up configuration keys and Best Practices
for Configuration and Security Keys.
Global types
The adjustable data types and their default settings are:
These properties on the data types displayed in this window can be adjusted by the
administrator without accessing the Application Object Tree (AOT).
Note Any changes must be made before entering data in the system.
Point to the data type. In the left pane a help text is displayed and in the right pane the
properties for the current data type are displayed.
Example
To change the number of decimals on the Amount data type, enter the number
decimal places you require in the Display length field. Changing the number from 2 to
0 makes an amount that inherits from the Amount data type appear as 200 instead of
200.00. The change is reflected everywhere in the application where the Amount data
type is used.
In addition to user groups, domains are used when setting up a log of database action
(insert, update, and delete).
If you have purchased a domain license, you have this tab page available in Company
accounts.
The Domains tab page displays all the domains in the Microsoft Dynamics AX system.
The domains in the Selected domains section are the domains selected for the current
company accounts, whereas the domains in the Remaining domains section are those
that are not selected for the current company accounts. The domains in both sections
can be moved back and forth using the arrows.
Prerequisites
Before you can create or modify a virtual company account, the following must be
established:
The application object server that the administrator is connected to must be the
only one running. All other application object servers must be shut down.
Only the administrator who is creating the virtual company account can be
connected; only one active client connection is allowed.
7. Select the table collections that contain the specific tables that you wish to relate in
the virtual company.
To add a table collection, select the table collection name under Remaining
table collections and click the left arrow (<) to move it to the Selected table
collections list.
To remove a table collection, select the table collection name under Selected
table collections and click the left arrow (>) to move it to the Remaining
table collections list.
Table collections are groups of tables. They can be created through drag-and-drop
functionality in the Application Object Tree (AOT).
8. Shut down and restart the Microsoft Dynamics AX client.
You must restart the Microsoft Dynamics AX client in order to update the client with
the new virtual company account information.
Create domains
1. Click Administration > Setup > Domains.
2. Press CTRL+N to create a new domain record.
3. Enter a domain identification and a name.
4. Click the Company accounts tab and add accounts to the domain.
To add an account to a domain, highlight the account name under Remaining
company accounts and click the left arrow (<) to add it to the Selected
company accounts list.
To remove an account from a domain, highlight the account name under
Selected company accounts and click the right arrow (>) to remove it to the
Remaining company accounts list.
Prerequisites
Install Microsoft Dynamics AX software.
Complete the Installation checklist. The forms used during installation are described in
more detail in the following topics:
Compile the application
Add license keys
Enable and disable configuration keys
Adjust global types
Synchronize tables and indexesManage company accountsImport company data
Microsoft Dynamics AX Implementation Guide 189
Flowchart
1. Users
Enter details about each user who will access Microsoft Dynamics AX in the Users form.
To add an additional layer of security to your computing environment, Microsoft
Dynamics AX requires that all users be listed in Microsoft Active Directory directory
service on your domain controller before they can be enabled in the User form. If a
user is not enabled on this form, that user cannot access Microsoft Dynamics AX.
For more information, see Active Directory user topology and User (Form).
2. User groups
User groups, see User groups (Form).
By creating users groups, you establish who can access Microsoft Dynamics AX and
what permissions users have when working in the product. By adding a user to a group,
you give the user all the permissions and user rights assigned to that group. Before
users can access Microsoft Dynamics AX, they must be added to the list of users and
they must be added to at least one user group.
Domains
If your organization or business has more than one company account, you can restrict
account access using domains in the Domains form. Domains restrict account access in
the same way user groups restrict user access. With the combination of domains and
user groups, you can create a strict security policy where each user group in each
domain is a distinct entity with absolutely no access between groups/domains. Or you
can create a customized security policy where, for example, one group has account
access to similar group data, forms, and modules across multiple domains.
For complete guidelines, see Domains (Form).
Database log
You can display a list of database changes within the current set of company accounts
in the Database log form.
For complete guidelines, see Database log (Form).
E-mail parameters
You can set up Simple Mail Transfer Protocol (SMTP) to send e-mail in the E-mail
parameters form.
For complete guidelines, see E-mail parameters (Form).
Prerequisites
Set up the Administration module. For more information, see Flowchart: Configuring
the Administration module
Prerequisites
Set up the Administration and Basic modules.
Select the company default currency in the Currency field in the Company
information form.
Microsoft Dynamics AX Implementation Guide 194
Flowchart
Microsoft Dynamics AX Implementation Guide 195
Microsoft Dynamics AX Implementation Guide 196
1. Currency
Review the foreign currencies that have been created in the Exchange rates form. If
necessary, create the currencies that you want to use for particular ledger accounts, for
example, a bank account or foreign trade accounts.
Note If you are creating a consolidated company, create the currencies that are
the company currencies of foreign subsidiaries.
For complete guidelines for setting up the Exchange rates form, see Exchange rates
(Currency) Form.
2. Chart of accounts
Create the company’s general ledger accounts in a structured list in the Chart of
accounts form. The general ledger accounts contain the financial data about the
company's activities.
To create an account, you must enter at least an account number and account type.
Later on, you can enter other account details.
For complete guidelines for setting up the Chart of accounts form, see Chart of
accounts (LedgerTable) Form.
3. Periods
1. Create the fiscal periods and determine which user groups can update each
module during each period in the Periods form. For complete guidelines for
setting up the Periods form, see Periods (LedgerPeriod) Form.
2. Define the date intervals in the Date intervals form that you can use in reports in
the General ledger and other modules.
For complete guidelines for setting up the Date intervals form, see Date intervals
(LedgerPeriodCode) Form.
3. Set up the ledger posting groups in the Ledger posting groups form that define
how sales taxes are posted in the Chart of accounts form. You must attach a
ledger posting group to each sales tax code.
For complete guidelines for setting up the Ledger posting groups form, see
Account group (TaxAccountGroup) Form.
4. Set up the governmental bodies to which sales taxes are paid in the Sales tax
authorities form.
For complete guidelines for setting up the Sales tax authorities form, see
Authority (TaxAuthority) Form.
5. Create the periods that the company uses when reporting sales tax and link them to
the sales tax authorities in the Sales tax settlement periods form.
For complete guidelines for setting up the Sales tax settlement periods form, see
Sales tax settlement periods (TaxPeriod) Form.
6. Create the sales tax codes that contain all information about a particular sales tax in
the Sales tax codes form, including the tax base, the percentage or amount, the
ledger posting group, settlement period, and reporting details.
For complete guidelines for setting up the Sales tax codes form, see Sales tax
codes (TaxTable) Form.
Note If the company files U.S. sales taxes, you must also set up sales tax
jurisdictions, which are used in the setup of Sales tax groups. See United States
sales tax.
7. Create the sales tax groups that contain sales tax codes and that are attached to
ledger accounts, customers, and vendors in the Sales tax groups form. The sales
tax on a transaction is determined by the sales tax codes that are common to the
sales tax group on the transaction account and the item sales tax group on the
transaction item.
For complete guidelines for setting up the Sales tax groups form, see Sales tax
groups (TaxGroup) Form.
8. Create the item sales tax groups that contain sales tax codes and that are attached
to items in the Item sales tax groups form. The sales tax on a transaction is
determined by the sales tax codes that are common to the sales tax group on the
transaction account and the item sales tax group on the transaction item. If a
transaction does not contain items with item sales tax groups, for example, a free
text invoice, the item sales tax group that you attach to a ledger account can
function as the default item sales tax group for the transaction.
For complete guidelines for setting up the Item sales tax groups form, see Item
sales tax groups (TaxItemGroup) Form.
9. For each ledger account that could receive transactions that must be reported to the
sales tax authorities, select default values for the sales tax group and item sales tax
group in the Setup tab of the Chart of accounts form.
Microsoft Dynamics AX Implementation Guide 198
Dimensions
Create dimension values for the dimensions that are available in the company in the
Dimensions form. Dimension values can be placed on accounts and transactions to
allow a different kind of analysis of company data than is possible with ledger accounts
alone. Also see Dimensions.
Microsoft Dynamics AX Implementation Guide 199
Financial statements
Create dimension focuses containing dimension type combinations in the
Dimension focuses form, including the ledger account in order to report on
financial transactions by selecting a primary and eventually secondary focus to be
considered when presenting the results.
For complete guidelines, see Dimension focuses (Form).
Set up financial statements based on main and secondary focuses, and define row
and column structures in the Financial statement form.
For complete guidelines, see Financial statement (Form).
Create and manage row structure definitions for financial statements in the Row
definition form.
For complete guidelines, see Row definition (Form).
Journals
Create transaction texts that you can select on journal lines in the Journal texts
form.
For complete guidelines, see Ledger journal texts (Form).
Create posting journals for sales, purchases, and journals to group ledger
transactions by voucher series in the Posting journals form.
For complete guidelines, see Posting journals (Form).
Microsoft Dynamics AX Implementation Guide 200
Enter the ledger accounts that are displayed when you make an inquiry on balance
control in a journal, such as petty cash account, in the Balance control accounts
form.
For complete guidelines, see Balance control accounts (Form).
Set up the methods that is used to import an account statement from a file into the
general journal in the Methods of importing account statements form.
For complete guidelines, see Import methods for account statements (Form).
Posting
Create accrual schemes to post expenses or income in the Accrual schemes form
in the period in which they occur, regardless of when the related payment is made
or received.
For complete guidelines, see Accrual schemes (form).
Select and update the database tables to be inspected in an inquiry to find the
tables that contain a reference to a specific ledger account in the Account
reference form.
For example, you can find the tables that contain references from automatic
transactions to a ledger account if you set up the most likely tables for the reference
inquiry in this form.
For complete guidelines, see Ledger account references (Form).
Note To make such an inquiry, click General ledger > Chart of accounts,
select a ledger account, and then click Inquiry > References.
Set up the first characters of account numbers for automatic account type selection
in the setup of the chart of accounts in the Automatic account type selection
form.
For complete guidelines, see Automatic account type selection (Form).
Select the accounts that are used to calculate cash flow forecasts and currency
requirements in the Liquidity form.
For complete guidelines, see Liquidity (Form).
Select other company accounts in the database to which the current company can
make direct postings in the Intercompany accounting form.
For complete guidelines, see Intercompany accounting (Form).
Create a purchase duty abbreviation to use in the sales tax report, and select
posting accounts and sales tax authority in the Purchase duty form. Purchase duty
is a tax on incoming sales tax and is calculated as a percentage of the paid sales
tax.
For complete guidelines, see Purchase duty (Form).
Microsoft Dynamics AX Implementation Guide 201
Sales tax
Create sales tax reporting codes to implement pre-formatted sales tax reports for
specific countries/regions in the Sales tax reporting codes form.
For complete guidelines, see Sales tax reporting codes (Form).
Create tax exempt numbers that are printed on external documents, such as
invoices, in the Tax exempt numbers form.
For complete guidelines, see Tax exempt numbers (Form).
For Italy only - Create the sales tax book sections for all sales and purchase
transactions in the Italian sales tax book sections form.
For complete guidelines, see Sales tax book sections (Form).
For Spain only - Set up value-added tax books in the Spanish VAT books form.
For complete guidelines, see (TaxBookTable) Form.
For Belgium only - Create the syntax (segments and elements) that is used for
electronic sales tax declarations in the EDIVAT software format in the EDIVAT
setup form.
For complete guidelines, see (TaxEdivatConfiguration) Form.
For Belgium only - Set up error identifiers for the EDIVAT format for electronic
sales tax declaration in the EDIVAT errors form.
For complete guidelines, see (TaxEdivatErrors) Form.
For Belgium only - Set up an XML file with the INTERVAT format for electronic
sales tax declaration in the INTERVAT setup form.
For complete guidelines, see (TaxIntervatConfiguration) Form.
For the Netherlands only - Set up the parameters that define an electronic tax
declaration in the Netherlands in the Electronic tax declaration parameters
form.
For complete guidelines, see (TaxEvatParameters_NL) Form.
For the Netherlands only - Set up the electronic tax error messages that are used
in electronic tax declarations in the Netherlands in the Electronic tax error
messages form.
For complete guidelines, see (TaxEvatError_NL) Form.
Budgets
Create budget models and submodels by which you define the structure of your
ledger budgets in the Budget model form.
For complete guidelines, see Budget model (form).
Microsoft Dynamics AX Implementation Guide 203
Periods
Create period allocation keys that distribute amounts in future periods (for example,
budget transactions in the months or quarters of a fiscal year) in the Period allocation
keys form.
For complete guidelines, see Period allocation key (Form).
Fixed assets
For complete guidelines for setting up the Fixed assets module, see Set up Fixed
assets. Although Fixed Assets is a separate module, the forms for the module are
located in the General ledger section.
Prerequisites
Set up the following modules:
AdministrationBasicGeneral ledgerFlowchart
2. Set up groups of bank transaction types, such as checks, deposits, and fees in the
Bank transaction groups form.
For complete guidelines, see Bank transaction groups (Form).
3. Enter information about the banks in which you have accounts. When you set up a
new bank account and enter the bank group on the account, the bank group
information is copied to the bank account in the Bank groups form.
For complete guidelines, see Bank groups (Form).
4. On the Number sequences tab, enter the number sequences that are used for
deposit slips and bank reconciliations in the Parameters form.
For complete guidelines, see Bank parameters (Form).
5. Create and manage bank accounts in the Bank accounts form.
For complete guidelines, see Bank accounts (Form).
Prerequisites
Set up the following modules:
Administration
Basic
General ledger
Bank accounts created in the Bank module - used in methods of payment.
Microsoft Dynamics AX Implementation Guide 207
Flowchart
Microsoft Dynamics AX Implementation Guide 208
Price/Discount
Create and maintain price, line-discount, multiline discount, and total discount
groups for customers in the Customer price/discount groups form.
For complete guidelines, see Price/discount groups (PriceDiscGroup) Form.
Create and maintain price, line-discount, multiline discount, and total discount
groups for items in the Item discount groups form.
For complete guidelines, see Price/discount groups (PriceDiscGroup) Form.
Create and edit the names of trade agreement journals in the Trade agreement
journal names form.
For complete guidelines, see Trade agreement journal names (Form).
Activate trade agreements by selecting the relevant combination of discount,
customer, and item in the Activate price/discount form.
For complete guidelines, see Activate sales price/discount (Form).
Misc. charges
Set up codes for the miscellaneous charges that you want to use in sales orders in
the Misc. charges codes form.
For complete guidelines, see Misc. charges code (Form).
Create and maintain miscellaneous charges groups for vendors in the Customer
misc. charges groups form.
For complete guidelines, see Misc. charges groups (Form).
Create and maintain groups of miscellaneous charges for items in the Item misc.
charges groups form.
For complete guidelines, see Misc. charges groups (Form).
Define the miscellaneous charges you want to automatically assign to orders in the
Auto-misc. charges form.
For complete guidelines, see Auto-misc. charges (Form).
Supplementary items
Create and maintain supplementary item groups for customers in the
Supplementary item - Customer groups form.
For complete guidelines, see Supplementary item groups (Form).
Create and maintain supplementary item groups for items in the Supplementary
item - Item groups form.
For complete guidelines, see Supplementary item groups (Form).
Microsoft Dynamics AX Implementation Guide 210
Distribution
Create and maintain the conditions for an item's transfer from seller to buyer in the
Terms of delivery form.
For complete guidelines, see Terms of delivery (Form).
Create and maintain the means of transport used when delivering an order from the
seller to the buyer in the Modes of delivery form.
For complete guidelines, see Modes of delivery (Form).
Create and maintain reasons for the deliveries, for example gifts, in the Reasons
for delivery form.
For complete guidelines, see Reasons for delivery (Form).
Create and maintain ID codes and descriptions for delivery destinations in the
Destination codes form.
For complete guidelines, see Destination codes (Form).
Create and maintain descriptions for the various package types in the Package
appearance form.
For complete guidelines, see Package appearance (Form).
Create and maintain a list of carrier names and addresses in the Carrier form.
For complete guidelines, see (SalesCarrier) Form.
Forms
Create the standard text that appears on different forms in the Form notes form.
For complete guidelines, see Form notes (FormLetterRemarks) Form.
Set up the sorting orders for requisitions, receipts lists, packing slips, and invoices
in the Form sorting form.
For complete guidelines, see Sales form sorting parameters (Form).
Sales order
Create and maintain sales origin codes that can be used to track the origin of sales
orders in the Sales origin form.
For complete guidelines, see Order origin codes (Form).
Create and maintain sales order pools (groups) in the Order pools form.
For complete guidelines, see Order pools (Form).
Microsoft Dynamics AX Implementation Guide 211
Create and maintain IDs and descriptions of actions to be taken in the Return
action form when sold items are returned.
Depending on how your items are set up, it may also be necessary to set up
inventory dimensions (Inventory management > Setup > Dimensions >
Dimension groups).
For complete guidelines, see Return action (Form).
Quotations
Set up the quotation types you want to use in the Type form.
For complete guidelines, see Quotation type (Form).
Set up groups of similar quotation templates in the Template groups form.
For complete guidelines, see Quotation template groups (Form).
Payment
Set up and manage the terms for obtaining cash discounts in the Cash discounts
form.
The cash discount codes are linked to customers and are applied to sales orders.
For complete guidelines, see Cash discounts (CashDisc) Form.
Set up payment schedules to manage installment payments from customers in the
Payment schedules form.
For complete guidelines, see Payment schedules (PaymSched) Form.
Define the payment days that are used for the calculation of due dates, and specify
payment days for a specific day of the week or month in the Payment days form.
For complete guidelines, see Payment days (PaymDay) Form.
Create and maintain payment fees that are associated with customers in the
Payment fee form.
For complete guidelines, see Customer payment fee (Form).
Create and maintain payment steps in the Payment step form.
For complete guidelines, see Payment step (Form).
Commission
Create and maintain sales commission groups for sales to a specific customer or
group of customers in the Customer groups for commission form.
For complete guidelines, see Commission customer group (Form).
Create and maintain sales commission groups for the various sales groups in the
Sales groups form.
For complete guidelines, see Commission sales group (Form).
Create and maintain sales commission groups for specific items or range of items in
the Item groups form.
For complete guidelines, see Commission item group (Form).
Create and maintain data used for calculation of sales commission in the
Commission calculation form.
For complete guidelines, see Commission calculation (Form).
Create and maintain ledger account data relevant to commission posting in the
Commission posting form.
For complete guidelines, see Inventory posting (Form).
Statistics
Set up user-defined intervals to analyze the maturity distribution of customer
accounts in the Aging buckets form.
For complete guidelines, see Aging buckets (CustVendReportInterval) Form.
Create line of business codes that you assign to customers in the Line of business
form.
For complete guidelines, see Line of business (LineOfBusiness) Form.
Create and manage customer statistics groups to use as criteria in inquiries and
reports in the Statistics group form.
For complete guidelines, see Statistics group (Form).
Basic
Set up the receipt calendar in the Calendar form (Basic > Calendar).
For complete guidelines, see Calendar (Form).
Microsoft Dynamics AX Implementation Guide 213
Set up invoice number sequence groups in the Number sequences form (Basic >
Setup > Number sequences > Number sequences).
For complete guidelines, see Number sequences (Form).
Set up address setup forms (Basic > Setup > Addresses >):
ZIP/postal Codes
For complete guidelines, see Postal (codes (AddressZipCodes) Form)
Country/region
For complete guidelines, see Country/region (form)
Address format
For complete guidelines, see Address format (Form)
Address abbreviation
For complete guidelines, see Address abbreviation (Form)
Contact person
For complete guidelines, see Contact persons (Form)
Titles of persons
For complete guidelines, see Titles (Form)
NAF codes
For complete guidelines, see (CompanyNAFCode) Form
ZIP/postal Codes import log
For complete guidelines, see (AddressZipCodeImportLog_NL) Form
General ledger
Set up financial dimensions in the Dimensions form (General ledger >
Dimensions).
For complete guidelines, see Dimensions (Form).
Tax setup forms (General ledger > Setup > Sales tax >):
Sales tax codes
For complete guidelines, see Sales tax codes (Form)
Sales tax groups
For complete guidelines, see Sales tax groups (Form)
Item sales tax groups
For complete guidelines, see Item sales tax groups (Form)
Ledger posting groups
For complete guidelines, see Account group - Ledger posting group (Form)
Sales tax exempt codes
Microsoft Dynamics AX Implementation Guide 214
Bank
Set up the Central Bank purpose code in the Payment purpose codes form (Bank >
Setup > Setup).
For complete guidelines, see Payment purpose codes (Form).
Prerequisites
Set up the following modules:
AdministrationBasicGeneral ledgerIf you want to set up payment journals,
you must first set up the journal under finance (General ledger > Setup >
Journals > Journal names).
If you want to run exchange rate adjustment, you must set up the currency
codes (General ledger > Setup > Exchange rates).
Bank accounts created in the Bank module - used in methods of payment
Microsoft Dynamics AX Implementation Guide 216
Flowchart
Microsoft Dynamics AX Implementation Guide 217
7. Create and maintain vendors, including the tax authorities to whom your company
reports sales taxes in the Vendors form.
To make the setup process simpler, create company or user templates from the first
records that are created. A template typically includes entries in a large number of
fields that reflect the features that the company wants to implement for a particular
type of vendor.
For complete guidelines, see Vendors (Form). For more information, see Using
record templates.
Price/Discount
Create and maintain price, line-discount, multiline discount, and total discount
groups for vendors in the Vendor price/discount groups form.
For complete guidelines, see Price/discount groups (PriceDiscGroup) Form.
Create and maintain price, line-discount, multiline discount, and total discount
groups for items in the Item discount groups form.
For complete guidelines, see Price/discount groups (PriceDiscGroup) Form.
Create and edit the names of trade agreement journals in the Trade agreement
journal names form.
For complete guidelines, see Trade agreement journal names (Form).
Activate trade agreements by selecting the relevant combination of discount,
vendor, and item in the Activate price/discount form.
For complete guidelines, see Activate purchase price/discount (Form).
Misc. charges
Set up codes for the miscellaneous charges that you want to use in purchase orders
in the Misc. charges codes form.
For complete guidelines, see Misc. charges code (Form).
Create and maintain miscellaneous charges groups for vendors in the Vendor misc.
charges group form.
For complete guidelines, see Misc. charges groups (Form).
Create and maintain miscellaneous charges groups for items in the Item misc.
charges groups form.
For complete guidelines, see Misc. charges groups (Form).
Microsoft Dynamics AX Implementation Guide 219
Define the miscellaneous charges you want to automatically assign to orders in the
Auto-misc. charges form.
For complete guidelines, see Auto-misc. charges (Form).
Supplementary items
Create and maintain supplementary item groups for vendors in the Supplementary
item - Vendor groups form.
For complete guidelines, see Supplementary item groups (Form).
Create and maintain supplementary item groups for items in the Supplementary
item - Item groups form.
For complete guidelines, see Supplementary item groups (Form).
Distribution
Create and maintain the conditions for an item's transfer from seller to buyer in the
Terms of delivery form.
For complete guidelines, see Terms of delivery (Form).
Create and maintain the means of transport used when delivering an order from the
seller to the buyer in the Modes of delivery form.
For complete guidelines, see Modes of delivery (Form).
Create and maintain ID codes and descriptions for delivery destinations in the
Destination codes form.
For complete guidelines, see Destination codes (Form).
Forms
Create the standard text that appears on different forms in the Form notes form.
For complete guidelines, see Form notes (FormLetterRemarks) Form.
Set up the sorting orders for requisitions, receipts lists, packing slips, and invoices
in the Form sorting form.
For complete guidelines, see Purchase form sorting parameters (Form).
Payments
Set up and manage the terms for obtaining cash discounts in the Cash discounts
form.
The cash discount codes are linked to vendors and are applied to purchase orders.
For complete guidelines, see Cash discounts (CashDisc) Form.
Set up payment schedules to manage installment payments to vendors in the
Payment schedules form.
For complete guidelines, see Payment schedules (PaymSched) Form.
Define the payment days that are used for the calculation of due dates, and specify
payment days for a specific day of the week or month in the Payment days form.
For complete guidelines, see Payment days (PaymDay) Form.
Create and maintain payment fees that are associated with vendors in the Payment
fee form.
For complete guidelines, see Payment fee (VendPaymFee) Form.
Create and maintain payment instructions in the Payment instruction form.
For complete guidelines, see Payment instruction (PaymInstruction) Form.
Statistics
Set up user-defined intervals to analyze the maturity distribution of vendor accounts
in the Aging buckets form.
For complete guidelines, see Aging buckets (CustVendReportInterval) Form.
Create line of business codes that you assign to vendors in the Line of business
form.
For complete guidelines, see Line of business (LineOfBusiness) Form.
Tax 1099
Verify and update, according to the latest IRS requirements, the minimum amounts
that must be reported to the IRS in the 1099 fields form.
For complete guidelines, see 1099 fields (Form).
Microsoft Dynamics AX Implementation Guide 221
Basic
Set up the receipt calendar in the Calendar form (Basic > Calendar).
For complete guidelines, see Calendar (Form).
Set up invoice number sequence groups in the Number sequences form (Basic >
Setup > Number sequences > Number sequences).
For complete guidelines, see Number sequences (Form).
Set up address setup forms (Basic > Setup > Addresses >):
AddressesFor complete guidelines, see Postal (codes (AddressZipCodes) Form)
Country/region
For complete guidelines, see Country/region (form)
Address format
For complete guidelines, see Address format (Form)
Address abbreviation
For complete guidelines, see Address abbreviation (Form)
Contact person
For complete guidelines, see Contact persons (Form)
Titles of persons
For complete guidelines, see Titles (Form)
NAF codes
For complete guidelines, see (CompanyNAFCode) Form
ZIP/postal Codes import log
For complete guidelines, see (AddressZipCodeImportLog_NL) Form
General ledger
Set up financial dimensions in the Dimensions form (General ledger >
Dimensions).
For complete guidelines, see Dimensions (Form).
Tax setup forms (General ledger > Setup > Sales tax >):
Microsoft Dynamics AX Implementation Guide 222
Bank
Set up the Central Bank purpose code in the Payment purpose codes form (Bank >
Setup > Setup).
For complete guidelines, see Payment purpose codes (Form).
Prerequisites
Number sequences must be set up in the Number sequences form before you can
start using Alerts. See setup information in Number sequences (Form).
Flowchart
Batch processing
Batch processing must be set up for alerts to be delivered.
Microsoft Dynamics AX Implementation Guide 224
1. Configure the Due date alerts form to batch process all events caused by due
dates. The batch process generates an alert when an event matches the rule
conditions.
For complete guidelines, see About alert batch execution.
2. Configure the Change based alerts form to batch process all change-based events
(field updates, records deleted, or records created) that have occurred since batch
processing was executed the last time. The batch process generates an alert when
an event matches the rule conditions.
For complete guidelines, see About alert batch execution.
When setting up batch processing, consider whether you want to set up a batch-
processing window. The batch-processing window is optional, and you can set up the
batch process without applying the batch-processing window.
1. Batch-processing window
With a batch-processing window you set up an interval by which the time limit setup in
a due-date alert rule criterion can be exceeded. The interval you specify on the Alert
parameters form defines a number of days where alerts are delivered even though
batches do not run.
For complete guidelines, see About alert batch execution.
2. E-mail alerts
The e-mail alerts functionality enable users to receive alerts as e-mail messages. The e-
mail functionality is optional, so you can use the Alerts feature without applying the e-
mail alerts functionality. If you do not set up the e-mail functionality, users can receive
their alert as pop-ups only. For additional information about setup information, see
About alert e-mail messages.
1. Configure the parameters that Microsoft Dynamics AX needs to communicate with
an SMTP server on the E-mail parameters form.
2. Define a valid recipient e-mail address on the Options... form.
3. Set up an e-mail identification for Alerts, a sender e-mail address and an e-mail
template on the E-mail templates form.
alert e-mail functionality without adding drill-down links in the e-mail template and
without setting up a retry schedule for the e-mail messages.
Drill down links can be applied in the e-mail template on the Alert parameters
form to enable users to drill down to alerts, alert rules or the alert origin from an
alert e-mail message.
Drill-down links in e-mail alerts are optional and you can set up an e-mail template
and use the e-mail alert functionality without using drill-down links.
When you insert drill-down links into the e-mail template, you should also choose a
drill-down target value for the links. The primary purpose of the drill-down target is
to prevent users from drilling down to a wrong Microsoft Dynamics AX database in
situations where they can receive alerts from two different databases. The drill-
down link in alert e-mails must drill down to the database where the event occurred
and the drill-down target value identifies the database.
If users only receive alerts from one database, you need not change the default
setting of the drill-down target (= 0).
For complete guidelines, see About drilling down from an alert e-mail message.
Prerequisites
Set up the following modules:
AdministrationBasic
General ledgerAccounts receivableAccounts payableInventory managementTo
enable Microsoft Dynamics AX to run Intercompany, you must set up customers and
vendors to run intercompany.
Microsoft Dynamics AX Implementation Guide 226
Before you set up Intercompany, you must decide which of your customers are
intercompany customers and which of your vendors are intercompany vendors. You
must decide with each of your other Microsoft Dynamics AX company accounts, which
trading policy to apply to the intercompany trading relation with the particular
intercompany customer or vendor.
Flowchart
Prerequisites
Set up the Administration module.
Set up the following in the Basic module:
Employee
For complete guidelines, see Employee (EmplTable) Form.
Document types
For complete guidelines, see Document type (Form).
Periods
For complete guidelines, see Periods (Form).
Titles of persons
For complete guidelines, see Titles (Form).
ZIP/postal Codes
For complete guidelines, see ZIP/Postal codes (form).
Address format
For complete guidelines, see Address format (Form).
Set up Customer groups in the Accounts receivable module.
For complete guidelines, see Customer groups (Form).
Set up Vendor groups in the Accounts payable module.
For complete guidelines, see Vendor groups (VendGroup) Form.
Optional
If you want to use CRM with Questionnaire, Project, or Master planning, you must
set up those modules. For more information, see Set up Questionnaire module, Set up
Project module, and Set up Master planning module.
Microsoft Dynamics AX Implementation Guide 229
Flowchart
Microsoft Dynamics AX Implementation Guide 230
Microsoft Dynamics AX Implementation Guide 231
See Sales and marketing (CRM) module flowchart for print version.
Employee
Create and maintain data for all employees in the company accounts in the Employee
form.
For complete guidelines, see Employee.
Contact Management
Business relations
Create a list of phrases that describes the business relation's current position in the
company's lead pipeline in the Status form. For complete guidelines, see Business
relation status (Form).
Set up and maintain a list of relevant geographical areas that you can use for sales
and sales statistics purposes in the Sales districts form. For complete guidelines,
see Sales Districts (Form).
Set up and maintain a list of general business segments you can use to categorize
the business relation in the Segments form. For complete guidelines, see Segment
(Form).
Set up a list of subcategories for each business segment in the Subsegments form.
For complete guidelines, see Subsegment (Form).
Microsoft Dynamics AX Implementation Guide 232
Register the business sectors that are relevant for the business relations within the
company in the Business sectors form. For complete guidelines, see Business
sectors (Form).
Set up a list of companies that are connected in chains in the Company chains
form. For complete guidelines, see Company chains (Form).
Contact persons
Set up and maintain official job titles for the contact persons in the Titles of
persons form. For complete guidelines, see Titles (Form).
Set up and maintain a list of job functions that can be assigned to the contact
persons in the Functions of persons form. For complete guidelines, see Functions
(Form).
Set up and define a list of relevant character descriptions for the contact persons in
the Character form. For complete guidelines, see Character (Form).
Create and maintain a list of decision codes in the Decision form. These can be
used to describe a contact person's influence in the decision-making process of the
business relation. For complete guidelines, see Decision (Form).
Set up and define a list of relevant interests: professional, personal, or hobbies, for
a contact person in the Interest form. For complete guidelines, see Interest
(Form).
Set up and define a list of phrases that can be used to describe the contact person's
attitude towards your company in the Loyalty form. For complete guidelines, see
Loyalty (Form).
Create and maintain a list of courtesy titles in the Person's title form. For complete
guidelines, see Title ((smmContactTitleGroup) Form).
Set up standard closings to use in written communication with the contact person in
the Complimentary close form. For complete guidelines, see Complimentary close
(Form).
Create and maintain salutations for written communication with contact persons in
the Salutation form. For complete guidelines, see Salutation (Form).
Activities
Set up and store a list of phases that defines the progress of an activity in the
Activity phases form. For complete guidelines, see Activity Phases (Form).
Set up and maintain activity plans in the Activity plans form. An activity plan is a
group of related activities. For complete guidelines, see Activity Plan (Form).
Set up and register a list of possible activity types or groups of activities in the
Activity types form. For complete guidelines, see Activity Types (Form).
Sales Quotations
Create and maintain sales quotation phases to be used when tracking the progress
of a quotation in the Phase form. For complete guidelines, see Phase (Form).
Microsoft Dynamics AX Implementation Guide 233
Create and maintain codes in the Prognosis form, for the assumed time interval
when the quotation is expected to be successful. For complete guidelines, see
Quotation prognosis (Form).
Create and maintain numerical codes in the Probability form, for the probability of
winning the quotation. For complete guidelines, see Quotation probability (Form).
Create and maintain information about why a particular quotation was won by the
company or lost to the competition in the Reason won/lost form. For complete
guidelines, see Quotation reason (Form).
Set up and define competitors in the Competitors form, with a possible reference
to a company registered in the Business relation form. For complete guidelines, see
Quotation competitors (Form).
Mailings
Set up and maintain mailing categories of items to send to contact persons in the
Mailing category form. For complete guidelines, see Mailing category (Form).
Set up and maintain subcategories for each mailing category in the Mailing items
form. For complete guidelines, see Mailing items (Form).
E-mail groups
Set up and maintain e-mail categories in the E-mail category form. These are
headings to help you keep track of the individual e-mail groups. For complete
guidelines, see Email category (Form).
Set up and maintain new e-mail groups in the E-mail groups form. For complete
guidelines, see E-mail groups (Form).
Telephony
Set up new telephone devices as registered on the Microsoft Windows Client in the
Phone parameters form. For complete guidelines, see Phone parameters (Form).
Import
Set up and define different file formats in the File format definition form. These
are used to import data into the Relation/Prospect journal form. For complete
guidelines, see File format definition (Form).
Set up and maintain the record groups in the Record group form. These are used
for import file definitions in the File format definition form. For complete
guidelines, see Record group (Form).
Sales management
Define queries in the Query administration form, which defines what queries
users are allowed to use in the Management statistics form. For complete
guidelines, see Query Administration (Form).
Microsoft Dynamics AX Implementation Guide 234
Create and maintain sales units in the Sales unit/team form. These consist of a
manager and sales representatives. For complete guidelines, see Sales unit/team
(Form).
Campaigns
Create campaign types in the Campaign type form. These are further
categorizations of campaigns that define them in greater detail than the campaign
group. For complete guidelines, see Campaign type (Form).
Create the campaign group types that are used to broadly categorize campaigns
into manageable portions in the Campaign group form. For complete guidelines,
see Campaign group (Form).
Set up categories describing the targets of campaigns in the Campaign target
form. For complete guidelines, see Campaign target (Form).
Set up and maintain a list of work roles or job functions in the Responsibilities
form. These roles are of the company's employees in their contact with the business
relation of a given campaign. For complete guidelines, see Responsibilities (Form).
Set up and define the various media types to be used in campaigns in the Media
type form. For complete guidelines, see Media type (Form).
Set up and define reasons why a particular campaign was canceled in the Reason
canceled form. For complete guidelines, see Reason canceled (Form).
Set up e-mail templates in the E-mail template form, to be used in the campaign
module. For complete guidelines, see Email templates (Form).
Telemarketing
Set up a number of reasons that describe why a particular telemarketing call was
canceled in the Reason canceled form. For complete guidelines, see Telemarketing
Reason (Form).
Prerequisites
Set up the following modules:
AdministrationBasicGeneral ledger.
If you use pricing, set up the following:
Accounts receivable > Customers
Accounts payable > Vendors.
If you use primary suppliers, set up the following:
Accounts payable > Vendors.
If you use bill of materials (BOM) or routes, set up the following:
Basic > Employee.
Microsoft Dynamics AX Implementation Guide 236
Flowchart
Company item
Create and maintain common item identifications used in an intercompany organization
on the Company item form.
For complete guidelines, see Company item (Form).
Dimensions
Create and maintain groups for automatically allocating batch and serial numbers on
the Number groups form.
For complete guidelines, see Number groups (Form).
Item dimensions
Create and maintain:
Configurations for on-hand inventory items and BOM items on the Configurations
form.
For complete guidelines, see Item configuration (Form).
Item sizes on the Sizes form.
For complete guidelines, see Sizes (Form).
Item colors on the Colors form.
For complete guidelines, see Colors (Form).
Item variations on the Item dimension combinations form.
For complete guidelines, see Combinations of item dimensions (Form).
Price/Discount
Create and maintain:
Price, line-discount, multiline discount, and total discount groups for items on the
Item discount groups form.
For complete guidelines, see Price/discount groups (Form).
Price, line-discount, multiline discount, and total discount groups for customers on
the Customer price/discount groups form.
Note that this form is also set up in the Accounts receivable module.
For complete guidelines, see Price/discount groups (Form).
Price, line-discount, multiline discount, and total discount groups for vendors on the
Vendor price/discount groups form.
Note that this form is also set up in the Accounts payable module.
For complete guidelines, see Price/discount groups (Form).
Microsoft Dynamics AX Implementation Guide 239
Misc. charges
Create and maintain miscellaneous charge groups for:
Items on the Item misc. charges groups form.
Note that this form is also set up in the Accounts receivable and Accounts
payable modules.
For complete guidelines, see Misc. charges groups (Form).
Customers on the Customer misc. charges groups form.
Note that this form is also set up in the Accounts receivable module.
For complete guidelines, see Misc. charges groups (Form).
Vendors on the Vendor misc. charges group form.
Note that this form is also set up in the Accounts payable module.
For complete guidelines, see Misc. charges groups (Form).
Supplementary items
Create and maintain supplementary item groups for:
Items on the Supplementary item - Item groups form.
Note that this form is also set up in the Accounts receivable and Accounts
payable modules.
For complete guidelines, see Supplementary item groups (Form).
Customers on the Supplementary item - Customer groups form.
Note that this form is also set up in the Accounts receivable module.
For complete guidelines, see Supplementary item groups (Form).
Vendors on the Supplementary item - Vendor groups form.
Note that this form is also set up in the Accounts payable module.
For complete guidelines, see Supplementary item groups (Form).
Distribution
Create and maintain transport details, such as, mode of transport, shipping and
receiving point details, and transport duration on the Transport form.
Note that before this form is set up, you need to set up the Modes of delivery form in
the Accounts receivable module.
For complete guidelines, see Transport (Form).
Inventory breakdown
Create and maintain inventory:
Store areas on the Store areas form.
Microsoft Dynamics AX Implementation Guide 240
Inventory
Create and maintain:
Buyer groups on the Buyer groups form.
For complete guidelines, see Buyer groups (Form).
Counting groups on the Counting groups form.
This is a mandatory setup if you want to use counting.
For complete guidelines, see Counting groups (Form).
Blocking causes on the Blocking causes form.
For complete guidelines, see Blocking cause (Form).
Shipment templates on the Shipment templates form.
For complete guidelines, see Template (Form).
Fiscal LIFO reporting groups on the Fiscal LIFO reporting group form.
For complete guidelines, see Fiscal LIFO reporting group (Form).
RFID
Create and maintain radio frequency identification (RFID) servers on the RFID Servers
form.
For complete guidelines, see RFID Servers (Form).
Inventory equipment
Create and maintain:
Pallet types on the Pallet types form.
For complete guidelines, see Pallet type (Form).
Pallet type groups on the Pallet type groups form.
For complete guidelines, see Pallet type group (Form).
Pallets on the Pallets form.
Microsoft Dynamics AX Implementation Guide 241
Bills of materials
Create and maintain configuration groups used in the allocation of configuration
groups to the individual BOM lines on the Configuration groups form.
For complete guidelines, see Configuration groups (Form).
Create and maintain cost groups on the Cost groups form.
For complete guidelines, see Cost groups (Form).
Define parameters to control how items are handled during BOM calculation on the
Calculation groups form.
For complete guidelines, see BOM calculation groups (Form).
Journals
Create and maintain:
Journal names on the Journal names, warehouse management form.
For complete guidelines, see Journal names, warehouse management (Form).
Fiscal LIFO journal names on the Journal names, Fiscal LIFO form.
For complete guidelines, see Journal names, Fiscal LIFO (Form).
Packing material
Create and maintain item packing material groups on the Packing groups form.
For complete guidelines, see Packing groups (Form).
Create and maintain item packing material codes on the Packing material codes
form.
For complete guidelines, see Packing material codes (Form).
Define which materials are included in a packing unit, assign weights, and view the
total number of items contained in the packing unit on the Packing units form. You
can define packing units for individual items, packaging groups, or for all items.
For complete guidelines, see Packing units (Form).
Enter packing material fees per packaging material code on the Packing material
fees form.
For complete guidelines, see Packing material fee (Form).
Microsoft Dynamics AX Implementation Guide 242
Forecast
Create and manage forecast models and submodels on the Forecast models form.
Also, generate cash flow forecasts.
For complete guidelines, see Forecast models (Form).
Create item allocation keys on the Item allocation keys form.
For complete guidelines, see Item allocation keys (Form).
Create period allocation keys that, for example, distribute forecast transactions in
fiscal year periods on the Period allocation keys form.
For complete guidelines, see Period allocation key (Form).
Accounts receivable
Set up commission item groups in the Item groups form (Accounts receivable >
Setup > Commission > Item groups).
For complete guidelines, see Commission item group (Form).
Product builder
Set up product model groups in the Item product model groups form (Product
Builder > Setup > Groups > Groups).
For complete guidelines, see Product model group (Form).
Production
Set up production pools in the Production pools form (Production > Setup >
Production > Production pools).
For complete guidelines, see Production pools (Form).
Set up production groups in the Production groups form (Production > Setup >
Production > Production groups ).
For complete guidelines, see Production groups (Form).
Set up production properties in the Properties form (Production > Setup > Work
centers > Properties).
For complete guidelines, see Properties (Form).
Microsoft Dynamics AX Implementation Guide 243
Project
Set up project categories in the Categories form (Project > Setup > Category >
Categories).
For complete guidelines, see Categories (Form).
Basic
Set up foreign trade information in the Intrastat parameters form (Basic > Setup >
Foreign trade > Intrastat parameters).
For complete guidelines, see Foreign trade parameters (Form).
Prerequisites
You must configure these forms before proceeding to the required Master planning
forms:
Set up the Administration module.
In the Basic module:
Set up the Calendar form. For more information, see Calendar (form).
Set up the Number sequences form. For more information, see Number
sequences (form).
In the Accounts receivable module:
Set up the Customers form. For more information, see Customers (form).
In the Accounts payable module:
Microsoft Dynamics AX Implementation Guide 244
Set up the Vendors form. For more information, see Vendors (form).
In the Inventory management module:
Set up the Items form. For more information, see Items (form).
Set up the Item coverage form. For more information, see Item coverage
(form).
Set up the Forecast models form. For more information, see Forecast models
(form).
Optional
If you want to use Master planning with Production or with Demand planner, you
must set up those modules. For more information, see Set up Production module and
the Microsoft Dynamics Demand Planner Release 2.0, Installation and Configuration
Manual.
Flowchart
Coverage
Create and set up minimum and maximum keys to increase or decrease the
minimum and maximum inventory levels that you define for an item in the
Minimum/Maximum keys form.
For more information, see, see Minimum/maximum keys (form).
Create and maintain coverage settings to calculate item requirements in the Item
setup form.
For more information, see, see Item coverage - Setup (form).
Microsoft Dynamics AX Implementation Guide 246
Safety stock
1. Create journal lines for the items that you want to check, and then calculate
proposals for minimum inventory levels in the Journals form.
For more information, see Item coverage journal (form).
2. Create and update minimum inventory journal lines in the Lines form.
For more information, see Item coverage journal lines (form).
Forecasting
Create item allocation keys in the Item allocation keys form. These keys assign a
percentage of a forecast, which is made at the group level, to individual items or
item dimensions.
For more information, see Item allocation keys (form).
Create period allocation keys in the Period allocation keys form. These keys
automatically explode sales orders during defined periods.
For more information, see Period allocation key (form).
Create and manage reduction keys in the Reduction keys form to set up
consumption of sales and purchase forecast requirements during master scheduling.
For more information, see Reduction keys (form).
Demand planner
Import an external forecast in the Import forecast form, which is in the Inventory
management module.
Import an external forecast using Microsoft Dynamics Demand Planner. To do so, you
must have Read permission to the following tables, which Microsoft Dynamics Demand
Planner creates during integration with Microsoft Dynamics AX:
MBS_SKU_MAPPING
MBS_LAST_FORECAST
For more information, see Import a forecast.
You can find additional information in the Microsoft Dynamics Demand Planner Release
2.0, Installation and Configuration Manual.
BOM
Create BOMs for items with components in the Bills of materials form.
For more information, see BOM (form).
Production
Create routes for produced items in the Routes form.
For more information, see Create and update routes (form).
Microsoft Dynamics AX Implementation Guide 247
Prerequisites
Configure these forms before you continue with the required Production forms:
1. Set up the Administration module.
2. In the Basic module, set up the following areas:
Company information - For more information, see Company information
(Form).
Working time templates - Set up working time templates to define the times
that are available for production scheduling. Set up templates before you create
working time calendars. For more information, see Working time templates
(Form).
Working times - For more information, see Working times (Form).
Work center groups - Set up work center groups to define the default
parameters that are applied to each work center that is then created and
assigned to the group. Set up work center groups before you set up work
centers. For more information, see Work center groups (Form).
Work centers - Set up work centers to define the different resources that are
used to complete the production process and to plan for capacity. For more
information, see Work centers (Form).
Number sequences - For more information, see Number sequences (form).
3. In the General ledger module, set up the following areas:
Chart of accounts - Set up ledger accounts for item groups. For more
information, see Chart of accounts (Form).
4. In the Inventory management module, set up the following areas:
Items - For more information, see Items (form).
Item groups - For more information, see Item group (Form).
Bills of materials - For more information, see BOM (Form).
Microsoft Dynamics AX Implementation Guide 248
Production flowchart
2. Journal names - Determine the production journal names that you want to use to
record and post transactions. For more information, see Journal name, Production
(Form).
Prerequisites
Provide and set up basic functionality for Administration, Basic, Accounts
receivable, Accounts payable, Inventory management, Production, Human
Resources, Project, Master planning and CRM modules to be able to use the
Product Builder module.
Basic
Create the number sequences for the Product Builder module in the Number
sequences form (Basic > Setup > Number sequences > Number sequences).
Create the document types to use in the Document types form (Basic > Setup >
Document management > Document types).
Microsoft Dynamics AX Implementation Guide 251
Accounts receivable
Set up to include configuration details while printing a quotation, confirmation, picking
list, packing slip, or invoice in the Form setup form (Accounts receivable > Setup >
Forms > Form setup).
To set up printing configuration details for quotations, on the Quotation tab, select
Line, Header, or All in the Include document on sheets field and Note in the
Include documents of type field.
To set up printing configuration details for confirmations, on the Confirmation tab,
select Line, Header, or All in the Include document on sheets field and Note in
the Include documents of type field.
To set up printing configuration details for the picking list, on the Picking list tab,
select Line, Header, or All in the Include document on sheets field, and Note in
the Include documents of type field.
To set up printing configuration details for the packing slip, on the Packing slip tab,
select Line, Header, or All in the Include document on sheets field and Note in
the Include documents of type field.
To set up printing configuration details for the invoice, on the Invoice tab, select
Line, Header, or All in the Include document on sheets field and Note in the
Include documents of type field.
Note For configuration details to be printed, you must also select Note in the
Generate documents of type field of the Product Builder module's
Parameters form.
Accounts payable
To include configuration details while printing a purchase order, set up the Form setup
form (Accounts payable > Setup > Forms > Form setup).
To do this, select Line, Header, or All in the Include document on sheets field, and
select Note in the Include documents of type field.
Inventory management
In the Product Builder field group on the General tab of the Items form (Inventory
management > Items), select from the following check boxes to suit your project
needs:
To make the item configurable in the Product Builder module, select the Modeling
enabled check box.
To make the system configure the item automatically after clicking Configure line,
select the Hide dialog box check box.
If you select the check box, the user does not see the user dialog box and does not
have to make any choices there; all the default settings are applied instead.
Microsoft Dynamics AX Implementation Guide 252
To skip the approval dialog box, select the Hide approval dialog check box.
The user makes all the required choices in the user dialog box, but the configuration
approval, sales price, and delivery date calculation are performed automatically.
To set up automatic starting of the configuration process, select the Autostart
configuration check box.
In this case, the user dialog box appears automatically after the user selects a
configurable item in the order or quotation line and clicks Save. The user need not
click Configure line for the user dialog box to appear.
To make the item configuring mandatory, select the Mandatory configuration
check box.
The user cannot save the line without making all the required choices in the user
dialog box.
Production
The Production module should be completely set up, because it relates entirely to the
Product Builder module.
Human resources
The Human Resources module relates to the Product Builder as a postrequisite, that
is, the module must be set up before Product Builder, but final configuration is done
after Product Builder is set up.
Project
To include configuration details while printing an invoice or packing slip, set up the
Form setup form (Project > Setup > Forms > Form setup).
To set up printing configuration details in the invoice, on the Invoice tab, select:
Line, Header, or All in the Invoice field
Note in the Include documents of type field.
To set up printing configuration details in packing slip, on the Packing slip tab,
select:
Line, Header, or All in the Packing slip field.
Note in the Include documents of type field.
Master planning
Set up the complete Master planning module because decisions you make there relate
closely to the Product Builder module.
Microsoft Dynamics AX Implementation Guide 253
CRM
The CRM module relates to the Product Builder as a postrequisite, that is, the module
must be set up before Product Builder, but final configuration is done after Product
Builder is set up.
Flowchart
2. User profiles
In the User profiles form, create a set of user profiles that correspond to the different
types of users who is given the access to the module. User profiles should be attached
to the modeling variables. Users should be attached to a user profile through the User
profiles form.
For complete guidelines for setting up the User profiles form, see User profiles (Form)
3. Modeling variables
1. In the Modeling variables form, create different types of modeling variables that
are used in the product models.
For complete guidelines for setting up Modeling variables form, see Modeling
variables (Form).
2. In the Outcomes form, create outcomes for modeling variables. The created
outcomes are used during item configuration to provide the user with a variety of
choices.
For complete guidelines for setting up the Outcomes form, see Variable outcomes
(Form).
Note This form is available only for modeling variables of the Enumerated
text type.
4. Variable group
In the Variable group form, create variable groups to use for grouping modeling
variables in the Variables form.
For complete guidelines for setting up the Variable group form, see Variable groups
(Form).
5. Global rules
In the Global rules form, create global validation rule sets, and attach the product
models for which they must be active.
For complete guidelines for setting up the Global rules form, see General rules version
(Form).
For complete guidelines for setting up the Customer product model group form,
see Customer product model group (Form).
2. In the Item product model groups form, create item product model groups.
For complete guidelines for setting up the Item product model groups form, see
Product model group (Form).
Note Both customers and items should be attached to the customer and item
product model groups. These groups are used for setting up default values.
7. Defaults
1. In the Default values form, create default values for product modeling variables.
These default values for product modeling remain in force unless they are
overwritten later (during item configuration) either by user selections or by
computed values.
For complete guidelines for setting up the Default values form, see Default values
(Form).
2. In the Default routes form, create and approve default routes, which you can then
use while building the modeling tree.
For complete guidelines for setting up the Default routes form, see Default values
(Form).
Postrequisites
You must set up the following forms after you have set up the Product Builder
module:
Accounts receivable
Complete the setup of the Accounts receivable module after you set up the Product
Builder module:
Select the product model group the customer belongs to in the Product model
group field of the Sales order field group on the Sales order tab of the
Customers form (Accounts receivable > Customers).
View the product model that is used for item configuring. Here, you can select to
configure the item by the product model that is currently inactive for this item in the
Product model number field of the Groups field group on the Other tab of the
Sales order form (Accounts receivable > Sales order).
View the product model that is used for item configuring in the Product model
number field of the Groups field group on the Other tab of the Sales quotation
form (Accounts receivable > Sales quotation). Here, you can also select to
configure the item by the product model that is currently inactive for this item.
Microsoft Dynamics AX Implementation Guide 256
CRM
Complete the setup of the CRM module after you set up the Product Builder module:
View the product model that is used for item configuring in the Product model
number field of the Groups field group on the Other tab of the Sales quotation
form (CRM > Sales quotation). Here, you can also select to configure the item by
the product model that is currently inactive for this item.
Attach the previously created user profiles to the employees in the User profile
field of the Employee form (CRM > Setup > Employee).
Project
Complete the setup of the Project module setup after you set up the Product Builder
module:
In the Project quotation form (Project > Project quotation): View the product
model that is used for item configuring. This is in the Product model number field
of the Groups field group on the Other tab. Here, you can also select to configure
the item by the product model that is currently inactive for this item.
In the Sales order form (Project > Inquiries > Item task > Sales order): View
the product model that is used for item configuring. This is in the Product model
number field of the Groups field group on the Other tab. Here, you can also select
to configure the item by the product model that is currently inactive for this item.
In the Item requirement form (Project > Inquiries > Item task > Item
requirement): View the product model that is used for item configuring. This is in
the Product model number field of the Groups field group on the Other tab.
Here, you can also select to configure the item by the product model that is
currently inactive for this item.
Basic
Complete the setup of the Basic module after you set up the Product Builder module:
Attach the previously created user profiles to the employees in the User profile
field of the Employee form (Basic > Employee).
Human Resources
Complete the setup of the Human Resources module after you set up the Product
Builder module:
Attach the previously created user profiles to the employees in the User profile
field of the Employee form (Human Resources > Employee).
Microsoft Dynamics AX Implementation Guide 257
Inventory management
Complete the setup of the Inventory management module after you set up the
Product Builder module:
Select the product model group the item belongs to in the Autostart configuration
field of the Groups field group on the General tab of the Items form (Inventory
management > Items).
Prerequisites
Set up Administration and Basic modules.
Optional
If you want to use Shop Floor Control with General ledger, Inventory
management, Production, Human Resources, or Project modules, you must set up
those modules. For more information, see Set up General ledger module, Set up
Inventory management module, Set up Production module, Set up Human resources
module, and Set up Project module.
Microsoft Dynamics AX Implementation Guide 258
Flowchart
2. Absence control
1. Create new or edit existing Human resource absence groups in the Absence
groups form. For complete guidelines, see Absence groups (Form).
Note In Shop Floor Control it is possible for employees to register on both
absence groups and absence codes.
2. Create new or edit existing absence codes for human resources on the Absence
codes tab in the Absence groups form. For complete guidelines, see Absence
codes (Form).
3. Indirect activities
1. Create indirect activity categories in the Indirect activities form for different types
of indirect activities. A group with system activities is already created by the wizard.
For complete guidelines, see Indirect activities (Form).
Note An indirect activity category can only contain activities of the same type.
For additional information, see About indirect activities.
2. Create indirect activities for each category on the Activities tab, in the Indirect
activities form. For complete guidelines, see Indirect activities setup (Form).
4. Profiles
1. Create profiles that cover working hours for all employees to be connected to shop
floor control in the Profile form. For complete guidelines, see Working hours profile
(Form).
For additional information, see About profiles.
2. Create profile groups in the Profile group form to secure that correct profiles are
applied to employees when they clock-in. For complete guidelines, see Profile group
(Form).
For additional information, see About groups.
5. Groups
1. Create calculation groups in the Calculation groups form for each team manager
or supervisor who is going to calculate employee registrations. For complete
guidelines, see Calculation groups (Form).
For additional information, see About groups.
Microsoft Dynamics AX Implementation Guide 260
2. Create approval groups in the Approval groups form for each payroll officer or
other person designated to approve employee registrations. For complete
guidelines, see Approval groups (Form).
For additional information, see About groups.
6. Payroll
1. Set up periods in the Pay periods form. These are used when transferring payroll
data and for calculating count units, pay adjustments, and payroll statistics. For
complete guidelines, see Pay periods (Form).
2. Set up specific pay types and rates in the Pay types form. These are used when
calculating pay. For complete guidelines, see Pay types (Form).
3. Create pay agreements with lines for calculating specific employee wages in the Pay
agreements form. For complete guidelines, see Pay agreements (Form).
For additional information, see Pay agreements.
Production integration
If you have selected to start production orders from shop floor control, consider the
parameter settings in the Start - default values form. For complete guidelines, see
Start - default values (Form).
For additional information, see About production default values.
If you have selected to report production orders as finished from shop floor control,
consider the parameter settings in the Report as finished - default values form.
For complete guidelines, see Report as finished - default values (Form).
Microsoft Dynamics AX Implementation Guide 261
Flex groups
Create flex groups in the Flex groups form. These are for employees that are allowed
to work flexible hours. For complete guidelines, see Flex groups (Form).
For additional information, see About groups.
Payroll statistics
Create payroll statistics in the Payroll statistics form, to show balances for employees
on specific pay types over specified periods of time. For complete guidelines, see Payroll
statistics (Form).
Registration forms
Create new or edit existing registration form configurations in the Configure
registration forms form, to fit the specific needs of the company. For complete
guidelines, see Registration form configuration (Form).
For additional information, see Configure registration forms.
Courses
Actions and action plans
Strategic plans
Human resources statistics
Human resources parameters
The main setup forms in the Human Resources module are divided into several
distinct feature areas, and each feature area is controlled by a license code. Therefore,
both mandatory and optional setup depend on how you want to use the system and the
license code(s) that you enable.
This topic details the mandatory and optional forms that you must set up to work with
the module’s features. Setup form descriptions are sorted according to the license code
that enables their use, and the mandatory setup steps are listed in the order you must
complete them.
Prerequisites
Set up the Administration and Basic modules, and make sure that the appropriate
configuration keys are enabled.
Microsoft Dynamics AX Implementation Guide 263
Flowcharts
Human Resource I
Human Resource II
1. Parameters
Set up parameters to specify default information, define number sequences, and other
functionality that you want to be used across the module.
For complete guidelines for setting up the Parameters form, see Human Resource
parameters (Form).
Microsoft Dynamics AX Implementation Guide 266
2. Organization
Line organization units represent the formal employment relation for all employees.
Therefore, you must set up the line organization units that reflect your company’s
formal organization structure. Specify information such as identification, address and
contact information, and dimensions. You can also create organizational hierarchies by
establishing primary and secondary unit relationships.
For complete guidelines for setting up the Organization form, see Organization units
(Form).
3. Employee
Set up and hire the employees that work in the company. For each employee, you must
specify identification. All other information in the form is optional and depends on the
information that you want to manage about employees.
For complete guidelines for setting up the Employee form, see Employees (Form).
Employee
Certificates
Create the certificates that have been earned by company employees. Certificates
are registered on employee resumes from the Employee form. You can also create
the certificates that can be achieved by successfully completing a training course.
Using certificates with courses requires that the Human Resources III license code is
enabled.
For complete guidelines for setting up the Certificates form, see Certificates
(form).
Language codes
Create language codes that you want to use when recording the native language of
employees on the Employee form.
For complete guidelines for setting up the Language codes form, see Language
codes (Form).
Microsoft Dynamics AX Implementation Guide 267
Entitled negotiators
Record information about the representatives who are entitled or authorized to
negotiate with the company on an employee’s behalf.
For complete guidelines for setting up the Entitled negotiators form, see Entitled
negotiators (form).
Vocational organizations
Record the vocational organizations, such as unions or employee associations, with
which some or all employees are associated.
For complete guidelines for setting up the Vocational organizations form, see
Vocational organizations (Form).
Employee record types
Create types of development plans or reminders of, for example, events,
agreements, or actions that are related to an employee. Reminder types are used by
employee records.
For complete guidelines for setting up the Employee record types form, see
Employee record types (Form).
Reason codes
Define codes that indicate the reason for an event or occurrence. Reason codes are
used when hiring or moving employees, when terminating employment, and when
rejecting an application for employment.
For complete guidelines for setting up the Reason codes form, see the Human
Resources reason codes (Form).
Skills
Skill types
Create and manage general categories of skills. All skills must be assigned to a skill
type.
For complete guidelines for setting up the Skill types form, see Skill types (Form).
Skills
Create skills that can be associated with an employee, applicant, or contact person,
or that can be used to describe position requirements.
For complete guidelines for setting up the Skills form. see Skills (Form).
Microsoft Dynamics AX Implementation Guide 268
Education
Education
Create the types of education you want to record as qualifications on an employee
or applicant resume, or to indicate a requirement for performing the tasks involved
in specific positions in the company. Education can include all kinds of studies,
instruction, or training that result in new skills, regardless of whether they are
achieved privately or in-company.
For complete guidelines for setting up the Education form, see Educations (Form).
Institutions
Set up institutions so that you can specify where employees received education, or
where they attended training courses.
For complete guidelines for setting up the Institutions form, see Institutions
(Form).
Degrees
Create the educational degrees that have been achieved by one or more employees.
Educational degrees are specified for employees as a part of their resume data and
can also be used as search criteria in a skill mapping.
For complete guidelines for setting up the Degrees form, see Degrees (Form).
Education group
Create education groups to categorize educations.
For complete guidelines for setting up the Education group form, see Educations
(Form) and Education group (Form).
Loan
Loan items
Record the items or other company assets that can be loaned to employees. Loan
items can include cell phones, company cars, computer equipment, uniforms,
cameras, and books. The loan item describes what is being loaned, who is
responsible for the item and, if relevant, the number of days the item may be on
loan.
For complete guidelines for setting up the Loan items form, see Loan items (Form).
Loan types
Create categories of items that can be loaned to people in the network. When you
create loan items, you must assign the item to a loan type.
For complete guidelines for setting up the Loan types form, see Loan types (Form).
Microsoft Dynamics AX Implementation Guide 269
Development
Interview types
Set up general categories of interviews. When you create an interview, you must
assign the interview to the appropriate interview type. Examples of interview types
are appraisal interview, job development discussions, and exit interviews.
For complete guidelines for setting up the Interview types form, see Interview
types (Form).
Development plan
Set up general categories of development plans. When you create a development
plan, you must assign the plan to the appropriate development plan type. Examples
of development plan types are educational plans, career plans, and personal plans.
For complete guidelines for setting up the Development plan types form, see
Development plan types (Form).
Payroll
Payroll category
Create categories to classify employee salaries. Examples of payroll categories are
hourly, increment, and salaried.
For complete guidelines for setting up the Payroll category form, see Payroll
category (Form).
Income tax codes
Create tax categories for employees. Income tax codes are used when recording
wage information for employees. Only one tax code can be assigned to an
employee.
For complete guidelines for setting up the Income tax codes form, see Income tax
codes (Form).
Benefit types
Set up the types of benefits that the company grants to its employees. Examples of
benefits are free telephone, gym membership, or a newspaper subscription.
For complete guidelines for setting up the Benefit types form, see Benefit type
(Form).
Salary deduction types
Define the types of deductions that can be made from employee salaries, and
provide a description of each deduction.
For complete guidelines for setting up the Salary deduction types, see Salary
deduction types (Form).
Microsoft Dynamics AX Implementation Guide 270
Insurance types
Catalog general types of insurance policies that the company employees have,
either currently or historically. You use insurance types when recording wage
information for an employee. Examples of insurance types are health, life, and
dental.
For complete guidelines for setting up the Insurance types form, see Insurance
types (Form).
Income tax categories
Create tax categories that apply to company employees. You can use income tax
categories when you record wage information for employees. An employee can only
belong to one tax category.
For complete guidelines for setting up the Income tax category form, see Income
tax category (Form).
Terms of employment
Create categories of employment terms. Examples of terms of employment are full-
time, part-time, and contractor.
For complete guidelines for setting up the Terms of employment form, see Terms
of employment (Form).
Personnel category
Create categories of employees to provide a basis for assigning payroll information.
You can divide each category into wage groups, which can be additionally divided
according to payroll scale level. For example, if you employ many accountants you
could create an accountant category in payroll scale level. You could then create
wage groups to indicate a level of qualification or experience related to the
accountant category. When you assign a payroll scale level to a wage group, you
can also differentiate between junior and senior accountants.
For complete guidelines for setting up the Personnel category form, see Personnel
category (Form).
Leave types
Set up the types of leave that employees can take from the company. Examples of
leave types are maternity, educational, and medical.
For complete guidelines for setting up the Leave types form, see Leave types
(Form).
Payroll allowance
Enter the employee’s nontaxable salary.
For complete guidelines for setting up the Payroll allowance for, see Payroll
allowance (Form).
Microsoft Dynamics AX Implementation Guide 271
1. Parameters
Set up parameters to specify default information, define number sequences, and other
functionality that you want to be used across the module.
For complete guidelines for setting up the Parameters form, see Human Resource
parameters (Form).
2. Position groups
Set up categories in which you can group positions in the company that are similar in
nature or function.
For complete guidelines for setting up the Position groups form, see Position groups
(Form).
3. Positions
Create the positions in which you want to hire employees. You can create job-type
positions for line organization units or role-type positions for project or matrix
organization units.
For complete guidelines for setting up the Positions form, see Positions (Form).
4. Absence setup
Set up rules to control the way in which employees register absence. For each
employee to whom you assign the setup, you can define registration rules that control
the period in which the employees can register absences, who approves their
registrations, and whether they record absence in days or hours.
For complete guidelines for setting up the Absence setup form, see Absence setup
(Form).
5. Absence groups
Create categories to classify absence codes into logical groups. This is especially useful
if you have many different types of absence. For example, the leave category might
include the following absence codes: Short term, Maternity, and Educational.
Absence groups are also used when you set up columns for the Absence status report.
For complete guidelines for setting up the Absence groups form, see Absence groups
(Form)
Microsoft Dynamics AX Implementation Guide 272
6. Absence codes
Create absence codes to enable employees to indicate the reason for the absence
during registration. Additionally, you can apply registration validations to these reasons.
For example, applying registration validations to absence codes lets you control the
maximum acceptable number of absences during a specific period, multi-day absences
during a specific period, and multiple occurrences of multi-day absences during a
period.
For complete guidelines for setting up the Absence codes form, see Absence codes
(Form).
Organization
Position status
Create status types that indicate the current state of a position. For example, a
status called vacant could be assigned to a position that is currently active but
empty.
For complete guidelines for setting up the Position status form, see Position status
(Form).
Work tasks
Define specific tasks that employees working in a specific position must perform.
For complete guidelines for setting up the Work tasks form, see Work tasks (form).
Absence
Absence status
Define the types and appearance of absence reports.
You can control the report's subject and determine the time frame for the displayed
results by assigning a period code (month, quarter, half-year, or year), and by
assigning groupings (employee, organizational unit, or gender).
For complete guidelines for setting up the Absence status form, see Absence
status (Form).
Microsoft Dynamics AX Implementation Guide 273
Recruitment
Media types
Set up categories of the advertising media that you use to recruit new employees.
An example of a media type is ―newspaper,‖ to which you can then assign specific
media, such as the name of the newspaper in which you advertised.
For complete guidelines for setting up the Media types form, see Media types
(Form).
Media
Create the specific advertising media sources that you use in recruitment projects to
attract potential new employees.
For complete guidelines for setting up the Media form, see Advertising media
(Form).
Application bookmarks
Facilitate communications with applicants by defining the fields from which you draw
information when you are using application documents or application e-mail
messages to correspond with applicants. You can use the bookmarked fields to
insert specific information into prepared text, which you can then include in
responses to applicants.
For complete guidelines for setting up the Application bookmarks form, see
Application bookmarks (Form).
Application e-mail templates
Create templates for e-mail correspondence with applicants. You can create one or
more templates for the following types of communications: Received, Interview,
Rejection, Employed.
For complete guidelines for setting up the Application e-mail templates form, see
Application e-mail templates (Form).
Reason codes
Define codes that indicate the reason for an event or occurrence. Reason codes are
used when hiring, moving, or terminating the employment of employees and when
rejecting an application for employment.
For complete guidelines for setting up the Reason codes form, see the Human
Resources reason codes (Form)
1. Parameters
Specify default information, define number sequences, and determine other
functionality that you want to be used across the module.
For complete guidelines for setting up the Parameters form, see Human Resource
parameters (Form).
2. Course groups
Assemble course types into logical groups. If you have many different types of courses,
this can make it easier to find the course you want. For example, a group that is named
―company‖ might contain the following course types: Company Business Processes,
Company HR Management, Company Balanced Scorecard.
For complete guidelines for setting up the Course groups form, see Course groups
(Form).
3. Course types
Set up course types to classify courses according to their type, structure, or subject
matter. Examples of course types include courses in personal development,
management training, foreign languages, and programming.
For complete guidelines for setting up the Course types form, see Course types
(Form).
4. Courses
Set up internal training courses, and manage information about participants in each
course.
For complete guidelines for setting up the Courses form, see Training courses (Form).
Course
Course locations
Specify information about the locations where you hold training courses, such as the
rooms that are used at the location, the instructors who teach there, a picture of the
location, and a recommended hotel in the area.
For complete guidelines for setting up the Course locations form, see Course
locations (Form).
Microsoft Dynamics AX Implementation Guide 275
Classroom groups
Set up groups of classrooms. Each group can represent items such as all rooms in a
particular building or rooms that are appropriate for a special type of instruction.
This makes it easy to find and assign the most suitable classroom to a course.
For complete guidelines for setting up the Classroom groups form, see Classroom
groups (Form).
Classrooms
Record information about the specific rooms at training course locations, such as a
room's location within a building, the room's maximum capacity, and notes to
indicate any special conditions.
For complete guidelines for setting up the Classrooms form, see Classrooms
(Form).
Instructors
Assign course instructors to a specific course location. However, if the same
instructor teaches at several locations, do not assign a course location to the
instructor. You can only assign employees, contact persons, and applicants as
instructors.
For complete guidelines for setting up the Instructors form, see Instructors
(Form).
Prerequisites
Set up the Administration and Basic modules, and ensure that the appropriate
configuration keys are enabled.
Microsoft Dynamics AX Implementation Guide 276
Flowcharts
Questionnaire I
Questionnaire II
Microsoft Dynamics AX Implementation Guide 277
1. Parameters
Define parameters to control basic functions and default settings for questionnaires,
such as the style sheet that you want to apply to questionnaires and the number
sequence selections for answers, questions, and respondents.
For complete guidelines for setting up the Parameters form, see Questionnaire
parameters (Form).
3. Questionnaire types
Create categories that you want to use to classify questionnaires that share common
characteristics, such as similar purpose, subject matter, or target group. Examples of
questionnaire types are customer surveys, evaluations, and examinations. Classifying
questionnaires according to type also enables you to quickly find a specific
questionnaire by filtering by type on the Questionnaire form.
For complete guidelines for setting up the Questionnaire types form, see
Questionnaire types (Form).
4. Question types
Create categories that you want to use to classify questions that share common
characteristics, such as similar purpose, subject matter, or target group. Examples of
question types are business management, course evaluation, and customer surveys.
Question types also make it easier to find the question you want to use by enabling you
to filter questions by type in the Questions form.
For complete guidelines for setting up the Question types form, see Question types
(Form).
5. Questions
Create the questions that you want to ask on a questionnaire. For each question, you
can define the input type that a respondent will use to provide his or her answer, the
answer group that contains the answers to the question, the question’s text, and media
to use to support the question.
For complete guidelines for setting up the Questions form, see Create questions
(Form).
Microsoft Dynamics AX Implementation Guide 278
6. Questionnaires
Set up an executable questionnaire. Specify the type of questionnaire, select questions
and specify their presentation sequence, decide whether to use result groups to capture
points, define the total time that respondents have to complete the questionnaire,
select a background graphic, enable navigation and overview controls, and enable
subsequent analyses.
For complete guidelines for setting up the Questionnaires form, see Questionnaires
(Form).
Network groups
Create groups of employees, applicants, and contact persons to make it easy to assign
user rights to questionnaires. When distributing questionnaires, you can specify the
network groups that contain the appropriate respondents.
For complete guidelines for setting up the Network groups form, see Network groups
(Form).
Form templates
Select a background that you want to be displayed behind questions during an answer
session. If you do not specify a form template, the questions are displayed against a
blank background. Templates support many popular graphic file formats, except for .gif.
Check with your system administrator to make sure that the file format you want is
supported by your system.
For complete guidelines for setting up the Form templates form, see Form templates
(Form).
Answer groups
Create groupings of possible response options to closed questions. After you create the
group, create response options (answers) for the group, and then assign the answer
group to a question. When a respondent answers the question during an answer
session, he or she can select from the response optionoptions that youed in the answer
group. Answer groups are mandatory for using closed questions on a questionnaire.
For complete guidelines for setting up the Answer groups form, see Answer groups
(Form).
1. Planning types
Define different types of questionnaires so that you can divide questionnaires into
categories. When you create a scheduling, you must select one of these categories.
For complete guidelines for setting up the Planning types form, see Planning types
(Form).
3. Scheduling
Schedule planned answer sessions for multiple users at the same time. You can specify
information such as respondents who are to complete the questionnaire, the
questionnaire to distribute, the person responsible for the scheduling, the type of
questionnaire to plan. Additionally, if you want to make the questionnaire available on
the Internet, specify whether to use a private or public Web site.
For complete guidelines for setting up the Scheduling form, see Questionnaire
scheduling (Form).
Prerequisites
Flowchart
1. Parameters
Set up project parameters depending on the types of projects that you want to create.
Specify default information and set up number sequences and functionality that you
want to use across the module.
For complete guidelines for setting up the Parameters form, see Project parameters
(Form).
Microsoft Dynamics AX Implementation Guide 281
2. Project groups
Project groups are mandatory when you set up projects, because every project must be
assigned to a project group. Typically, a project group is created for a specific project
type. Enter specifications for posting in the general ledger accounts when creating a
project group. There is no limit to the number of project groups that you can create.
For complete guidelines for setting up the Project groups form, see Project groups
(Form).
3. Category groups
Create a category group for an indefinite number of categories. Typically, you create a
category group for each transaction type, and you must attach each category to a
category group. Setting up ledger accounts at the category group level is optional. Use
category groups to help simplify the process of specifying the transaction type and
posting specifications.
For complete guidelines for setting up the Category groups form, see Category group
(Form).
4. Categories
Create categories to identify different types of costs and revenues in a project.
Categories are mandatory when you set up projects, because all project transactions
require a category. There is no limit to the number of categories that you can set up.
For complete guidelines for setting up the Categories form, see Categories (Form).
5. Prices
Although you typically specify cost and sales prices at the employee or item level, you
can also specify them at the project level. Set up standard cost prices for hour and
expense transactions, and set up sales prices for hour, expense, fee, and subscriptions.
Enter cost and sales prices individually by employee, project, category, valid transaction
date, or any combination of these. This task is optional, because prices can be entered
at the time of transaction entry.
For complete guidelines for setting up the Category groups form, see Category group
(Form).
6. Cost template
Create a cost template to determine estimate information for fixed-price projects.
For complete guidelines for setting up the Cost template form, see Control types
(Form).
Microsoft Dynamics AX Implementation Guide 282
7. Line property
Create line properties to specify whether to invoice a transaction, accrue sales value at
posting for Time and Material projects, and apply additional cost and sales percentages.
For complete guidelines for setting up the Line property form, see Line property
(Form).
8. Invoice projects
Create invoice projects for Time and material projects and for Fixed-price projects.
For complete guidelines for setting up the Invoice projects form, see Invoice projects
(Form).
9. Projects
Create projects and subprojects for the selected company. You can create Time and
material, Fixed-price, Investment, Cost project, and Time projectprojects. Time
and Material and Fixed-price projects are considered external project types. Specify
settings and defaults for each project.
For complete guidelines for setting up the Projects form, see Projects (Form).
Projects
You can combine all project types in a project hierarchy, and you can add more
subprojects as a project progresses. In the Projects form, specify a Format, and then
go on to create subprojects and parent projects.
For complete guidelines, see Projects (Form).
Ledger posting
You can set up ledger posting accounts in various locations in the system: projects,
project groups, categories, and category groups.
For complete guidelines, see Posting transactions to ledger accounts (Form).
Microsoft Dynamics AX Implementation Guide 283
Parameters
Some project procedures are based on the need to keep a clear audit trail, and number
sequences enable you to keep this audit trail. Use the Number sequences tab on the
Project parameters form to set up number sequences.
For complete guidelines, see Project parameters (Form).
Journal names
The journal approval procedure is closely linked to the user group rights setup in the
Administration module. On the Journal names form, use the Approve field to set up
journal approval. You can set the levels of journal approval as deep as you need them
to be. For each approval level, you can specify what kind of action should be possible.
For complete guidelines, see Journal names (Form).
Projecs
Project hierarchies, such as parent projects and subprojects, can be set up to achieve
different project structures and initiatives or to handle special accounting situations.
Use the Format field in the Projects form to define project hierarchies.
For complete guidelines, see Projects (Form).
Prerequisites
Before configuring the Cost accounting module, set up the Administration, Basic,
and General ledger modules.
Microsoft Dynamics AX Implementation Guide 285
Flowchart
2. Cost categories
The Cost categories are usually identical to the chart of accounts in the General
ledgermodule, but you can also set up different Cost categories.
1. Create cost categories in the Cost category form. To create a cost category, you
must enter cost category number and cost type. You can enter other account details
later.
Note There are three different cost types, one of which has to be assigned to
each cost category: Primary costs, Secondary costs, and Service category.
2. You can define fixed and variable percentage of costs, such as for using flexible
budgets.
For more information about how to set up the Cost category form, see Cost category
(Form).
3. Service categories
Service categoriesare for working with quantities in Cost accountingand are handled
as Cost type in the Cost category form. A service is a quantity expressed in a unit
that cannot be posted as a cost amount, such as hours, miles, square feet, and so on.
1. Create service categories in the Cost category form.
Note If you use the Production and Project modules, use the service categories
to import the hours posted in production orders and projects.
2. Select the cost type Service category.
Microsoft Dynamics AX Implementation Guide 287
4. Dimensions
Dimensions are used to analyze and classify financial transactions. Cost accounting
uses the same dimensions as the General ledger to analyze services (service
categories) and to calculate allocations.
Create dimension values for the available dimensions in the Dimensions form.
To create a dimension, select a dimension and specify a dimension number. You can
enter other dimension details later.
For more information, see Dimensions form.
Note This form may already contain values from the Dimensions form when the
Basic module was set up. For more information, see Cost accounting dimensions
(form).
5. Journals names
The Journal names form is used as a template for all journals created by using the
names entered in this form. This means that all journals use the voucher series, offset
account, and other information that is set up in this form.
1. In the Journal names form, enter the name and description of a new journal
name.
2. On the Overview tab, select the Journal type, Cost or Services, and then enter
the Voucher series.
3. On the General tab, select the dimensions to post.
4. If it is suitable, select the Offset transaction active check box and select the
appropriate offset dimension.
Note If multiple users will be entering transactions at the same time and you want
to keep their entries separate, you can create several journal names of the same
type
In Cost accounting, you can create transactions without an offset account, which later
could lead to differences between Cost accounting and General ledger. This
functionality is used when cost accountants want to do single-entry postings
For more information, see Journal name (Form).
Microsoft Dynamics AX Implementation Guide 288
Line structure
In the Cost accountingform, you can group the Cost categories and the Service
categories.
1. Create a line structure in the Line structures form.
2. Click Cost lines to enter the line definition.
3. In the Cost lines form, create a new cost line.
4. Click Load cost categories or Load service categories to assign the cost/service
categories without setting a filter.
The Cost categories and the Service categories tabs display all categories that are
not assigned to a cost line yet. Double-click a category to assign it.
For more information, see Line structures (Form).
Note The number of cost lines is unlimited. Cost lines can be used to apply the
same distribution rule on several cost/service categories with only one line in the
calculation version. You can also do calculations between cost lines.
Hierarchies
In the Hierarchies form, you can group dimensions in divisions and build hierarchies
with groups and subgroups.
1. Create hierarchies in the Hierarchiesform.
2. Select the dimension you want to use in the structure.
3. Click Divisions to create a new division.
4. Click Process structure to open the Hierarchy structure form and create a new
structure.
5. Double-click dimensions or divisions to create a structure. The Dimension and
Division tabs display all dimensions and divisions that are not yet used in the
hierarchy structure.
Note A division can be used to apply the same allocation rule on several
dimensions with only one line in the calculation version.
For more information, see Hierarchies (Form).
Microsoft Dynamics AX Implementation Guide 289
Budget model
A Budget model must first be defined to be able to create budgets in Cost
accounting. The budget model indicates the purpose of the budget model.
1. Create a budget model in the Budget model form.
There are three different types of budget models:
Cost accounting budget
• Ledger budget
• Flexible budget
2. On the Overviewtab, specify Budget model name, Description, and Budget
model type.
3. On the General tab, select a Ledger budget when the Budget model type is
Ledger budget or a Line structure when the Budget model type is Flexible
budget.
4. To set up submodels for the current budget model, click the Submodel tab.
For more information, see Cost accounting budget model (form).
Reference table
The purpose of Reference tables is to determine fixed debiting amounts used when
calculating distributions and allocations.
Setup of Reference tables is performed in the following forms:
Reference tables,
Reference table values opened by clicking Reference table in the
Calculation versions.
5. Create a reference table in the Reference tables form.
6. On the Overview tab, create a new reference table by entering a Reference table
ID and a Description.
7. On the General tab, select a Unit and the required Dimensions.
8. Open the Calculation versions form and then click Reference table.
9. On the Overview tab, select the reference table that you just created and then click
the General tab.
10. On the General tab, select a dimension, enter the total Reference quantity, and
create one line per debiting dimension with appropriate partial Reference
quantity.
For more information, see Reference tables (Form).
Calculation versions
A Calculation versions summarizes all distributions, allocations, and cost rate
calculations that are valid for a certain period.
Microsoft Dynamics AX Implementation Guide 290
To define distributions and allocations, you must first create and set up a Calculation
version.
1. Create calculation versions in the Calculation versions form.
2. On the Overview tab, create a new line, enter a Version ID, and a Description.
3. If the calculation version is used by default for a certain period, select the Target
check box,.
4. If the calculation version will be used for plan values, on the General tab, select a
Budget model,
5. On the Calculation tab, select the dimensions that you want to calculate with the
calculation version.
6. On the same tab, select cost value types that you want to calculate with the
calculation version.
For more information, see Calculation versions (Form).
Reference table
The setup of the Reference table is described earlier.
Cost distribution
Cost distribution is used to distribute costs on a cost category to the same cost
category but with different dimensions.
1. Click Cost distribution in the Calculation versions form to create a new cost
distribution line.
2. On the Overview tab, select Distribution level.
3. On the General tab, select the Cost share, Offset transaction dimension, and
Offset transaction calculation.
4. On the Dimension tab, enter the dimensions.
For more information, see Cost distribution (Form).
Service distribution
Service distribution is used to distribute posted services (quantities) to the same
service category but with different dimensions.
1. Click Service distribution in the Calculation versions form to create a new
service distribution line.
2. On the Overview tab, select the Service category.
3. On the General tab, select the Cost share, Offset transaction dimension, and
Offset transaction calculation.
4. On the Dimension tab, enter the dimensions.
For more information, see Service distribution (Form).
Microsoft Dynamics AX Implementation Guide 291
Allocation
The Allocations functionality is used to allocate costs from one dimension to another
dimension and to another cost category, which is named the secondary cost category.
Amounts without dimensions are not allocated and have to be distributed by a specific
dimension.
Three different types of allocation are used in the Cost accounting:
Allocation
For more information, see Allocations (Form)
Type: Allocation
1. In the Calculation versions form, select the appropriate calculation version and
then click Allocationsto create a new allocation line of the type Allocation.
2. On the Overview tab, select the Allocation level.
3. On the General tab, select the Allocation account and the Offset account.
4. On the Allocation tab, select Cost share, Offset transaction dimension, and
Offset transaction calculation.
5. On the Dimension tab, enter the dimensions.
Cost rate
Cost rate calculations are used to calculate the periodic cost rate of a service category.
1. In the Calculation versions form, select the appropriate calculation version and
then click Cost ratesto create a new cost rate line.
2. On the Overview tab, select the Service category, Cost rate type, Calculation
from value, and Calculation from service.
3. On the General tab, define the Calculation basis.
For more information, see Cost rate calculation (Form).
Accrual schemes
Accrual schemes are used for linear or assessed accruals of costs in the General
ledger, which are accounted one time per year but have to be allocated in several
periods in Cost accounting.
The Accruals functionality works in the same manner as in the General ledger. You
must set it up in the Accrual schemes form first.
1. Create a new accrual scheme line in the Accrual schemes form.
2. On the Overview tab, add a new line by entering Accrual identification and
Description of accrual scheme.
3. On the General tab, define Cost posting, Duration, and Posting.
For more information, see Cost accounting accrual schemes (form).
Microsoft Dynamics AX Implementation Guide 293
Journal text
Journal texts enables you to enter and reuse transaction text when entering it in
journals. The usage is the same as in General ledger.
1. Create new journal text in the [EMenuITem: Display, COSJournalTxt] form.
2. On the Overview tab, create a new line. Define Identification, Search name, and
Transaction text.
For more information, see Cost accounting journal texts (form).
Prerequisites
Set up the Administration module.
In the Basic module, create and modify number sequences in the Number
sequences form. These handle automatic allocation of voucher numbers, invoice
numbers, and journal numbers.
Set up the General ledger module.
Microsoft Dynamics AX Implementation Guide 294
Optional
If you want to use Fixed assets with Inventory management, Accounts
receivable, or Accounts payable, you must set up those modules. For more
information, see Set up Inventory management module, Set up Accounts receivable
module, and Set up Accounts payable module.
For specific details about the relationship between modules, see Fixed asset integration.
Microsoft Dynamics AX Implementation Guide 295
Flowchart
1. Create and manage templates for journals in the Journal names form. Each journal
name contains a voucher series, offset account, and other information that is
reflected in the journals that are created from those templates.
For complete guidelines, see Journal names setup (Form).
2. Set up depreciation book journal names in the Depreciation book journal names
form. This form is available only if the Fixed asset depreciation books
configuration key is selected.
For complete guidelines, see Depreciation book journal name (form).
3. Create and modify depreciation profiles in the Depreciation profiles form. These
contain the calculations that the value of depreciable fixed assets is reduced by over
time.
For complete guidelines, see Depreciation profiles (Form).
4. Create calendars to use for depreciating fixed assets in the Fixed asset calendars
form.
For complete guidelines, see Fixed asset calendars (form).
5. Create value models and attach them to fixed assets in the Value models form.
Value models change the financial value of a fixed asset over time for various
purposes, such as accounting depreciation, tax depreciation, revaluation, and
disposal.
For complete guidelines, see Fixed asset value models (Form).
6. Create depreciation books in the Depreciation books form. Each depreciation book
must have an ID that is unique from all value model IDs and depreciation book IDs.
This form is available only if the Fixed asset depreciation books configuration
key is selected.
For complete guidelines, see Depreciation books (Form).
7. Set up the asset group that defines asset characteristics in the Fixed asset groups
form. These are groups such as type, number sequence, default value models, and
default depreciation books.
For complete guidelines, see Fixed asset groups (Form).
8. Create a posting profile in the Posting profiles form. This includes the ledger
accounts that fixed assets transactions are posted to.
For complete guidelines, see Fixed asset posting profiles (Form).
9. Set up fixed asset parameters in the Parameters form. These include various types
of functionality, default information to be used, and number sequences.
For complete guidelines, see General ledger parameters (Form).
Microsoft Dynamics AX Implementation Guide 297
Journals
Create transaction text in the Transaction text form to use for automatic postings
to the General ledger.
For complete guidelines, see Transaction texts (Form).
Set up inventory journal names in the Journal names, Inventory form to transfer
inventory to fixed assets.
For complete guidelines, see Journal names, Inventory (Form).
Create, manage, and view the company’s general ledger accounts in a structured list
in the Chart of accounts form. The general ledger accounts contain the financial
data about the company's activities.
For complete guidelines, see Chart of accounts (Form).
Depreciation
Set up bonus depreciation in the Bonus depreciation form. This is used to calculate
bonus depreciation amounts through the bonus depreciation proposal process. This
form is available only if the Fixed asset depreciation books configuration key is
selected.
For complete guidelines, see Bonus depreciation (form).
Consumption
Set up units in the Consumption units form to use for unit prices and proposals for
fixed assets. Examples of units include km, kg, and hour.
For complete guidelines, see Consumption units (Form).
Set up the consumption factors that you can select for value models in the
Consumption factors form.
For complete guidelines, see Consumption factors (Form).
Other
Set up the revaluation groups in the Revaluation groups form. These are used in
the fixed asset journal for revaluation proposals and for individual value
adjustments of revaluation transactions. This form is available only if the Spain
configuration key is selected.
For complete guidelines, see Revaluation groups (Form).
Microsoft Dynamics AX Implementation Guide 298
Create identifiers for the locations of your fixed assets in the Locations form.
For complete guidelines, see Fixed asset location (Form).
Create sorting options in the Sorting form. These options are then available from
the Fixed assets form.
For complete guidelines, see Fixed asset sorting (Form).
Create the rows of the fixed asset statement and define the row type for each row
that you create in the Fixed asset statement rows form.
For complete guidelines, see Fixed asset statement rows (Form).
Set up controls for ownership period in the Provision types form. The provision
type is used to determine whether a provision for reserves should be generated
during the disposal process for any profit amount. Then it is used to determine the
maximum length of time that can pass before the provision reserve is transferred to
a new asset or the profit must be recognized.
For complete guidelines, see Provision types (Form).
Prerequisites
Set up the Administration and Basic modules.
Flowchart
Microsoft Dynamics AX Implementation Guide 299
For complete guidelines for setting up the Objectives form, see Objectives (Form).
7. Set up the measurement matrices in the Measurements form.
The measurement matrices measure and monitor the progress toward a strategic
objective. For each measurement you define a target value, a calculation method
and posting frequency, and the graphical indicator that you want to use to display
results.
For complete guidelines for setting up the Measurements form, see Measurements
(Form).
Prerequisites
Before you start setting up Service subscriptions, you need to set up:
Microsoft Dynamics AX Implementation Guide 301
Optional
If you want to accrue subscription revenue, you must set up Project II in Project.
In the Ledger posting form, set up:
Accrued revenue - Subscription
WIP - Subscription
You can set up number sequences in the Number sequences form, but you need
not set up the number sequences to work with Service subscriptions. For
guidelines, see Number sequences (Form).
Flowchart
Microsoft Dynamics AX Implementation Guide 302
Prerequisites
Before you start setting up Service, you need to set up:
AdministrationBasicCreate number sequences in the Number sequences form.
Project I in Project.
Microsoft Dynamics AX Implementation Guide 303
Optional
You can create period transactions in the Period transactions form. The period
setup is used to create subscription fees and to set the invoicing intervals for service
subscriptions.
The calendar is an optional feature in Service. You can use the calendar to be
notified when automatically generated service orders are created in periods that are
not open. To use the calendar in Service, create period transactions in the Period
transactions form.
If you want to base service agreements on fixed-price projects, you must set up
Project II in Project.
Microsoft Dynamics AX Implementation Guide 304
Flowchart
1. Service agreements
1. Set up service agreements in the Service agreements form.
For guidelines, see Service agreements (Form).
2. Set up service agreement groups in the Service agreement groups form.
For guidelines, see Service agreement groups (Form).
3. Optionally, you can set up service intervals and a time window.
The service interval on a service agreement defines the amount of time between
service orders based on the current service agreement.
a. Set up service intervals in the Service intervals form. For guidelines, see
Service intervals (Form).
b. Set up time windows in the Time window form. The time window is relevant
only if you have set up service intervals. For guidelines, see Time window
(Form).
4. Optionally, you can also set up service template groups in the Service template
groups form.
Service template groups categorize service templates and can be used for sorting
and filtering when you copy templates to service orders or service agreements. For
guidelines, see Service template groups (Form).
3. Optionally, you can create template BOMs in the Template BOMs form.
A template BOM provides information on the default spare-part structure of a
construction at a customer site. Using template BOMs is optional, and because
template BOMs are closely related to the use of service objects, they are relevant
only if you use service objects.
For guidelines, see Template BOMs (Form).
3. Service orders
1. Set up service orders in the Service orders form.
For guidelines, see Service orders (Form).
2. Set up service stages in the Service stages form.
For guidelines, see Service stages (Form).
3. Optionally, you can set up stage reason codes in the Stage reason codes form.
Stage reason codes describe why a service order is updated to a new stage.
For guidelines, see Stage reason codes (Form).
4. Repair
With repair management you register and structure information on customer problems
and the corresponding solutions. The repair management functionality is optional.
Set up conditions in the Conditions form. For guidelines, see Condition (Form).
Set up symptom areas in the Symptom areas form. For guidelines, see Symptom
(Form).
Set up symptom codes in the Symptom codes form. For guidelines, see Symptom
code (Form).
Set up diagnosis areas in the Diagnosis areas form. For guidelines, see Diagnosis
area (Form).
Set up diagnosis codes in the Diagnosis codes form. For guidelines, see Diagnosis
code (Form).
Set up resolutions in the Resolutions form. For guidelines, see Resolution (Form).
Set up repair stages in the Repair stages form. For guidelines, see Work status
(Form).
5. Parameters
In the Service parameters form, consider the following fields:
To post journals, you must set up journals for the four transaction types on the
Journals tab.
Microsoft Dynamics AX Implementation Guide 307
Optionally, you can select a default service agreement group in the Service
agreement group field. The default service agreement group is suggested when
you create a new service agreement.
Optionally, you can select a calendar in the Calendar field.
For guidelines, see Service parameters (form).
+ <AdjustGlobalTypes>
<Synchronize />
+ <UserGroups>
<PasswordParameters />
+ <Users>
+ <CompanyAccounts>
<XpoImport file="d:\ax\setup\XPO\Logger\Enum_TestLogEntryType.xpo" />
<DataImport companyId="BVT" file="d:\ax\basedata.dat" />
<Run type="class" name="RunMyTests" method="main" />
<PreventCheckList />
</AxaptaAutoRun>
6. Set table and field access - See Table and field access.
7. Set record level security - See Manage record level security.
Microsoft Dynamics AX allows you to add, remove and modify functionality by adjusting
the relationships of the licensing, configuration and security subsystems.
Microsoft Dynamics AX Implementation Guide 310
Microsoft Dynamics AX allows you to add, remove and modify functionality by adjusting
the relationships of the licensing, configuration and security subsystems.
Monitor users
Set user defaults
Remove users
8. To allow this user to access Microsoft Dynamics AX, select Enabled. The application
checks to ensure the user is listed in Active Directory. If the user is not listed, the
application returns an error.
Note The External option is read only. An external user is any individual who
accesses Microsoft Dynamics AX using Enterprise Portal or a Web browser. This
option is automatically set if the user is stored in Active Directory as described in
Granting users access to Enterprise Portal.
9. Press CTRL + S to save changes.
Note The user cannot access Microsoft Dynamics AX until added to at least one
user group. To add the user to a group, click the Groups tab. To create a new
group, see Manage user groups.
If you have set up multiple companies in Microsoft Dynamics AX to reflect the structure
of your organization or business, you must grant users access to these companies.
Verify prerequisites
Ensure that external users are defined in Active Directory. For more information, see
Plan Active Directory user topology.
Monitor users
Microsoft Dynamics AX includes several features to help you monitor which users are
currently logged on to Microsoft Dynamics AX, how often a user has logged on, and how
long a user has been logged on. The procedures in this topic show how to:
Microsoft Dynamics AX Implementation Guide 316
Remove users
To maintain a secure Microsoft Dynamics AX environment, immediately remove any
user listed on the User form (Administration > Users) if that individual no longer
requires access to Microsoft Dynamics AX. If you do not remove the user from Microsoft
Dynamics AX, the user can access forms, data, and reports through a Microsoft
Dynamics AX client on a different workstation or through a custom application, including
Web applications like Enterprise Portal.
Important If you remove a user from the application, terminate that user's active
sessions in the Online usersform. For more information on terminating active
sessions, see Monitor users.
To remove a user
1. From a Microsoft Dynamics AX client, click (Administration > Users).
2. On the Overview tab, select a user you want to remove from Microsoft Dynamics
AX.
3. Delete the user by pressing Alt+F9.
4. Press CTRL + S to save changes.
5. Restart the Microsoft Dynamics AX server to ensure the user has been removed
from the system.
In Microsoft Dynamics AX, permissions and user rights are granted to groups. By adding
a user to a group, you give the user all the permissions and user rights assigned to that
group. Before a user can access the product, that person must be added to the list of
product users and they must be added to at least one Microsoft Dynamics AX group.
Defaults
By default, Microsoft Dynamics AX creates an Administrators group and an
Administrator User during installation. Administrators have complete access to all
product forms, menus, tables, reports, the Application Object Tree (AOT), and all
security keys.
Important Restrict the number of users who are members of the Administrators
group, since this group has access to all product fields, tables, reports, and modules
by default. If users are made a member of the Administrators group, they can
potentially view reports or data they should not be allowed to see, or change
configurations and business logic in the system. Ideally, only those individuals who
are configuring and administering Microsoft Dynamics AX should be members of the
Administrators group.
Security profiles
Microsoft Dynamics AX bases permissions on a Security profile, which is a combination
of a user group and a domain. If you do not have a license to use domains, Microsoft
Dynamics AX internally uses the Admin domain. Each security profile uses no
permissions, with the exception of the complete permissions available to the
Administrators group with the Admin domain.
As users can belong to more than one group, and companies can belong to more than
one domain, it follows that more than one security profile can apply to the same user.
In this case, Microsoft Dynamics AX uses the permission that grants more complete
access. For more information about security profiles, see Security keys, and for
information on setting permissions, see Set up security keys.
This is useful when a client has multiple companies that can share non-transactional
information such as vendor accounts, customer accounts, postal (Zip) codes, tax codes,
and so on. This saves you from having to set up the same records in each company.
If you would like to use virtual companies at some time in the future, it is best to set up
the virtual companies from the beginning of the implementation of Microsoft Dynamics
AX. This avoids problems with combining records into a shared table at some time in
the future.
Before you can create or modify a virtual company account, the following must be
established:
The application object server that the administrator is connected to must be the
only one running. All other application object servers must be shut down.
Only the administrator who is creating the virtual company account can be
connected; only one active client connection is allowed.
After you create or modify a virtual company account, you must restart the Microsoft
Dynamics AX client in order to update the client with the new virtual company account
information.
By using domains, you can allow a conglomerate company that has several subsidiary
businesses to share a single Microsoft Dynamics AX system. Each subsidiary could be
represented by a domain, which in turn could limit access based on the user group.
One domain, Admin, exists in the Microsoft Dynamics AX system at shipping. The Admin
domain always includes all companies; you cannot remove the domain or delete any
companies from this domain. Use the Admin domain for any user groups that need
access to all companies.
Create domains
1. Click Administration > Setup > Domains.
2. Press CTRL+N to create a new domain record.
3. Enter a domain identification and a name.
4. Click the Company accounts tab and add accounts to the domain.
To add an account to a domain, highlight the account name under Remaining
company accounts and click the left arrow (<) to add it to the Selected
company accounts list.
To remove an account from a domain, highlight the account name under
Selected company accounts and click the right arrow (>) to remove it to the
Remaining company accounts list.
Security keys
Security keys are the permissions that control access to functionality within the
application, and are set to individual user groups and users.
Security keys are set up from Administration > Setup > Security > Security on the
Permissions tab.
Within a security profile, you can assign permissions that define access to Menu items,
Form controls, Tables and Fields.
There are five available access levels:
No access - Completely restricts access to that item and any sub-items it controls.
The Open command is disabled. Also, the node is not displayed in the Application
Object Tree (AOT).
View access - Members of the user group are allowed to view the item, but not use
it. The Save, Compile, Lock and Unlock commands are disabled.
Edit access - Members of the user group are allowed to view and use the item. The
New, Duplicate and Rename commands are disabled.
Create access - Members of the user group are allowed to view and use, as well as
add new items. The Delete command is disabled.
Full control - Members of the user group have full access and consequently no
commands are disabled. Additionally, members can provide additional rights in
special cases.
Security access for each user must be decided before they first log on. Access depends
on which user groups the user is a member of, and which company or domain the user
is a member of. Access to functionality of each security key can depend on its parent,
so the calculation must be done hierarchically.
To configure security keys, the administrator first selects a User Group and a
corresponding Domain (it is possible to select all domains at once). The security tree is
then built, and the administrator is able to view the tree and make the necessary
changes.
Note When a security key property is changed for any AOT object, the client must
be restarted for the changes to become visible.
For information about how to set security keys and for information about best practices,
see Set up security keys.
Microsoft Dynamics AX Implementation Guide 324
Note If you have set up domains within Microsoft Dynamics AX, security is applied
to the individual domains. Otherwise, security is set up for all companies.
Each parent security key represents a broad umbrella of functionality within Microsoft
Dynamics AX, and the underlying child security keys are divided into eight categories:
Daily, Setup, Journals, Inquiries, Reports, Periodic, Miscellaneous and Tables. Each
module in Microsoft Dynamics AX is broken down within these categories. The Security
keys are laid out similar to the structure in the User Interface. Opening the main menu
side-by-side with the security keys makes it easy to see how the categories relate to
menu items.
Microsoft Dynamics AX Implementation Guide 325
For each module, a set of nine security keys exists. They all have the same naming,
and the prefixes denote the module. For the Accounts Receivable module, the security
keys are:
Cust
CustDaily
CustSetup
CustJournals
CustInquiries
CustReports
CustPeriodic
CustMisc
CustTables
Each menu item is present beneath one (and only one) security key. The access to the
menu item ranges from No access to Full control.
If you assign permission to a parent-node key (for example, if you select Absence
approver and then select Full control) all child nodes inherit the same permission. If
you do not want all child nodes to inherit the same permission, you can change
permissions on individual child nodes.
A user group can have different permissions within different domains. For more
information about domains, see Domains and security.
Permission levels
Higher-level permissions inherit lower-level permissions. For example, a group that has
Create permissions for an item like a form also has Edit and View permissions as well.
The table below shows the inherited permissions.
Best practices
Work with managers who oversee the different groups in your business or
organization to determine permissions levels. For example, work with a manager in
the Finance department to determine permissions levels for the Finance groups or
groups. The manager knows which groups should have permissions to items like
General ledger and Bank, including permissions on child nodes.
If you are uncertain about whether to allow permission to a certain item, leave the
permissions level set to No access. It is better to deny permission to an item and
force an individual to request permission for their group than to give permission to
an area that a group should not be able to access.
Microsoft Dynamics AX Implementation Guide 329
Restrict the number of users who are members of the Administrators group, which
has access to all fields, tables, reports, and modules in Microsoft Dynamics AX by
default. If users are made members of the Administrators group, they can
potentially view reports or data they should not be allowed to see or change
configurations and business logic in the system. Ideally, only those individuals who
will be configuring and administering Microsoft Dynamics AX should be members of
the Administrators group.
Important If you change permissions for a user group, especially if you demote
permissions, restart the server after making the change. If you do not restart the
server, members of the group might retain their former permissions. As a best
practice, ask members of a group to log off Microsoft Dynamics AX before changing
permissions and inform all Microsoft Dynamics AX users of the impending server
restart. If necessary, before changing user group permissions, select users to
disconnect from the server in Online users (Administration > Online users) and
click End sessions. For more information, see Remove users.
The following graphic shows how to access and configure table and field access from
within the User group permissions window.
Table access
A user group's access to a table is defined by several factors:
The table rights defined for the user group within the domain or company.
The table's security key and the user group's security key rights within the domain
or company with respect to the table.
The setting of the MaxAccessMode table property.
These factors are used for the calculation of a user group's access rights to each table
in the application.
The following chart shows how table rights are calculated during startup. Tables have
two properties: Configuration key and Security
Field access
Like a user group's table access, a user group's access to a field is defined by a number
of factors:
The field rights defined for the user group within the domain.
Microsoft Dynamics AX Implementation Guide 331
The field's security key and the user group's security key rights within the domain
with respect to the field.
The setting of the Visible field property.
The setting of the AllowEdit field property.
These factors are used for the calculation of a user group's access rights to each field in
the application. The calculation is performed during startup.
The following chart shows how field rights are calculated during
After the user group's access to a field has been calculated, this access is compared to
the one defined for the table. A user group's access to a field can never exceed the
group's access to the table the field belongs to. The final field access becomes the
lesser of the field and table rights.
Best practices
Work with managers who oversee the different groups in your business or
organization to determine permissions levels. For example, work with a manager in
the Finance department to determine permissions levels for the Finance group or
groups. The manager knows which groups should have permissions to items like
General ledger and Bank, including permissions on child nodes.
If you are uncertain about whether to allow permission to a certain item, leave the
permissions level set to No access. It is better to deny permission to an item and
force an individual to request permission for their group than to give permission to
an area that a group should not be able to access.
Microsoft Dynamics AX Implementation Guide 332
Restrict the number of users who are members of the Administrators group, which
has access to all fields, tables, reports, and modules in Microsoft Dynamics AX by
default. If users are made members of the Administrators group, they can
potentially view reports or data they should not be allowed to see or change
configurations and business logic in the system. Ideally, only those individuals who
are configuring and administering Microsoft Dynamics AX should be members of the
Administrators group. For information on user groups and security profiles, see
User group configuration and security.
Important If you change permissions for a user group, especially if you demote
permissions, restart the server after making the change. If you do not restart the
server, members of the group might retain their former permissions until the next
time the server is restarted. As a best practice, ask members of a group to log off
Microsoft Dynamics AX before changing permissions and inform all Microsoft
Dynamics AX users of the impending server restart. If necessary, before changing
user group permissions, select users to disconnect from the server in Online users
(Administration> Online users) and click End sessions. For more information,
see Remove users.
After table and field restrictions are applied, consider adding special restrictions to
certain records within the database. To learn more about record level security, see
Manage record level security.
The Query
1. In the Record level security dialog box, select the user group and click Query.
The Inquiry dialog box appears. The Range tab shows some of the common fields
for the specified table. Your objective on this tab is to specify the exact fields to be
shown to the selected user group on the report or form.
2. Select the first item listed on the Range tab. If no item is listed, press CTRL + N.
3. Use the Field drop-down menu to select the field you want to show on the form or
report.
4. Use the Criteria drop-down menu to select the criteria for the designated field. If
no drop-down menu appears, enter the designated criteria.
5. As necessary, press CTRL + N to add additional fields and criteria.
6. Click OK.
7. Inform members of the selected user group that they must close their current client
sessions and start a new session. If necessary, end active sessions from the Online
users form.
Microsoft Dynamics AX Implementation Guide 334
8. Verify that record-level security is enforced on the desired report or form by logging
on to Microsoft Dynamics AX as a member of the specified user group. You should
see only the information specified in the query for the designated criteria. If you see
additional information, verify your query.
Components installed
Installing Business Connector installs the Microsoft Dynamics AX Configuration utility,
and one or all of the following components:
.NET Business Connector
COM Business Connector
Verify prerequisites
Before installing Business Connector, the following must be available in the domain:
A core Microsoft Dynamics AX installation. This installation can be completed at the
same time as the Business Connector installation, or it can be done prior to this
installation.
Active Directory configured in native mode.
For this reason, only Microsoft Dynamics AX administrators should know the proxy
credentials.
Work with a System Administrator to have a new account created solely for use by the
Business Connector before you install it. We recommend that the account be set up as
follows:
Password does not expire.
No interactive logon rights
The Business Connector Proxy domain account should not be set up as a Microsoft
Dynamics AX user.
4. Right-click the application pool that you are using and click Properties.
5. Click the Identity tab.
6. Select Configurable.
7. Enter the Business Connector proxy account username and password.
8. Verify the password, and click OK.
9. Click Finish to close the wizard.
Verify rights
You must log in with an account that is a member of the Administrators group on the
computer on which you are running Setup.
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
7. On the Connect to Application Object Server page, type the name of the
Application Object Server you want to connect to, and then click Next.
If you do not know the location of the Application Object Server, contact the
Microsoft Dynamics AX administrator.
8. On the Install files page, click Next to accept the default location, or click Browse
to designate a different location.
9. On the Ready to install page, review the summary of roles and components for
your computer. To proceed, click Next.
10. On the Installing page, you can monitor installation progress as Setup proceeds.
11. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles and components for your computer. To exit Setup, click Finish.
Copy a configuration
1. In the Configuration list, select the configuration you would like to create a copy
of.
2. Click Manage, and then click Create configuration:
3. In the Create configuration dialog box, in the Name box, type a name.
4. Click Copy settings from the active configuration, and then click OK.
Rename a configuration
1. In the Configuration list, select the configuration you would like to rename.
2. Click Manage, and then click Rename configuration.
3. In the Rename configuration dialog box, in the New name box, type a name,
and then click OK.
Load a configuration
You can either load a configuration that is stored in the local registry or import a
configuration file. Although you can use the Open command to view a saved
configuration, Microsoft Dynamics does not store the settings from the opened file to
the registry. To store saved configuration files to the registry, you must use the Import
command.
Delete a configuration
1. Verify that the currently selected configuration is the one you want to delete.
2. Click Manage, and then click Delete configuration.
Microsoft Dynamics AX Implementation Guide 341
Section Description
Install an Enterprise Portal server This procedural topic describes how to
install Enterprise Portal.
Configuring Enterprise Portal This section describes how to configure
Enterprise Portal using the Configuration
Wizard, and how to configure search,
product groups, transaction summaries,
and documents.
Deploy Enterprise Portal This procedural topic describes how to
deploy Enterprise Portal to a Web server.
Create an Enterprise Portal site This procedural topic describes how to
create an Enterprise Portal Web site.
Managing Enterprise Portal users This section describes how to manage
Enterprise Portal users.
Customizing an Enterprise Portal site This section describes how to customize
Microsoft Dynamics AX Implementation Guide 343
Section Description
an Enterprise Portal site.
Manage Enterprise Portal security This procedural topic describes how to
manage Enterprise Portal security
Remove an Enterprise Portal site This procedural topic describes how to
remove an Enterprise Portal site.
Prerequisites
1. Install and configure Active Directory directory services.
2. Install and configure a core Microsoft Dynamics AX installation (file server, object
server, client, and database).
3. Install and configure Internet Information Services (IIS).
4. Enable ASP.NET 2.0.
5. Install and configure Windows SharePoint Services (WSS).
6. Add the business connector proxy account to Active Directory and to the IIS and
WSS local Windows groups.
7. Install the Enterprise Portal role by using Setup.exe on your Microsoft Dynamics AX
DVD.
8. Set up Enterprise Portal users and groups.
Microsoft Dynamics AX Implementation Guide 344
Flowchart
Verify prerequisites
Before installing the Enterprise Portal server, the following must be available in the
domain:
Active Directory directory service configured in native mode.
A core Microsoft Dynamics AX installation (file server, object server, client, and
database).
For external user access to the Enterprise Portal, a perimeter network domain with a
firewall must have been configured. For details, see Setting up a perimeter network.
ASP.NET 2.0. If you do not meet this prerequisite, see the section Configure IIS in
this topic.
Windows SharePoint Services (version 2), (SP2), Windows SharePoint Services
(version 3), Beta 2, or Microsoft Office SharePoint Server 2007, Beta2.
Microsoft Dynamics AX Implementation Guide 346
Configure IIS
If you do not have IIS installed, you can install it from Start > Control Panel > Add
or Remove Programs > Add/Remove Windows Components > Application
server.
1. Validate that Application Server has been installed as follows:
Option Value
Application Server Console Installed
ASP.NET Installed
Enable network COM+ access Installed
Internet Information Services (IIS) Installed
2. To configure an existing installation of IIS, use IIS Services Manager, available from
Start > All Programs > Administrative tools > Internet Information Services
Manager. For more information, see the IIS documentation.
If Enterprise Portal is external facing for employees, authorized vendors and
customers, then verify that IIS is configured to use Secure Sockets Layer (SSL)
encryption and Basic authentication:
Option Value
FrontPage 2002 Server Extensions Not installed
Authenticated access Integrated Windows authentication
for intranet-facing Enterprise Portal
sites.
Basic authentication for Internet
facing authenticated Enterprise Portal
sites.
Anonymous authentication for
Internet facing Enterprise Portal sites
with public access.
Server Certificate Assigned (Required for Internet facing
authenticated Enterprise Portal sites,
otherwise optional)
Require secure channel (SSL) Enabled (Required for Internet facing
authenticated Enterprise Portal sites,
otherwise optional.)
Microsoft Dynamics AX Implementation Guide 348
1. Change the application pool identity for SharePoint Services to use the Business
Connector Proxy account.
a. In the left pane of the IIS Manager, expand the Application Pools directory.
b. Right-click the SharePoint Services application pool that you are using for
Enterprise Portal (often StsAppPool1) and click Properties.
c. Click the Identity tab.
d. Select Configurable.
e. Enter the Business Connector proxy account username and password.
f. Click Apply.
g. Click OK.
h. Right-click the SharePoint Services application pool again and select Recycle.
The application pool now accepts requests from the Business Connector proxy
account.
Important If the security policy in your organization or company compels
you to change the proxy password at any time, you must repeat this
procedure and enter the new password.
2. Validate that ASP.NET 2 is enabled.
a. In the left pane of the IIS Manager, click Web Server Extensions.
b. In the right pane, validate that ASP.NET 2 is enabled. If it is not enabled, you
must install ASP.NET 2.0. For details, see the instructions in the Knowledge base
article located here.
Services with SQL Server 2000 with SP4, see Install Windows SharePoint Services, or
see the Deployment Scenarios section of the SharePoint Technologies documentation on
TechNet.
To configure an existing installation of Windows SharePoint Services, use SharePoint
Central Administration, available from Start > All Programs > Administrative tools
> SharePoint Central Administration.
1. Validate that the Virtual Server provisioning settings are as follows:
Option Value
Security account Predefined, Business Connector proxy
account
Security configuration NTLM
2. If you have already installed IIS, and have not yet installed ASP.NET version 2,
execute the following command:
%SYSTEMROOT%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
3. Verify that ASP.NET v2.0.50727 is listed in IIS Manager on the ASP.NET tab:
a. Right-click the Default Web site and click Properties.
b. Click the ASP.NET tab.
c. In the ASP.Net version drop-down list, verify that v2.0.50727 is selected. If it
is not selected, do that now.
4. Click OK.
5. Open the web.config file. (%SYSTEMDRIVE%\Inetpub\wwwroot\) to make the
following change.
6. Press CTRL+F to open the Find dialog box.
7. Search for the following tag:
<trust level="WSS_Minimal" originUrl="" />
8. Replace it with the following tag (changes in bold):
<trust level="WSS_Medium" originUrl="" />
9. Optional. If you have already installed Windows SharePoint Services but are not
running Service Pack 2, you must make further changes to the web.config file.
Read the information available in the Knowledge Base article located here, and
make the following changes.
a. Search for the following tag:
<trust level="WSS_Medium" originUrl="" />
b. Replace it with the following tag (changes in bold):
<trust level="WSS_Medium" originUrl=""
processRequestInApplicationTrust="false" />
Microsoft Dynamics AX Implementation Guide 350
Components installed
Setting up a computer as an Enterprise Portal server installs the following components:
Microsoft Dynamics AX client.
Microsoft Dynamics AX Client Configuration Utility.
.NET Business Connector.
Verify rights
You must log in with an account that is a member of the Administrators group on the
computer on which you are running Setup.
Microsoft Dynamics AX Implementation Guide 351
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
10. On the Ready to install page, review the summary of roles for your computer. To
proceed, click Next.
11. On the Installing page, you can monitor installation progress as Setup proceeds.
12. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles for your computer. To exit the Microsoft Dynamics AX Setup
wizard, click Finish.
Next steps
After you have installed, to finish setting up your Enterprise Portal, you must also:
Configure Enterprise Portal. For details, see Configuring Enterprise Portal.
Deploy Enterprise Portal. For details, see Deploy Enterprise Portal.
Create an Enterprise Portal site. For details, see Create an Enterprise Portal site.
For more information, see the Windows SharePoint Services Administration Guide.
Microsoft Dynamics AX Implementation Guide 353
If you want to use Windows SharePoint Services with SQL Server 2000 on the same
computer, you must take specific steps to configure your server computer before,
during, and after installing Windows SharePoint Services. This section describes the
steps needed to configure a single server running both Windows SharePoint Services
and SQL Server 2000. This topic does not cover using a remote SQL Server computer.
Topic Description
Configure Enterprise Portal using the This topic describes how to use the
Configuration Wizard Enterprise Portal Configuration Wizard to
set up the Business Connector Proxy,
Enterprise Portal user groups, document
management, and the generation of
transaction summaries.
Managing documents on the Enterprise This topic describes how to set the time
Portal period a document appears on an
Enterprise Portal list after being updated.
.
Set up transaction summaries for This topic describes how to set up the
Enterprise Portal generation of transaction summaries that
appear on Enterprise Portal.
Set up product group and item This topic describes how to set up which
presentations product groups and items can be
Microsoft Dynamics AX Implementation Guide 358
Topic Description
displayed on an Enterprise Portal site.
Set Enterprise Portal parameters This topic describes how to set the
parameters for Enterprise Portal,
including category browsing, encryption
settings, image handling, document
management, e-mail setup, defaults for
new users, and the number sequences to
use for sales baskets.
Set up search for Enterprise Portal This topic describes how to set up search
for Enterprise Portal.
Configuring functionality that can be This topic describes the functionality that
published to Enterprise Portal you may want to configure before
publishing to Enterprise Portal, including
questionnaires, recruitment projects, and
courses.
4. On the Configure the Business Connector Proxy page, enter the domain account
to use for the Business Connector proxy.
5. On the Map document types to document categories page, select a document
category for each document type in the list, and then click Next >.
6. On the Configure module document categories page, right-click each module
that you want to add a category to, click New category, and select a category.
Click Next > to continue.
7. On the Configure document management page, type the number of days that
documents should be included in the list of latest documents. Click Next > to
continue.
8. On the Configure transaction summaries page, specify a schedule for
generating the transaction summaries that are displayed on Enterprise Portal. Enter
the starting time for the transaction summary to be performed and the total number
of times to perform the transaction summary. To run this transaction summary for a
specific batch group, select it from the list. Select item designating whether to
perform the batch process at daily or hourly intervals. Click Next > to continue.
9. To save your settings and exit the Enterprise Portal Configuration Wizard, click
Finish.
1. In a Microsoft Dynamics AX client, open Basic > Setup > Batch > Batch groups
dialog box.
2. Press CTRL+N to create a new batch group, and then close the dialog box.
b. In the Name field, enter a descriptive name for the product group.
c. In the Type list, select Group node or Item node.
The Top node field indicates whether the product group is the top node in the
hierarchy. If it is a top node, it is marked with a green check mark.
The Selection field indicates whether a selection is made by using the Query
tool (available only when the selected type is Item node).
3. To create more product groups, repeat step 2.
4. To add component groups to the Group node, press CTRL+N and select the product
group that you want to include.
Important Component groups can be added to the lower pane only if Group
node is selected in the Typelist for the product group that is selected in the upper
pane. Component groups that are added in the lower pane must be available as
product groups in the upper pane; the list of available component groups consists of
the product groups in the upper pane.
5. If the selected product group in the upper pane is of the type Item node, click
Select items to open the Item selection form.
This option can be selected only if Item node is selected in the Type list for the
selected product group.
6. In the Item selection form, click Select and select the items that you want to
allocate to the selected Item node. Click OK to return to the Item selection form.
7. In the Selection form, click OKto finish selecting items.
8. To create more product groups of the type Item node, repeat from step 5. When
you have created all the necessary product groups, assign each item node to a
group node.
2. Select the desired parameters. For a description of the fields and options on this
form, see the Enterprise Portal parameters (form) topic.
3. Click OK.
4. Under Deployment option, select Full (Web parts and site templates) and then
click Next.
5. Internet Information Services (IIS) must be restarted before you can create a Web
site.
To have the wizard automatically restart IIS, select Restart IIS when I close the
wizard. You can also have the wizard start the SharePoint New Site Wizard after
IIS restarts.
Option Description
Microsoft Dynamics Enterprise Portal Choose this option to create personalized,
role-based Web portals so that specific
customers, vendors, business partners,
and employees can access business
information and conduct transactions.
Note All members of Enterprise
Portal must be validated through Active
Directory directory service.
Microsoft Dynamics Public Choose this option to create Web sites for
customers and prospective customers. You
can publish relevant product and campaign
information from Microsoft Dynamics AX,
or create surveys that store data in
Microsoft Dynamics AX. Customer Web
Microsoft Dynamics AX Implementation Guide 367
Option Description
allows anonymous access to the site by
default.
10. On the Register Site page, select a company to associate the site with, and then
click Register.
11. After registering, you must then set up user relations in Microsoft Dynamics AX. For
details, see Granting users access to Enterprise Portal.
Note Users can be assigned to more than one role, in which case, they must be
assigned to the corresponding user groups for both roles. It is not possible to assign
users to both internal and external roles.
Employee role
By default, the functionality available to the Employee role is very limited. However, it
is possible to add additional functionality to the employee role.
Users who are assigned the Employee role can:
Look up contact information about their colleagues.
Complete and analyze questionnaires.
View and delete their alerts, and view and disable their alert rules.
Sales role
Users who are assigned to the Sales role can perform tasks within these areas:
Quotation: create, edit, accept, and send (mail/letter).
Microsoft Dynamics AX Implementation Guide 369
Consultant role
Users who are assigned to the Consultant role can:
Register hours on projects.
Browse invoices and invoice proposals.
Browse hour, cost, revenue, item, and on-account transactions.
View and create reports for total of hours per project.
View and create reports for hours per journal.
Complete and analyze questionnaires.
View and delete their alerts, and view and disable their alert rules.
Microsoft Dynamics AX Implementation Guide 370
Vendor role
Users who are assigned to the Vendor role can:
Change their address, telephone number, www address, telex, fax, language, and e-
mail. Some fields, such as account number, currency, balance, and balance in
currency, are view-only fields.
Set up and change contact person (Title, name, phone extension, phone, mobile
phone, pager, e-mail and personal address information).
View purchase orders (header and lines).
View items (view-only mode).
View journals (purchase order, packing slip, and invoice).
Update prices and discounts.
View delivery due date.
View supply performance.
View supply capacity.
Complete questionnaires.
Customer role
Users who are assigned to the Customer role can:
Browse the product catalog.
Add items to the shopping basket.
Create orders online.
Add items to the shopping basket without ordering and then return to the shopping
module at a later time and then finish the order.
Complete questionnaires.
Guest role
Users who are assigned to the Guest role can:
Browse the product catalog, but they cannot order.
Create a registration request to become a customer.
Note For more information about the Guest user account and the Guest user
group, see Set up the guest account for anonymous Web access.
Administrator role
Users who are assigned to the Administrator role can:
Manage Web users.
Microsoft Dynamics AX Implementation Guide 371
Control some of the parameters for Users, General, Accounts receivable, Inventory,
and Customer Self-Service.
Control setup parameters such as Style sheet and Language.
Refresh the Microsoft Dynamics AX data from within the Web interface.
For more information about creating members in the Administrators group, see Manage
user groups.
Important Restrict the number of Microsoft Dynamics AX users who are members
of the Administrators group. If a regular Microsoft Dynamics AX user is made a
member of the Administrators group, that user can potentially view reports or data
they should not be allowed to see. Ideally, only those individuals who will be
configuring and administering Microsoft Dynamics AX should be members of the
Administrators group.
Accounts Receivable
Location in Permissions tree: Accounts Receivable | Tables
Microsoft Dynamics AX Implementation Guide 374
Item Permission
Customers (CustTable) View
Sales basket lines (SalesBasketLine) View
Sign up requests (ECPCustSignUp) Create
Applicant
Location in Permissions tree: Applicant | Miscellaneous
Item Permission
"Available position", View
HRMEPRecruitingJobAdInfoPublic (2nd
item in list)
"Your application is registered", View
HRMEPRecruitingJobApplyConfirmPublic
(4th item in list)
Available position View
HRMEPRecruitingJobAdInfo (5th item in
list)
Your application is registered View
HRMEPRecruitingJobApplyConfirm (6th
item in list)
Item Permission
Job ads (2nd item in list) View
(HRMEPRecruitingJobAdListPublic)
Job ads (4th item in list) View
(HRMEPRecruitingJobAdListPublic)
Item Permission
Apply for Job (2nd item in list) View
(HRMEPRecruitingJobApplyPublic)
Apply for Job (4th item in list) Create
(HRMEPRecruitingJobApplyPublic)
Unsolicited application (6th item in list) View
Microsoft Dynamics AX Implementation Guide 375
Item Permission
(HRMEPRecruitingJobApplyUnsolictedPubl
ic)
Basic
Location in Permissions tree: Basic | Tables
Item Permission
Inventory Dimensions (InventDim) View
Item Permission
Business Connector Proxy (SysCom) Full
Verify that all child keys are selected and
set to Full control.
Human Resources
Location in Permissions tree: Human Resources | Tables
Item Permission
Application Basket Create
(HRMApplicationBasket)
Job Ads (HRMRecruitingJobAd) View
Recruitment Projects View
(HRMRecruitmentTable)
Inventory Management
Location in Permissions tree: Inventory management | Tables
Item Permission
Items (InventTable) View
Inventory module parameters View
(InventTableModule)
Presentations (ECPPresentation) View
Product group items View
(InventProductGroupItem)
Microsoft Dynamics AX Implementation Guide 376
Item Permission
Product group structure View
(InventProductBroupBOM)
Product groups (InventProductGroup) View
Questionnaire Participant
Location in Permissions tree: Questionnaire Participant | Miscellaneous
Item Permission
"Question", View
KMEPQuestionnaireGotoQuestion
Item Permission
Cancel View
(KMEPQuestionnaireFormCancelPublic)
Cancel (KMEPQuestionnaireFormCancel) Full
Questionnaire completed View
(KMEPQuestionnaireFormEndPublic)
Questionnaire completed Full
(KMEPQuestionnaireFormEnd)
Item Permission
Questionnaire View
(KMEPQuestionnaireFormPublic)
Questionnaire (KMEPQuestionnaireForm) Full
Customer
Location in Permissions tree: Customer | Miscellaneous
Item Permission
Activate user Edit
(ECPCustSignUpUserActivation)
Type = Web content Object Display
Activate user View
(ECPCustSignUpUserActivation)
Type = Web Menu Item URL
Microsoft Dynamics AX Implementation Guide 377
Item Permission
Campaign items (Type = Web Menu Item View
URL)
(EPCSSPromotionalItemGuest)
Campaign items (Type = Weblet) View
(EPCSSPromotionalItem)
Item description (Type = Web Menu Item View
URL)
(EPCSSItemDescription)
Item description (Type = Web Content View
Object Display)
(EPCSSItemDescription)
Product catalog group View
(WebProductCatalogGroup)
Product catalog group View
(WebProductCatalogGroupWeblet)
Product catalog items View
(WebProductCatalogItem)
Product catalog items View
(WebProductCatalogItemWeblet)
Product catalog (Type = Web Menu Item View
URL ) (EPCSSProductGroupPrintGuest)
Product catalog (Type = Weblet) View
(EPCSSProductGroupPrint)
Item Permission
Sign up (Type =Web Menu Item URL) View
(EPCSSCustSignUpGuest)
Sign up (Type = Web Content Object Create
Display) (EPCSSCustSignUpGuest)
2. Click Sign-in.
3. Click Documents and Lists.
4. Under Document Libraries, click Enterprise Portal.
5. Click Modify settings and columns.
6. Under General Settings, click Change permission for this document library.
7. Click Change anonymous access.
8. Select View Items and click OK.
9. Close Internet Explorer and open your Enterprise Portal home page.
Property descriptions
The Web Parts that display Microsoft Dynamics AX forms, reports, and menus on the
Enterprise Portal site have common SharePoint properties as well as properties specific
to Microsoft Dynamics AX. For more information about common SharePoint Web Part
properties, see SharePoint Help.
For information about properties that are specific to Microsoft Dynamics AX for the
WebFormWebPart, WebReportWebPart, WebMenuWebPart, and
Microsoft Dynamics AX Implementation Guide 381
WebMenuBoxWebPart, see Web Part Properties. For information about the properties
for the GenericWebPart, see Weblets.
Publish images
If you have changed an image file, you must publish it to each Web site.
1. Click Administration > Setup > Internet > Enterprise Portal > Publish
images.
2. Click Publish.
of the Web content objects and Web menu items on Enterprise Portal should be
assigned to one of the security keys created for Enterprise Portal.
After the security keys have been created and assigned to the Web menu items and
Web content objects in AOT, administrators can use the User group permissions form
to set permissions for the Web menu items and Web content objects.
Denial-of-service attacks
If you experience or want to prevent denial-of-service attacks on your Enterprise Portal,
you can adjust the values of the following configuration commands in the configuration
file of the Application Object Server (AOS):
MaxConcurrentGuestSessions - This value controls the maximum number of
concurrent Guest (anonymous user) sessions. The default value is 65535. By
reducing this value, you can reduce the number of sessions that an attacker can
Microsoft Dynamics AX Implementation Guide 385
hold. After setting this value, you must restart the AOS for the change to be
applied.
MaxConcurrentWebSessions - This value controls the maximum number of
concurrent Enterprise Portal sessions, including Guest sessions. The default value is
65535. By reducing this value, you can reduce the number of sessions that an
attacker can hold. After setting this value, you must restart the AOS for the change
to be applied.
MaxMemLoad - This value controls the maximum amount of memory usage (the
maximum percentage of physical memory that is in use on the computer). The
default value is 100. By reducing this value, you can reduce the number of sessions
that an attacker can start. After setting this value, you must restart the AOS for the
change to be applied.
For details about using MaxConcurrentGuestSessions,
MaxConcurrentWebSessions, MaxMemLoad, and other configuration commands,
see Configuration commands (Server).
Section Description
Flowchart: Configuring ad hoc reporting This topic describes the process of
configuring ad hoc reporting.
Install a reporting server This procedural topic describes how to
install a reporting server.
Create an ad hoc report model This procedural topic describes how to
create an ad hoc report model (view of
business data).
Reporting Services Security This topic describes the security system
for ad hoc reporting.
Ad hoc reporting for multiple languages This section describes how to set up ad
and currencies hoc reporting for systems that use
multiple languages.
Report Manager This topic describes how to use Report
Manager to administer SQL Server
Reporting Services.
Troubleshoot ad hoc reporting problems This topic lists issues you may encounter
with ad hoc reporting, and how to
resolve them.
Microsoft Dynamics AX Implementation Guide 387
Prerequisites
1. Install and configure Internet Information Services (IIS).
2. Install and configure SQL Server Reporting Services.
3. Install the reporting server role by using Setup.exe on your Microsoft Dynamics AX
DVD.
4. Add a report server in MSDAX.
5. Create a perspective.
6. Generate ad hoc report models.
Flowchart
1a69f76d-b96b-4e2d-8278-f2f9e89bab78
Verify prerequisites
To perform the following operations, you must have the following rights or privileges:
Domain prerequisites
The following must be available in the domain:
A core Microsoft Dynamics AX installation, including users.
This installation can be completed at the same time as the Reporting server
installation or earlier.
Active Directory configured in native mode.
Additional requirements
SQL Server Reporting Services server
requirements
Requirements Comments
SQL Server 2005 Reporting Services, Reporting Services is a component of
Service Pack 1 SQL Server 2005. For ad hoc reporting
with Microsoft Dynamics AX, you must
install SQL Server Reporting Services
even if you are using an Oracle database
or a SQL Server database.
Requirements Comments
License for Business Analysis in Ad hoc reporting requires the Business
Microsoft Dynamics AX Analysis module. If your company or
organization does not have a valid
license for this module, you cannot
access the Reporting Serversform.
To obtain a Business Analysis license,
contact your Microsoft partner.
Database requirements
Requirements Comments
A supported database Microsoft Dynamics AX supports the
following databases for ad hoc reporting:
SQL Server 2000, Service Pack 4, or
any more recent version
SQL Server 2005
Oracle 10g
Note Ad hoc reporting can consume
resources such as memory and CPU
on the database. For this reason, we
recommend that you use a replica of
the primary Microsoft Dynamics AX
database for ad hoc reporting.
Microsoft Data Access Components Microsoft Data Access Components are
(MDAC) installed when you install SQL Server. If
these components were removed,
– and –
reinstall them.
Oracle data provider
MDAC version 2.80.1022.3 or any
more recent version
– and –
Oracle client 10.2.0.1, if Oracle
database, or any more recent version
SQL Server running under the Local During SQL Server setup, the
System account administrator determines whether the
SQL Server process runs under the Local
System account or a domain user
account. Verify that the SQL Server
process runs under the Local System
account.
Microsoft Dynamics AX Implementation Guide 391
Screen Details
Server Status If the report server is not running, click
Start.
Report server virtual directory Click New to create the ReportServer
virtual directory on the Default Web Site.
Select Require Secure Sockets Layer
(SSL) connections if this site is
external facing (accessible from the
World Wide Web), or you wish to encrypt
report server communication over your
internal network.
Note To use SSL connections, you
must install an SSL certificate on the
Default Web Site. See the IIS
documentation for more details.
Report manager virtual directory Click New to create the Reports virtual
directory on the Default Web Site.
Windows service identity Set the Windows service account to use
the Local System built-in account.
Web service identity Verify that the ASP.NET Service Account
is set to NT Authority\NetworkService.
Microsoft Dynamics AX Implementation Guide 392
Screen Details
Verify that the Web service identity is set
to DefaultAppPool for the Report Server
and the Report Manager.
Database Setup 1. In the Server Name drop-down
list, enter the name of the server
where Reporting Services is installed
(for example Report Server 1).
2. Click New beside the Database
Name drop-down list to create a
new report server database.
Note This is a unique database.
This is not your Microsoft Dynamics
AX database. In the SQL Server
Connection dialog box, accept the
default values and click OK.
3. In the Credentials Type drop-
down list, verify that Service
Credentials is selected.
4. Click Apply.
5. In the SQL Connection dialog box,
verify that Current User-
Integrated Security is selected
and click OK.
Encryption keys Optional
Initialization Reporting Services Configuration
manager initializes the report server
after you completed the steps on the
Database Setup screen. If the report
server did not initialize, verify all
configurations as described here.
Email settings Optional
Execution account Optional
After you verified the Reporting Server configurations and the report server successfully
initialized, you are ready to install the Microsoft Dynamics AX reporting server role.
Microsoft Dynamics AX Implementation Guide 393
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
10. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles and components for your computer. To exit Setup, click Finish.
After installing the reporting server role, you are now ready to configure Microsoft
Dynamics AX for ad hoc reporting.
Report-model options
Now that you have created perspectives and identified the data for the report models,
you must specify report-model options in Microsoft Dynamics AX. To access the report-
model options form, click the Tools menu > Reporting tools > Model generation
options. Adjust the following options as necessary before generating a model.
General tab
Log-model update events
If Microsoft Dynamics AX experiences an event or a problem when generating a model,
the system writes the event to a file called AxModel.log (by default). Some events are
general in nature. For example, the log file includes the timestamps when model
synchronization begins and ends. Other events are more particular in nature. For
example, the system writes an AOT event to the log file when it cannot locate a
CurrencyCode field in the CompanyCurrencyConversion table. If you are having
trouble generating models, the model-update log file can help you understand what is
happening on the system during model updates.
Note If Microsoft Dynamics AX experiences an access-denied error when
communicating with a Reporting Services Web service as part of the synchronization
process, the system writes an event to the Windows Application Event log.
Contents tab
Set the default exchange rate company and report
currency
Report models translate all financial totals into a specified company's currency. By
default, the model for each language uses the default exchange rate company as
the specified company. If your organization or business includes multiple companies
doing business in multiple currencies, you must specify a single company and a single
currency for report-model totals. Once you select the company, Microsoft Dynamics AX
automatically uses the currency and currency rates for that company (as defined in the
General ledger module) when generating financial totals.
Important For every financial transaction, report models perform currency
translation according to the historical rate for the specified currency. For this
reason, do not use reports based on models for statutory financial reporting.
Statutory financial reporting requires different currency-translation methods based
on the nature of the financial account.
Note The Default currency for total amounts is automatically set to the master
currency for the selected company. The master currency is set in the General
ledger module.
Languages tab
For more information, see Ad hoc reporting for multiple languages.
To generate a model
1. From a Microsoft Dynamics AX client, click the Tools menu > Reporting tools >
Update models.
2. Enter the desired criteria and click OK.
3. When the operation completes, the Infolog informs you which models were
published.
To view a model
1. From a Microsoft Dynamics AX client, click the Tools menu > Reporting tools >
Report Manager.
2. Click the name of the application. For example, Dynamics.
Microsoft Dynamics AX Implementation Guide 399
3. Locate the models. The models have the same name as the perspective on which
they are based.
Be aware that Reporting Services roles and security are not managed by the
Microsoft Dynamics AX installation program or application. Reporting Services roles
and security must be managed by an administrator through Microsoft SQL Server
2005 Reporting Services Report Manager.
Only administrators and approved developers should have access to the following
security keys and menu items. If an end user or malicious user gained access to one of
these items, that user might be able to generate and publish a report model and
thereby view sensitive data they are not intended to view.
Secure views
A secure view is a database view that enforces security on tables when accessed from
outside of Microsoft Dynamics AX. The application creates secure views of all data for
every table referenced in a report model when the model is generated or updated.
When a user accesses report data using Report Builder, security is automatically
enforced so users see only the data they are supposed to see (according to their user
group membership).
If your organization or business does not intend to use Report Builder, you must
generate secure views using the Create all Secure Views form (Administration >
Periodic > Business analysis).
Important Database views are stored in the database. By default, only the
database administrator, the account for the Application Object Server (AOS), and
the Reporting Server domain account have access to secure views. Do not grant
Microsoft Dynamics AX Implementation Guide 402
users access to secure views. If a user gains access to secure views, the user could
view data not intended for that individual.
By default, ad hoc reports return data for all companies that a user has permission to
access. Because Thejas has access to all four companies, the ad hoc reports he creates
return data from all four companies. Because each company uses a different currency,
the ad hoc reports show the following fields:
Original Currency denotes the currency that is used for the original transactions. For
example, if the transactions in the report were processed in Brazil, the Original
Currency would be the Brazilian Real - BRL. Original AMT is the amount of the currency.
Thejas is not familiar with the Brazilian Real, so transactions and totals (if left in the
original currency) would be confusing. Thejas must see transactions and totals in the
currency he knows, the Indian Rupee.
Thejas and his administrator configured Microsoft Dynamics AX so that all foreign
currencies are automatically processed against an exchange rate and converted to the
Indian Rupee. In this case, the Indian Rupee is the reporting currency, or master
currency. The master currency is associated with a master company, called the
Exchange-Rate company. In this situation, Contoso India is the exchange-rate
company.
When Thejas creates ad hoc reports, he understands the transactions and totals in the
report because the original amount and currency have been processed against an
exchange rate and converted into the currency he knows.
To work with multiple currencies in ad hoc reports, you must do the following:
Verify that all currencies to be published in reports are listed on the Exchange Rates
Form.
Select a master currency and exchange-rate company and update all models.
To verify currencies
1. From a Microsoft Dynamics AX client, click the General ledger > Setup >
Exchange rates.
2. Verify that all currencies to be published in reports are listed. For example, if ad hoc
reports display data from four companies and each company has its own currency,
verify that all four currencies are listed on the Exchange rates form.
3. If it is necessary, add a new line to the form, and enter a currency name and code.
For information about the fields on this form, see Exchange rates (Form).
Note Your accountant, or whoever is responsible for the General ledger, should
update the exchange rates on this form. If you add a currency, or if you select a
currency on this form and you do not see exchange rates listed for that currency,
then work with your accountant to get exchange rates entered into the system.
Microsoft Dynamics AX Implementation Guide 404
Screen Details
Server Status If the report server is not running, click
Start.
Report server virtual directory Click New to create the ReportServer
virtual directory on the Default Web Site.
Select Require Secure Sockets Layer
(SSL) connections if this site is
external facing (accessible from the
World Wide Web), or you want to encrypt
report server communication over your
internal network.
Note To use SSL connections, you
must install an SSL certificate on the
default Web site. For more details,
see the IIS documentation.
Report manager virtual directory Click New to create the Reports virtual
directory on the default Web site.
Windows service identity Set the Windows service account to use
the Local System account.
Web service identity Verify that the ASP.NET Service
Account is set to NT
Authority\NetworkService. Verify that
the Web service identity is set to
DefaultAppPool for the Report Server
and the Report Manager.
Database setup 1. In the Server Name drop-down
list, enter the name of the server
where Reporting Services is
installed (for example Report
Microsoft Dynamics AX Implementation Guide 406
Screen Details
Server 1).
2. Click New beside the Database
Name drop-down list to create a
new report server database. Note:
this is a unique database. This is
not your database for Microsoft
Dynamics AX. In the SQL Server
Connection dialog box, accept the
default values and click OK.
3. In the Credentials Type drop-
down list, verify that Service
Credentials is selected.
4. Click Apply.
5. In the SQL Connection dialog box,
verify that Current User-
Integrated Security is selected
and click OK.
Encryption keys Optional
Initialization Reporting Services Configuration
Manager initializes the report server after
you complete the steps on the Database
Setup screen. If the report server does
not initialize, verify all configurations as
described here.
E-mail settings Optional
Execution account Optional
If you still cannot get the Reporting Services server to initialize, consult the SQL Server
2005 Reporting Services online Help.
5. Under Add a New Path, enter /reports in the Path text box.
6. Select the Excluded Path option.
7. Click OK.
8. Enter /reportserver in the Path text box.
9. Select the Excluded Path option.
10. Click OK.
source database at the time that the snapshot was created. A database snapshot is
effective for reducing performance impact of ad hoc reporting and query generation
against the main transactional database.
1. Open Report Manager in a Web browser (http://servername/reports).
2. Expand the Dynamics folder (or the folder that contains your Dynamics data source
details and ad hoc reports).
3. Click Dynamics database.
4. Clear the Enable this data source check box, and then click Apply.
5. Click the Back button in your browser or click the Dynamics link at the top of your
browser.
6. Click New Data Source.
7. Enter the required information, and then click OK.
Section Description
Using the Application Integration This topic provides an overview of AIF
Framework (AIF) to integrate Microsoft and how you can use it.
Dynamics AX with external software
systems
Securing the Application Integration This topic describes the security
Framework mechanisms available for AIF.
Adapter-based exchanges This section describes how to configure
adapter-based exchanges.
Web services for application integration This section describes how to configure
Web services for application integration.
Configuring document exchanges This section describes how to configure
different types of document exchanges.
Managing document exchanges This section describes how to track and
view document exchanges.
Troubleshoot problems operating the This topic describes how to resolve issues
Application Integration Framework with AIF.
Microsoft Dynamics AX Implementation Guide 411
Create a connection
Whether you exchange documents using Web services or an adapter-based exchange
such as MSMQ, file system, or outbound Web services, you must:
Negotiate agreements on document or data exchange with trading partners or third
parties which are represented in the Microsoft Dynamics AX database.
Install Web services for application integration using the Microsoft Dynamics AX
setup program and install and configure Microsoft IIS 6.0 if you intend to set up
exchanges that use inbound Web services. See Install an application integration
server and Configure IIS to work with Microsoft Dynamics AX Web services.
Configure the connection using the forms found when you click Basic > Setup >
Application Integration Framework.
Microsoft Dynamics AX Implementation Guide 413
You use a different set of steps when you configure asynchronous adapter-based
exchanges (including outbound Web services) and synchronous exchanges using
inbound Web services. For more detailed information about configuration, see the
sections on configuring, below. See also Configuring document exchanges.
Carefully consider the resources used in the transfer and the effect of the transfers
on performance. You can set the maximum batch size (or set it to be unlimited) to
control the number of messages processed from a queue at one time by a batch job.
You can also set the maximum locking interval, that is, the maximum time in
minutes that the channels and endpoints are to be locked while processing. If you
do not have any special circumstances, such as very large or very small messages,
you can use the default, monitor your system's performance, and change the
maximum locking interval accordingly.
Maintain and troubleshoot connections by viewing messages in the queues and
information when exceptions occur using the Queue manager, Document
history, and Exceptions forms found by clicking Basic > Periodic > Application
Integration Framework. See Managing document exchanges.
Configure the adapter and enable it for use in a channel. Adapters are custom
software components that pass the document to a specific transport mechanism, for
example, MSMQ. See Configure an adapter.
Create and configure a channel, specifying the adapter. Channels define the
transport method and address, which enables messages to move in and out of the
framework to reach the endpoint. See Configure a Channel.
Define an endpoint for the trading partner or third party, which must be represented
in the Microsoft Dynamics AX database. An endpoint is the destination for an
outbound document and the source of an incoming document. See Configure an
Endpoint.
Note Endpoints are the conceptual entities at either end of a transaction. For
example, a single endpoint may apply to multiple customers or vendors. If sales
order confirmations must be sent to a chain of retail stores where each store is
set up in the Microsoft Dynamics AX database as a separate customer, you can
create a single endpoint which can be authorized for each of the individual
stores.
Create endpoint action policies to define the actions (an action contains a document
and an operation, for example SendPurchaseOrder) to be associated with an
endpoint. See Configure endpoint action policies.
Create a data policy for each action on each endpoint. The data policy determines
which of the document's data fields participate in the exchange. See Configure
endpoint action data policies.
Optionally, define a pipeline to perform any optional document transformations,
value substitutions, or custom operations. See Configure a pipeline. Optional value
mappings are available for certain documents as well.
Note The pipeline is a configurable engine for processing XML documents as
they enter or are sent from Microsoft Dynamics AX. The pipeline is composed of
a series of individual pipeline components that are executed in sequential order
to transform the XML document. Some generic pipeline components are provided
with the Microsoft Dynamics AX installation. The architecture of the pipeline
allows developers to create and configure new pipeline components.
Start and stop processing in the queues for adapter-based exchanges by setting up
batch jobs to process the asynchronous channels (using forms found by clicking
Basic > Setup > Batch). For more information, see Processing batch jobs and
Start and stop the asychronous AIF services.
See Configure a pipeline. Optional value mappings are available for certain
documents as well.
Note The pipeline is a configurable engine for processing XML documents as
they enter or are sent from Microsoft Dynamics AX. The pipeline is composed of
a series of individual pipeline components that are executed in order to
transform the XML document. Some generic pipeline components are provided
with the Microsoft Dynamics AX installation. The architecture of the pipeline
allows developers to create and configure new pipeline components.
Adapter-based exchanges
A transport adapter is a software component that enables an asynchronous exchange in
which documents are placed on queue to await processing by different transport
mechanisms. To start and stop processing in the queues, use the Microsoft Dynamics
Microsoft Dynamics AX Implementation Guide 418
AX batch functionality. For more information, see Start and stop the asynchronous AIF
services. The transport adapters that are included with Microsoft Dynamics AX include:
Microsoft Message Queuing (MSMQ)
Outbound Web services
File system
BizTalk
The steps in using adapter-based exchanges include:
Configuring an adapter
Configuring a transport mechanism
Configuring a channel
Configuring the batch jobs that process documents in the queues
The topics in this section include:
Topic Description
Flowchart: AIF for adapter-based This topic describes the Conceptual
exchanges information about workflow and forms
that are used to set up adapter-based
exchanges.
Configure Microsoft Dynamics AX to use This topic describes how to configure
the file system for exchanging Microsoft Dynamics AX to use the file
documents system for document exchange.
Configure Message Queuing to work with This topic describes how to configure
Microsoft Dynamics AX Microsoft Dynamics AX to use the
message queuing for document
exchange.
Configure outbound Web services This topic describes how to configure
Microsoft Dynamics AX to use the
outbound Web services for document
exchange.
Configure the BizTalk adapter for This section describes how to configure
Microsoft Dynamics AX Microsoft Dynamics AX to use the BizTalk
Adapter for document exchange.
Prerequisites
You must set up and configure the transport you are going to use.
For exchanges using the file system, see Configure Microsoft Dynamics AX to use
the file system for exchanging documents.
For exchanges using MSMQ, see Configure MSMQ to work with Microsoft Dynamics
AX.
For exchanges using the BizTalk adapter for Microsoft Dynamics AX, see Install
BizTalk adapter for application integration and Import AIF schema for a BizTalk
project.
Microsoft Dynamics AX Implementation Guide 420
Flowchart
Microsoft Dynamics AX Implementation Guide 421
Microsoft Dynamics AX Implementation Guide 422
Actions
Configure an action in the Action form. For guidelines, see Configure an action.
For inbound Web services, see Create Web services for an action.
Endpoints
Configure endpoints in the Endpoints form. For guidelines, see Configure an Endpoint.
For inbound Web services, you must also give the endpoint user access to Business
Connector. See Configuring document exchanges that expose Web services.
Transport adapters
Configure an adaptor in the Transport adapters form. For guidelines, see Configure
an adapter.
Channels
Configure a channel in the Channels form. For guidelines, see Configure a Channel.
Microsoft Dynamics AX Implementation Guide 423
Global settings
Configure global settings in the Global settings form. For guidelines, see Configure
global settings for document exchange.
External Codes
Set up, define and maintain external codes in the External codes form. These external
codes are for different fields used to send and receive specific documents electronically
through the AIF.
Set up external codes if necessary for:
Trading partners (vendor and customer account numbers)
Addresses (countries/regions, counties, states, and postal (ZIP) Codes)
Inventory (Item numbers, barcodes, item units and warehouses)
Currency codes
Delivery methods
Delivery terms
Miscellaneous charges
Dimensions (department, purpose, cost center)
Document Notes
Define the name of the Note document type in Parameters form. for guidelines, see
Document management parameters (Form).
2. Create a queue
A queue for inbound messages can be either private or public; a queue for outbound
messages must be public.
1. Click Start > Settings > Control Panel > Administrative Tools > Computer
Management.
2. Under Services and Applications, expand the Message Queuing folder.
3. To create a new public queue, right-click the Public Queues folder and click New >
Public Queue.
4. To create a new private queue, right-click the Private Queues folder and click New
> Private Queue.
Any queue used for receiving messages must be located on the same computer as
the AOS that is configured to run the batch jobs that operate on the AIF queues. For
more information, see Start and stop the asynchronous Application Integration
Framework (AIF) services.
5. Enter a name for the queue.
6. Click the Transactional check box.
7. Click OK.
queues. AIF does not provide authentication for outbound messages, so you must
configure outbound queues to be unauthenticated.
1. Click Start > Settings > Control Panel > Administrative Tools > Computer
Management.
2. Under Services and Applications, expand the Message Queuing folder.
3. Right-click the queue you created and click Properties.
4. If you are configuring an inbound queue, on the General tab, select Authenticated.
If you are configuring an outbound queue, clear Authenticated.
Inbound messages must be authenticated. That is, inbound messages that are not
authenticated fail to reach their destination (the local endpoint).
5. On the Security tab, set ACLs appropriately for all queues.
When configuring the ACLs for newly created MSMQ queues, ensure that the
current, logged-in user retains Full Control over each queue. If the current, logged-
in user is denied certain privileges, they may become locked out of the queue and
unable to make changes.
By default, Everyone and Anonymous Logon users can send messages to any newly
created queue. Only the creator of the queue and an Administrator can receive
messages from the queues.
For inbound queues, select Allow on Receive Message and Peek Message for the
AOS account (the domain account or Network Service account associated with the
AOS instance). Select Allow on Send Message, Get Properties, and Get
Permissions for endpoint users only. For more information about configuring
endpoint users and trusted intermediaries, see Configure an Endpoint.
For outbound queues, set the ACLs to select Allow on Send Message, Get
Properties, and Get Permissions for the Anonymous Logon user. Select Allow on
Receive Message and Peek Message for endpoint users only.
If the inbound queue is not on the same machine as the AOS, then two additional
entries need to be added to the queue's ACL. First, add the account for the AOS
computer (for example, domain\computer-name$), and select Allow on Peek
Message and Receive Message. Second, grant the Peek Message and Receive
Message permissions for the Anonymous Logon.
6. On the Security tab, click Advanced.
7. On the Owner tab, set the Current owner of this item: to be the logged-in user
who performs the document exchange.
8. Click OK to exit the menus.
9. Log off and then log back on to the computer.
You should always negotiate agreements on document or data exchange with trading
partners or third parties which are represented in the Microsoft Dynamics AX database.
To configure an exchange using outbound Web services requires the following steps:
1. Create and configure a local endpoint (your Microsoft Dynamics AX system) by
using the Local endpoints form.
For more information, see Create and configure local endpoints.
2. Configure an action by using the Local endpoints form.
An action is comprised of a document and an operation, such as createSalesOrder.
This form is also used to generate Web services from actions. For more information,
see Configure an action.
3. Configure the AifWebServiceAdapter by using the Local endpoints form.
For more information see Configure an adapter. Configure a channel to use the
AifWebServiceAdapter on the Local endpoints form.
For more information, see Configure a Channel.
4. Create and configure an endpoint for the trading partner in the exchange by using
the Local endpoints form.
Endpoints represent your trading partners. For more information, see Configure an
Endpoint.
5. Configure the endpoint action policy to associate the desired actions with the
endpoint by using the Local endpoints form.
Action policies relate actions to endpoints. For more information, see Configure
endpoint action policies.
6. Configure endpoint action data policies by using the Local endpoints form.
The data policy specifies which fields participate in the transfer. For more
information, see Configure endpoint action data policies.
7. Optionally, you may configure value mappings and pipeline components.
For more information, see About value lookups and Configure a pipeline.
8. Start the exchange by setting up the required batch jobs.
See Start and stop the asychronous AIF services.
Components installed
Setting up a computer as an application integration gateway installs the following
components on the computer:
Microsoft Dynamics AX Implementation Guide 431
Verify prerequisites
On the computer running the BizTalk adapter for Microsoft Dynamics AX, the following
must be installed:
Microsoft BizTalk Server 2006
The following must be available in the domain:
A core Microsoft Dynamics AX installation. This installation must be completed
before you install the BizTalk adapter.
Active Directory directory services configured in native mode.
1. From an Microsoft Dynamics AX client, click Administration > Setup > Security >
Business Connector Proxy.
2. In the Alias field, type the name of the proxy user that was previously created in
Active Directory.
3. In the Network domain field, type the domain.
4. To propagate the change to the Microsoft Dynamics AX database, restart the AOS.
Start Setup
At the computer running BizTalk Server, If you have not done so already, insert the
Microsoft Dynamics AX DVD into your drive. If the Microsoft Dynamics AX Setup Wizard
does not launch automatically, double-click the Autorun.hta file in the root directory of
the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
Next steps
Now that you have installed the BizTalk adapter, you must configure it in Microsoft
Dynamics AX. For details, see Configure AIF for use with BizTalk Server.
Microsoft Dynamics AX Implementation Guide 433
Next steps
After you configure AIF for use with BizTalk, you must:
Microsoft Dynamics AX Implementation Guide 434
Configure the BizTalk adapter. For more information, see Configure the BizTalk
adapter for Microsoft Dynamics AX.
Configure document exchanges. For more information, see Configuring document
exchanges.
Start and stop processing in the queues by setting up batch jobs to process the
asynchronous channels. For more information, see Processing batch jobs and Start
and stop the asychronous AIF services.
Inbound Web services do not require an adapter, nor do they require a channel to
be configured. However, you must configure a Web site on the Web sites form and
you must configure all the other elements for a document transfer that uses AIF.
That is, you must configure a local endpoint, actions (from which you generate Web
services), at least one endpoint and an action policy on that endpoint. Additionally,
you may configure pipeline components (including value lookups) and endpoint
action data policies for document transfer with inbound Web services.
When you configure an endpoint for inbound Web services, you must set up an
Microsoft Dynamics AX user (or user group) for that endpoint. Next, you must give
the user group access to the Business Connector. For details, see Configuring
document exchanges that expose Web services.
Outbound Web services are asynchronous and place messages on a queue where
they are exchanged using a batch processing service.
Outbound Web services are initiated by your Microsoft Dynamics AX installation
when other external sites have exposed Web services.
When you use AIF to expose Web services to external trading partners, you are
allowing trading partners to create, update, read, delete, or query for records in the
Microsoft Dynamics AX database.
Note It is unsafe to deploy AIF using Web services outside the intranet without
installing additional middleware to ensure proper security. As installed with Microsoft
Dynamics AX, AIF Web services are intended for intranet deployment only.
Prerequisites
If you are setting up inbound Web services, you must perform these three steps:
1. Set up an application integration server as described in the Implementation Guide
topic Install an application integration server.
2. Configure Internet Information Services (IIS) as described in the topic Configure IIS
to work with Microsoft Dynamics AX Web services.
Microsoft Dynamics AX Implementation Guide 436
3. Use the Web sites form to configure the AIF Web site where Web services are
stored. For guidelines, see Configure Web sites for document exchange.
Microsoft Dynamics AX Implementation Guide 437
Flowchart
Microsoft Dynamics AX Implementation Guide 438
Microsoft Dynamics AX Implementation Guide 439
See AIF for inbound Web services flowchart for print version.
Local endpoint
Create local endpoints in the Local endpoints form. For guidelines, see Create and
configure local endpoints.
Actions
Configure an action in the Action form. For guidelines, see Configure an action.
For inbound Web services, see Create Web services for an action.
Endpoints
Configure endpoints in the Endpoints form. For guidelines, see Configure an Endpoint.
For inbound Web services, you must also give the endpoint user access to Business
Connector. See Configuring document exchanges that expose Web services.
Global settings
Configure global settings in the Global settings form. For guidelines, see Configure
global settings for document exchange.
Microsoft Dynamics AX Implementation Guide 440
External codes
Set up, define, and maintain external codes in the External codes form. These
external codes are for different fields used to send and receive specific documents
electronically through AIF.
Set up external codes if necessary for:
Trading partners (vendor and customer account numbers)
Addresses (countries/regions, counties, states, and postal (ZIP) Codes)
Inventory (item numbers, barcodes, item units, and warehouses)
Currency codes
Delivery methods
Microsoft Dynamics AX Implementation Guide 441
Delivery terms
Miscellaneous charges
Dimensions (department, purpose, cost center)
Document Notes
Define the name of the Note document type in Parameters form. For guidelines, see
Document management parameters (Form).
Set up the manner in which duplicate invoices are processed in the Parameters
form (Updates > Check the invoice number used). For guidelines, see Accounts
payable parameters (Form).
Components installed
Setting up AIF Web services installs the following components on the computer:
.NET Business Connector
AIF Web services
Verify prerequisites
The computer that will host the AIF Web services must have IIS, version 6.0 or later
installed.
If you do not have IIS installed, you can install it from Start > Control Panel > Add
or Remove Programs > Add/Remove Windows Components > Application
server.
Note Do not install the AIF Web services on an external (Internet) facing IIS
server.
Verify that the following options were selected when installing.
Option Value
Application Server Console Installed
ASP.NET Installed
Enable network COM+ access Installed
Internet Information Services (IIS) Installed
Start Setup
If you have not done so already, insert the Microsoft Dynamics AX DVD into your drive.
If the Microsoft Dynamics AX Setup Wizard does not launch automatically, double-click
the Autorun.hta file in the root directory of the DVD.
If you are installing from a network location, share the installation files and connect to
the location from the computer on which you want to install the program.
Creates a network share in the directory where the AIF files are installed. The
network share is called Aifwebservice.
Grants Full Control permissions on the share to the Dynamics AX Web Service
Administrators local group and to the AOS account (the domain account or
Network Service account associated with the AOS service), if the AOS is installed
on the same computer at the same time as the AIF Web services.
7. On the Installing page, you can monitor installation progress as Setup proceeds.
8. On the Completing Microsoft Dynamics AX Setup page, you can review the
summary of roles installed on the computer.
9. To exit the Microsoft Dynamics AX Setup wizard, click Finish.
Configure IIS
To configure an existing installation of IIS, click Start > All Programs >
Administrative tools > Internet Information Services Manager. For more
information about configuring IIS, see the IIS documentation on Technet.
affects all Web applications on the computer. You cannot apply an application isolation
mode to individual applications.
1. Open the IIS management console and expand the local computer by clicking the
plus sign.
2. Right-click the Web Sites folder, click Properties, and then click the Service tab.
3. Under Isolation mode, clear the Run Web service in IIS 5.0 isolation mode
check box to configure IIS to run in worker process isolation mode.
Restrict access
1. Open the Computer Management application (Start > Administrative Tools >
Computer Management).
2. Expand the Groups folder under Local Users and Groups.
3. In the Dynamics AX Web Service Administrators local group, verify that only
the AOS account is a member of the group.
4. If you have more than one AOS server, add the AOS account for each server to the
group.
5. If you are using the default permissions in Microsoft Windows Server 2003, all
domain users have Read and Execute permissions to the virtual directory where AIF
Microsoft Dynamics AX Implementation Guide 449
is installed. For details, see the Default local groups article on TechNet. If you are
not using default permissions, you may need to grant access to the share using one
of the methods below.
Create a local Windows group with access to the directory and add users of the
AIF Web service to it.
Add users of the AIF Web service to the local Users group of the computer.
Next steps
Now that you have set up AIF Web services, you must configure them. For details, see
About integration using Web services.
Default encoding format for documents. An encoding format is a code that pairs a
set of characters with numeric codes to facilitate electronic storage or data
exchange. Common encoding formats include Unicode and UTF-8.
Setting the maximum resource locking interval determines how often the various
services lock resources when processing messages. The maximum locking interval is
used by the gateway service to lock channels for inbound and outbound processing, by
the inbound processing service to lock channels for inbound processing, and by the
outbound processing service to lock endpoints for outbound processing.
If the locking interval is set too small, the locks expire faster. When a lock expires
and another Application Object Server (AOS) is available, the same channel or
endpoint is processed again. This can lead to a waste of resources as the channel or
endpoint is processed continuously when no messages are present. .
If the lock is set too large it takes the system longer to recover if there is a failure.
It is difficult to choose a number that works for all cases.
You should change the maximum locking interval after monitoring the volume of
exchanges for your particular system.
Note Choosing to validate the schema for every outbound document may
negatively impact performance.
2. Enter the time in minutes in the Maximum resource locking interval (minutes)
field.
3. Press CTRL+S to save changes.
The name of the local endpoint identifies you to your trading partners, therefore we
recommend that the name for the local endpoint be representative of the Microsoft
Dynamics AX company name that participates in the exchange.
1. Click Basic> Setup > Application Integration Framework > Local
endpoints.
2. Press CTRL+N to create a new local endpoint record.
3. Select a company from the Company field.
4. Enter a name for the endpoint in the Local endpoint field.
The name for the local endpoint should be representative of the Microsoft Dynamics
AX company name that participates in the exchange.
5. Press CTRL+S to save the data.
6. Configure endpoint action data policies by using the Local endpoint form.
The data policy specifies which fields participate in the transfer.
7. Configure an adapter by using the Local endpoint form.
Adapters are software components that translate the XML document into a format
for a particular transport, for example, MSMQ or file system.
8. Configure a channel by using the Local endpoint form.
Channels specify the direction for a particular transport in an adapter-based
exchange. You also specify a transport mechanism that corresponds to the adapter
on this form.
9. Click Basic > Setup > Batch to set up the batch jobs to run the services that
manage inbound and outbound documents in the queues for adapter-based
exchanges.
These forms are optional when setting up a transfer:
Use the Batch form to configure global defaults for configuring adapters, actions,
resource locks for batch processing, and schema validation, as well as the default
encoding format for documents.
Use the Batch form to configure optional document transformations, including XSLT
style sheet mapping or value substitutions.
Use the Value Mapping form to set up optional predefined value mapping that is
available for certain documents.
Create an action
An action refers to the document and the operation to be performed on it, such as
Send or Receive. After a document class is implemented, an action or actions are
available for the document in the Application Object Tree (AOT).
To make the documents and actions available for use in exchanges, you must first scan
the AOT and register the actions, which creates them in the AifAction table and makes
them available on the Action form. Then you can enable actions to use in exchanges.
You must register and enable each action before you can use it in an exchange. You can
also generate Web services from an action on the Action form. For more information,
see Create Web services for an action.
Note Certain actions, such as creating exchange rates, cause data to be written
directly to the Microsoft Dynamics AX database without manual end-user
verification. When configuring endpoints and creating new actions, be especially
careful to restrict access to trusted and reliable partners and applications.
1. Click Basic > Setup > Application Integration Framework > Action. No
actions are present if this is the first time you have opened the form after
Microsoft Dynamics AX is installed.
2. Click Scan and register.
3. After all actions are scanned and registered, select Enabled to enable the action to
use in an exchange.
4. If any errors occur, select an action and click View errors to view errors associated
with the selected action.
Configure an action
An action refers to the document and the operation to be performed on it, such as
Send or Receive. After a document class is implemented, an action or actions are
available for the document in the Application Object Tree (AOT).
To make the documents and actions available for use in exchanges, you register and
enable actions using the Action form. Registering actions creates them in the
AifAction table and makes them available on the Action form. You must enable each
action before you can use it in an exchange. You can also generate Web services from
an action on the Action form. For more information, see Create Web services for an
action.
Microsoft Dynamics AX Implementation Guide 459
Configure an adapter
The following adapters are available after installing Microsoft Dynamics AX:
AifFileSystemAdapter
AifMSMQAdapter
AifWebServiceAdapter
AifBizTalkAdapter
To configure an adapter for use in a channel, you activate it and specify its direction
(inbound, outbound, or both) on the Search direction form.
Microsoft Dynamics AX Implementation Guide 461
Adapters may be hosted or isolated and this status is displayed for informational
purposes only on the Search direction form.
A hosted adapter relies on the Application Integration Framework (AIF) gateway
services to send or receive messages.
An adapter that is isolated is external to the AIF gateway service and is
implemented so that it controls sending or receiving of messages.
For more information about the AIF gateway service, see Start and stop the
asychronous AIF services.
1. Click Basic > Setup > Application Integration Framework > Application
Integration Framework.
2. Select the adapter you want to use.
Note The first time the form is opened, the process of scanning for adapters
may take a few moments. There is a progress bar at the bottom of the form.
3. To make the adapter available for use in a channel, click Active.
4. If the adapter has been implemented as "unidirectional," on the General tab, select
a direction (inbound or outbound) for the adapter.
If the adapter is not set to "unidirectional," the direction for the adapter appears as
it has been implemented and you cannot change it.
5. The Hosted checkbox indicates whether the adapter is hosted.
A hosted adapter uses the gateway queue to send and receive messages.
Create a channel
Channels define the transport method and transport address that enable messages to
move in and out of the framework to reach the endpoint. Before configuring a channel,
Microsoft Dynamics AX Implementation Guide 462
you must have activated an adapter on the Transport adapters form. For more
information, see Configure an adapter.
1. Click Basic > Setup > Application Integration Framework > Application
Integration Framework.
2. Press CTRL+N to create a new channel.
3. Select an adapter in the Adapter field.
Note You must first have activated an adapter on the Transport adapters
form before it appears in the list of available adapters.
4. Enter the unique identification information for the new channel, including an
identifier in the Channel ID field and a friendly name in the Name field.
5. To activate the channel and allow it to participate in document exchanges, click
Active.
6. Configure the address for the adapter.
If you are using one of the adapters included with Microsoft Dynamics AX (file
system, Message Queuing, or outbound Web services), you choose an adapter-
specific Address.
If you are using a custom adapter, click Configure and enter the adapter-
specific information.
For more information, see Configure a Channel.
7. Select from the available directions for the transfers to be performed in this channel
(Inbound, Outbound, or Both). The list of available directions depends on the
adapter.
8. If the direction is set to Inbound, you can select a response channel.
Inbound channels can use an outbound channel called a "response channel" to
transfer or "respond back" to the source endpoint with verification results or error
responses to inbound transfers.
9. On the General tab, set the Maximum batch size to the maximum number of
messages to be processed at one time from the queues.
Note You can select Unlimited if you do not want to limit this number.
Configure a channel
Channels define the transport method and transport address that enable messages to
move in and out of the framework to reach the endpoint. Before configuring a channel,
you must have activated an adapter on the Transport adapters form.
3. Enter a unique identification for the new channel, and a free-text name to identify it.
4. To activate the channel, select Active.
5. For file system transfers, in the Adapter field, select File System Adapter.
Note You must previously have activated this adapter on the Transport
adapters form.
6. In the Direction, select the direction for the transfers to be performed in this
channel (Inbound, Outbound, or Both).
7. In the Address field, select an address (a file folder) for the channel to use. For
more information, see Configure Microsoft Dynamics AX to use the file system for
exchanging documents.
8. If the direction is set to Inbound, in the Response channel field, select a
response channel.
Inbound channels can use an outbound channel called a "response channel" to
transfer or "respond back" with verification results or error responses to inbound
transfers.
9. On the General tab, for the maximum number of messages to be processed at one
time from the queues, set the Maximum batch size.
You can select Unlimited if you do not want to limit this number.
Before you can configure an endpoint, the following must already exist and be
configured:
A local endpoint.
A named action for the exchange, consisting of a document and a description of the
operation to be performed on it, for example, ReadSalesOrder. For more
information, see Creating and configuring actions.
Microsoft Dynamics AX users to be associated with the endpoint.
An outbound channel must be already be defined if needed.
When you configure an endpoint, you enter information about the following:
Identifying information for the endpoint, including an identifier, a friendly name, the
active status, the associated channel, and the Microsoft Dynamics AX company
identification.
Constraints on the endpoint that restrict document exchange by defining valid
Microsoft Dynamics AX customers or vendors.
Microsoft Dynamics AX users and trusted intermediaries that are allowed to submit
documents for the exchange.
Endpoint action policies that relate actions to the endpoint.
Pipeline components for any optional document transformations for the action
related to the endpoint.
Endpoint action data policies (or "data policies") that defines which fields in a
document are allowed or required to participate in the exchange.
Document configuration options, including value mapping. For more information,
see About External Codes.
Create an endpoint
Before you can create an endpoint, the following must already exist and be configured:
A local endpoint
A named action for the exchange, consisting of a document and a description of the
operation to be performed on it, for example, createPurchaseOrder. For more
information, see Creating and configuring actions.
Microsoft Dynamics AX users to be associated with the endpoint
An outbound channel must be already be defined if needed.
1. Click Basic > Setup > Application Integration Framework > Endpoints.
2. Press CTRL+N to create a new endpoint.
3. Do not select Intercompany organization unless the endpoint is to be used in an
intercompany transfer. For more information about these transfers, see
Intercompany for sales orders or Intercompany purchase orders.
4. Enter the information for the endpoint, including the endpoint identification
information, name, local endpoint ID, and channel information (outbound or both).
Microsoft Dynamics AX Implementation Guide 467
5. On the Constraints tab, click No constraints to clear the form and allow data to
be exchanged regardless of any associations. For more information, see Configure
an Endpoint. After selecting, the No constraints check box becomes unavailable.
However, if you add constraints later, the check box clears itself.
6. On the Overview tab, select Active to activate the endpoint.
7. On the Users tab, enter information to restrict users that are authorized to initiate
transactions for the endpoint. In the User type field, select either User or User
group.
You can also designate trusted intermediaries on the Users tab. Trusted
intermediaries are logical ―middle men‖ between external endpoints and AIF, that is,
they are Microsoft Dynamics AX users (or user groups) that are authorized to submit
inbound requests on behalf of the endpoint. For more information about trusted
intermediaries, see Security considerations for the Application Integration
Framework.
Note When configuring users on an endpoint, keep in mind that these
Microsoft Dynamics AX users may represent outside interests and must have
permissions set appropriately. For more information about configuring Microsoft
Dynamics AX users, see Managing access to Microsoft Dynamics AX, Manage
permissions, Manage user groups, and Manage users. You must also set the
appropriate security keys and record-level security for any users that are
granted access to Microsoft Dynamics AX through Application Integration
Framework (AIF), to help prevent unauthorized data access. For more
information, see Manage record-level security, Security keys, and Set up
security keys. Certain actions cause data to be written directly to the Microsoft
Dynamics AX database without manual end-user verification (for example,
creating exchange rates). When configuring endpoints and creating new actions,
be especially careful to restrict access to trusted and reliable partners and
applications.
8. Click Action policies to configure actions on the endpoint with the Action policies
form. Examples of actions include SendSalesOrder and ReceivePurchaseOrder.
For details on setting up action policies, see Configure endpoint action policies.
9. From the Action policies form you can select an action and click Data Policies to
enter the data policy, that is, information about which fields are required and which
are optional in the document to be exchanged. For details on setting up data
policies, see Configure endpoint action data policies.
10. From the Action policies form, you can click Configure to perform document-
specific configuration, including value mapping. Value mapping is the translation of
field data values based on business rules, for example, translating internal item
numbers to vendor-specific item numbers or industry standard numbers depending
on the trading partner. For more information, see Configure endpoint action data
policies.
Configure an endpoint
When you configure an endpoint, you enter information on the Endpoints form about
the following:
Microsoft Dynamics AX Implementation Guide 468
5. Click Pipeline components to configure the pipeline components for any custom
transformations performed on the document. For more information, see Creating
and configuring a pipeline.
6. Click View schema to view the XML schema for the document configured by the
action policy on the endpoint. On the Schema form, you can click Save as to save
the schema as a file.
The concept of "required fields" has no meaning for outbound transfers. For outbound
documents, only fields that are enabled are included in the exchange.
Note When you clear the Enabled check box for a field used for calculating the
value of another field, you may also need to clear the Enabled check box for the
calculated field, so that unauthorized users may not be able to deduce the value of
the original field that is not enabled. Please refer to Using Standard AxdDocuments
for details of the calculated fields available in each document.
Configure a pipeline
Configuring a pipeline for an action on an endpoint involves specifying the pipeline
components for a transformation of the document, in execution order, on the
Configure form.
Microsoft Dynamics AX Implementation Guide 476
Two pipeline components are included with an Microsoft Dynamics AX installation and
you can configure them to perform value substitution and XSLT transformations. Other
custom pipeline components may be developed for your system by your team or
outside consultants or partners. Configuration of any custom pipeline component
depends entirely on the implementation of that component.
To begin configuring a pipeline component, on the Endpoint Action Policies form,
click Pipeline components. The Pipeline components form displays the list of
pipeline components configured for the action on the endpoint.
To display the list of available pipeline components, on the Pipeline components
form, click Class name. The two pipeline components available with your Microsoft
Dynamics AX installation are:
AifValueSubstitutor for simple string mapping of field values and
AifXMLTransform for XSLT transforms of XML documents.
You can include as many pipeline components as you need to transform the document
to meet the needs of the exchange.
Each pipeline component has different configuration requirements, so you see a
different form when you click Configure for any custom pipeline component.
Before configuring any pipeline components, you must have already configured the
following:
A local endpoint
See Create and configure local endpoints.
An action
See Configure an action.
An endpoint with an action policy and a data policy
See Configure an Endpoint, Configure endpoint action policies, and Configure
endpoint action data policies.
7. Click Configure.
8. On the Pipeline value substitution form, select the Lookup table identification
Lookup table ID for the value lookup table (that you entered on the Value lookup
form) for the fields requiring value substitution. For more information about
configuring value lookups, see About value lookups.
Note Values for Lookup table ID are filtered by type. If no values are
displayed for Lookup table ID, you may need to return to the Value lookup
form and enter a value for Type on the General tab.
The Pipeline value substitution form displays:
Element name (the name of the data field)
Lookup table ID, XPath (the XPath, the specification for where the data field
fits into the schema hierarchy)
Type (the Microsoft Dynamics AX data type).
3. In the XSLT ID field, enter a unique identifier for the XSLT transform.
4. In the Name field, enter a free-text description for the transform.
5. Click Import and specify the file name of the XSLT style sheet for the transform.
6. Click View to view the XML for the transform, and then click Save as to export the
XML to a file.
6. Select AifValueSubstitutor in the Class name field (press CTRL+N to create the
line if you need to) and press CTRL+S to save.
7. Click Configure.
The Pipeline value substitution form is populated with the data fields that are
Enabled on the Data Policies form for your document.
8. Enter the Lookup table ID for each data field to be substituted. This is the
identifier you entered on the Value lookup form.
9. In the XPath field, you can view the place in the XML schema hierarchy where the
element resides.
10. In the Type field, you can view the Microsoft Dynamics AX type of the data field.
Create an action
An action refers to the document and the operation to be performed on it, such as
Send or Receive. After a document class is implemented, an action or actions are
available for the document in the Application Object Tree (AOT).
To make the documents and actions available for use in exchanges, you must first scan
the AOT and register the actions, which creates them in the AifAction table and makes
them available on the Action form. Then you can enable actions to use in exchanges.
You must register and enable each action before you can use it in an exchange. You can
also generate Web services from an action on the Action form. For more information,
see Create Web services for an action.
Note Certain actions, such as creating exchange rates, cause data to be written
directly to the Microsoft Dynamics AX database without manual end-user
verification. When configuring endpoints and creating new actions, be especially
careful to restrict access to trusted and reliable partners and applications.
1. Click Basic > Setup > Application Integration Framework > Action. No actions
are present if this is the first time you have opened the form after Microsoft
Dynamics AX is installed.
2. Click Scan and register.
3. After all actions are scanned and registered, select Enabled to enable the action to
use in an exchange.
4. If any errors occur, select an action and click View errors to view errors associated
with the selected action.
Configure an action
An action refers to the document and the operation to be performed on it, such as
Send or Receive. After a document class is implemented, an action or actions are
available for the document in the Application Object Tree (AOT).
To make the documents and actions available for use in exchanges, you register and
enable actions using the Action form. Registering actions creates them in the
AifAction table and makes them available on the Action form. You must enable each
action before you can use it in an exchange. You can also generate Web services from
an action on the Action form. For more information, see Create Web services for an
action.
Configure an endpoint
When you configure an endpoint, you enter information on the Endpoints form about
the following:
Identifying information for the endpoint, including a unique identifier, a friendly
name, the active status, the intercompany status, local endpoint, Microsoft
Dynamics AX company identification for an intercompany exchange, channel
information (if any), and encoding format for the transfer
Constraints on the endpoint that restrict document exchange by defining valid
Microsoft Dynamics AX customers or vendors or warehouses
Microsoft Dynamics AX users and trusted intermediaries that are allowed to submit
documents for the exchange
Endpoint action policies that relate actions to the endpoint
Pipeline components for an action related to the endpoint
Endpoint action data policies that define which fields in a document are required for
the exchange
6. Click View schema to view the XML schema for the document configured by the
action policy on the endpoint. On the Schema form, you can click Save as to save
the schema as a file.
7. Select Hold to prevent outbound documents from being passed to the adapter and
inbound documents from being passed to the document class.
The document is held in the queue and may be examined and resubmitted. For
more information, see Edit and resubmit messages in the queues. For a
synchronous exchange such as a Web service, an error message is generated for
the hold condition.
8. On the General tab, enter a name for External Identifier Override to override
the External identifier field on the Action form.
This sets the contents of the Action tag in the XML document being exchanged.
9. Press CTRL+S to save the action policy you have created. This makes the buttons
available.
10. Click Pipeline components to create a pipeline for any transformation of the
document.
11. Click View schema to view the XML schema for the document that corresponds to
the action you have selected.
Value mapping is the translation of field data values based on business rules, for
example, translating internal item numbers to vendor-specific item numbers or
industry standard numbers depending on the trading partner.
The concept of "required fields" has no meaning for outbound transfers. For outbound
documents, only fields that are enabled are included in the exchange.
Note When you clear the Enabled check box for a field used for calculating the
value of another field, you may also need to clear the Enabled check box for the
calculated field, so that unauthorized users may not be able to deduce the value of
the original field that is not enabled. Please refer to Using Standard AxdDocuments
for details of the calculated fields available in each document.
Configure a pipeline
Configuring a pipeline for an action on an endpoint involves specifying the pipeline
components for a transformation of the document, in execution order, on the
Configure form.
Microsoft Dynamics AX Implementation Guide 494
Two pipeline components are included with an Microsoft Dynamics AX installation and
you can configure them to perform value substitution and XSLT transformations. Other
custom pipeline components may be developed for your system by your team or
outside consultants or partners. Configuration of any custom pipeline component
depends entirely on the implementation of that component.
To begin configuring a pipeline component, on the Endpoint Action Policies form,
click Pipeline components. The Pipeline components form displays the list of
pipeline components configured for the action on the endpoint.
To display the list of available pipeline components, on the Pipeline components
form, click Class name. The two pipeline components available with your Microsoft
Dynamics AX installation are:
AifValueSubstitutor for simple string mapping of field values and
AifXMLTransform for XSLT transforms of XML documents.
You can include as many pipeline components as you need to transform the document
to meet the needs of the exchange.
Each pipeline component has different configuration requirements, so you see a
different form when you click Configure for any custom pipeline component.
Before configuring any pipeline components, you must have already configured the
following:
A local endpoint
See Create and configure local endpoints.
An action
See Configure an action.
An endpoint with an action policy and a data policy
See Configure an Endpoint, Configure endpoint action policies, and Configure
endpoint action data policies.
7. Click Configure.
8. On the Pipeline value substitution form, select the Lookup table identification
Lookup table ID for the value lookup table (that you entered on the Value lookup
form) for the fields requiring value substitution. For more information about
configuring value lookups, see About value lookups.
Note Values for Lookup table ID are filtered by type. If no values are
displayed for Lookup table ID, you may need to return to the Value lookup
form and enter a value for Type on the General tab.
The Pipeline value substitution form displays:
Element name (the name of the data field)
Lookup table ID, XPath (the XPath, the specification for where the data field
fits into the schema hierarchy)
Type (the Microsoft Dynamics AX data type).
3. In the XSLT ID field, enter a unique identifier for the XSLT transform.
4. In the Name field, enter a free-text description for the transform.
5. Click Import and specify the file name of the XSLT style sheet for the transform.
6. Click View to view the XML for the transform, and then click Save as to export the
XML to a file.
6. Select AifValueSubstitutor in the Class name field (press CTRL+N to create the
line if you need to) and press CTRL+S to save.
7. Click Configure.
The Pipeline value substitution form is populated with the data fields that are
Enabled on the Data Policies form for your document.
8. Enter the Lookup table ID for each data field to be substituted. This is the
identifier you entered on the Value lookup form.
9. In the XPath field, you can view the place in the XML schema hierarchy where the
element resides.
10. In the Type field, you can view the Microsoft Dynamics AX type of the data field.
Topic Description
Flowchart: Configuring OLAP reporting This topic describes the process of
configuring OLAP reporting.
Microsoft Dynamics AX Implementation Guide 500
Topic Description
Set up OLAP reporting This topic describes how to set up OLAP
reporting.
OLAP Security This topic describes the security system
for OLAP reporting.
Create and process an OLAP cube This topic describes how to configure,
transfer, and process OLAP cubes for use
by Microsoft Dynamics AX.
Set up an OLAP server to work with an This topic describes how to configure
Oracle database Microsoft SQL Server Analysis Services to
retrieve data from an Oracle 10g
database for online analytical processing
(OLAP).
Considerations
To perform the following operations, you must be a member of the Microsoft
Dynamics AX Administrator group on the computer that is running Microsoft
Dynamics AX. You must also be a member of the OLAP Administrators group on the
computer that is running Analysis Services.
The process of generating OLAP cubes and running Analysis Services can consume
memory and CPU resources on the server. Therefore, consider setting up Analysis
Services on a server separate from the Microsoft Dynamics AX server.
Database requirements
Microsoft Dynamics AX Implementation Guide 507
Requirements Comments
A supported database Microsoft Dynamics AX supports the
following databases:
SQL Server 2000, Service Pack 4 or
later versions
SQL Server 2005
Oracle
4. Enter a description if you want. Do not select the Valid check box, which will
automatically be selected when you synchronize the server and database later in
this procedure.
5. Click OLAP databases.
6. On the Overview tab, press CTRL + N to create a new line. Enter a name for your
OLAP database.
Note The name of your OLAP database must consist of numbers or letters only.
Do not use symbols. If the name of the database contains a symbol, you might
be unable to transfer the OLAP cube to the Analysis Services server.
7. Enter a description if you want.
8. In the Origin list, leave the option set to Present Microsoft Dynamics. This
option is intended to be read-only and indicates whether the cube was created by
this Microsoft Dynamics AX instance or by some other tool.
9. Press CTRL + S to save changes. Microsoft Dynamics AX creates the OLAP database
in Analysis Services.
10. To synchronize OLAP databases, click the Synchronize button on the OLAP
servers form. If the synchronization is successful, OLAP is set up correctly. If the
synchronization is not successful, see Checklist for troubleshooting Axapta OLAP
reporting.
11. When the synchronization is successful, press CTRL + S to save changes.
9. In the Default section, select the Microsoft Dynamics AX database you created
earlier in this topic.
10. Click the Database Access tab. For SQL 2005, click User Mapping.
11. Select the Microsoft Dynamics AX database.
12. In the Database Roles for section, select the db_datareader role.
13. Click OK.
The account accessing the Microsoft Dynamics AX database now has the appropriate
permissions to read data for the purpose of generating OLAP reports.
OLAP cubes
After you create the OLAP server and database in Microsoft Dynamics AX and specify
the parameters, you are ready to create an OLAP cube. An OLAP cube is the very
foundation of the OLAP reporting process; that is, before you can create the cube, you
must know the kind of reports the business decision makers want to generate. For
example, business decision makers in the Sales group might want OLAP reports on
sales of certain products, in a certain region, for a certain period of time. In order to
create OLAP reports that satisfy these criteria, you must sit down with business decision
makers in your organization and determine the kind of OLAP reports they want to
generate. Ideally, you would have key decision makers sitting with you when you create
their cubes in Microsoft Dynamics AX.
Important Before creating an OLAP cube, read OLAP Security to understand
security risks (and how to reduce those risks) in OLAP reporting.
OLAP security
Business decision makers typically view online analytical processing (OLAP) data in a
PivotTable report. A PivotTable, as the name implies, can be rearranged or "pivoted"
quickly for a different data summary. By default, user groups do not have access to
PivotTable reports. They must be granted access. This topic describes how to control
access to OLAP reports.
Microsoft Dynamics AX Implementation Guide 510
Security notes
Applications such as Microsoft Excel can link directly to OLAP cubes in Analysis
Services. Even if you have restricted access to cube data in Microsoft Dynamics AX,
end users might still be able to access cube data in Microsoft SQL Server Analysis
Services if you have not properly configured security roles in Analysis Services. For
more information about securing access to OLAP cubes in Analysis Services, see
Creating Security Roles in the Microsoft SQL Server Analysis Services books online.
Cubes from different companies in Microsoft Dynamics AX can overwrite each other
unless those cubes are stored in separate Analysis Services databases. For this
reason, create a unique Analysis Services database for each company that will
generate OLAP reports. To learn how to create separate databases in Analysis
Services, see Creating Databases in the SQL Server Analysis Services books online.
Only members of the Administrators group in Microsoft Dynamics AX should be
granted access to the OLAP parameters form (Basic > Setup > Business
analysis > OLAP parameters) and the Business analysis forms
(Administration > Setup > Business analysis). If a non-administrator is granted
access to these forms, the user could view OLAP data not intended for that
individual.
If you restricted access to certain fields or tables in Microsoft Dynamics AX using
Record level security, be aware that those restrictions are not propagated to OLAP
cubes. To enforce data-level restrictions in OLAP cubes, use Analysis Services
mining models and custom roles. For more information, see Creating Security Roles
in the Microsoft SQL Server Analysis Services books online.
To learn more about OLAP cubes and PivotTable reports, see Introduction to OLAP
Reporting.
Administration > Setup > Business analysis > OLAP > Cube Definition
Manager > Cube instances
Basic > Setup > Business analysis > Cube instances
Accounts receivable > Customers > Inquiry
Accounts payable > Vendors > Inquiry
Basic > Inquiries > Analysis views
Basic > Inquiries > Analysis views > View setup
General ledger > Chart of accounts > Inquiry
Human Resources > Employee
Project > Projects > Inquiry
Project > Setup > Category > Categories
Inventory management > Items > Inquiries
Inventory management > Setup > Inventory breakdown > Locations >
Inquiries
Questionnaire > Inquiries > Statistics > Result
To control access to OLAP data, determine which groups need access to which
forms/menus. Next, determine the most restrictive permissions possible for the user
group. You can set permissions on the User group permissions form
(Administration > Setup > Security > User group permissions). If you are unsure
whether a group should have access to a form, deny access until you receive explicit
instructions stating otherwise from a manager or supervisor. When you receive a
request for access to one of the preceding forms/menus, use the following procedure to
grant access to the form/menu and thereby grant access to OLAP data.
Important Restrict user group and application access to OLAP data and the
Analysis Services server. If you do not restrict access, a malicious user could
perform repeated OLAP operations that could quickly consume all memory and CPU
resources on the server and the database and thereby render these computers
temporarily inaccessible.
5. If you select a child node, for example Analysis views, click Cascade to set the
permission on all corresponding child tables and fields.
6. Press CTRL + S to save changes.
sure that you have completed the OLAP setup processes described in Set up OLAP
reporting before beginning the procedures in this topic. For an introduction to OLAP
cubes and OLAP concepts, see Introduction to OLAP reporting.
This topic includes the following procedures that show how to:
Import Microsoft Dynamics AX standard cube definitions.
Create a new cube definition.
Create and process a cube instance.
Important The process of creating and editing cube definitions, as described in
this topic, must be completed with the help of business decision makers in your
organization or company. Business decision makers will tell you what kind of data
that they want to process in an OLAP cube, which will determine how you create the
cube. You might also need the help of a developer or partner to create new queries
in Application Object Tree (AOT). Queries determine which data sources the cube
should process. For more information about how to create queries in AOT, see the
Microsoft Dynamics AX software development kit.
Cube definitions
Microsoft Dynamics AX includes standard cube definitions, or cubes that have
already been constructed. You can import and view standard cube definitions in the
Microsoft Dynamics AX Cube Definition Manager. Standard cube definitions, when
they are processed, return data about your customer revenue, inventory transactions,
ledger transactions, and sales margins (to name some). Some of the standard cube
definitions might work for your organization without changes; that is, you can import
the definitions, process them, and analyze the data to obtain meaningful results that
will be of value to the business decision makers. However, other standard cube
definitions require editing to make them suitable for your organization. If there are no
standard cube definitions that meet the needs of your organization, you can create your
own cube definitions, as described later in this topic.
If you have not created and processed a cube before now, you should see the
procedure in this topic called "To Create a Cube Instance". By creating and processing a
cube with a standard cube definition, you can learn about the process and quickly view
an OLAP report in a PivotTable. As soon as you are familiar with the process, you will be
ready to create your own cube definitions.
General tab
1. Click the General tab.
2. Select a key in the Configuration Key drop-down list (optional).
3. Select a key in the Security key namedrop-down list (optional, but strongly
recommended for securing access).
Measures tab
1. Click the Measures tab.
2. Enter a name in the Measure field.
3. Select a field from the Field name drop-down list.
4. Select a calculation function for the measure in the Aggregate function box.
5. Select a field in the Transaction date field box if the measure represents an
amount that will be given in a foreign currency.
6. To add measures, press CTRL+N.
Dimensions tab
1. Click the Dimensions tab.
2. Enter a name in the Dimension name field, for example, Customer or Product or
Time.
Microsoft Dynamics AX Implementation Guide 515
1. From a Microsoft Dynamics AX client, click Basic > Setup > Business analysis >
Cube instances.
2. On the Overview tab, click Create instances. Microsoft Dynamics AX creates
instances for all cubes listed in the Cube Definition Manager.
3. On the General tab, change the identification and parameters details as necessary.
Note Microsoft Dynamics AX generates a table that contains time information
based on the Year start and Year end times. Each day in the period exists as a
separate entry, which can make for a very large time table. For performance
reasons, enter the precise time period for which you want report data.
4. On the Overview tab, select the cubes that you want to transfer to the Analysis
Services server for processing, and then click Transfer Cube.
Note If the name of your OLAP database contains a symbol, you might be unable
to transfer the OLAP cube to the Analysis Services server. If the cube did not
transfer, verify that the name of the OLAP database does not contain a symbol.
5. In the Batch, enter the desired processing details and then click OK. The Infolog
shows the transfer progress.
Important Consider enabling automatic batch processing for OLAP cube
instances. If a cube instance is not processed regularly, business decision makers
might be looking at outdated data.
Microsoft Dynamics AX Implementation Guide 517
6. Select the cubes you want to process, and then click Process. The Process cubes
form appears. Verify the details and then click OK. The Infolog provides status
about cube processing. If the operation is complete successfully, close the dialog to
save changes. If the operation fails, review the details in the Infolog. If you need
help troubleshooting the operation, see Checklist for troubleshooting Axapta OLAP
reporting.
For more information about how to view cube data in a PivotTable report, see View
OLAP reports.
Topics Description
Set up a team server Provides information about how to set up
up the team server and issues object
IDs.
Set up the Visual SourceSafe server Provides information about how to set up
up the object server, such as a server
that runs Microsoft Visual SourceSafe.
Set up global version control parameters Provides information about how to set up
(Administrator) the global parameters for the VCMS and
enabling version control globally.
Set up local version control parameters Provides information about how to set up
(Developer) version control parameters on developer
computers and enabling version control
for developers who are working on the
development project.
Deploy AOT objects on the VSS server Provides information about how to
adding application objects to the server
that runs VSS and assigning IDs to
objects.
Deploy label file on the VSS server Provides information about how to add
label files to the server that runs VSS.
Microsoft Dynamics AX Implementation Guide 520
Topics Description
and assigning IDs to labels.
Add rules for objects Provides information about how to add
rules for object names and object types.
Managing object IDs Provides information about how to
manage the computer that runs the team
server such as releasing unused IDs.
Prerequisites
The Team Server Setup Wizard deploys the team server components and creates the
database and schema. The wizard also adds the stored procedures that serve as an
interface to the computer running Team Server.
Before you continue, verify that the following prerequisites are met.
5. Select your language, read the License agreement terms carefully, select I accept
the terms in the License agreement, and then click Next.
6. Select Oracle Database Server, type the TNS Service name, and then click
Next.
7. Type the Schema name and Password, and then click Next.
8. Type the Oracle Role name, and then click Next.
Note The wizard automatically adds the new Oracle role to the schema. To grant
developers access to the team server schema, you must add each developer's
computer to the new Oracle role.
9. Click Install.
10. On the Setup Wizard Completed page, click Finish.
Note When you create the repository and the label file in the version control
database, IDs are assigned to all objects and labels. For more information, see
Deploy AOT objects on the VSS server and Deploy label file on the VSS server.
Prerequisites
Microsoft Visual SourceSafe 2005 on the computer that will be the server for VSS.
A VSS database on the server.
A new project in the VSS database.
Note Follow the installation and setup instructions in the VSS 2005
documentation.
5. In Group or User names, click Everyone or click Add to add a specific developer
to the list.
6. In Permissions for Everyone, select the appropriate access level, such as Full
control.
7. Click OK twice.
Prerequisites
On your development computer, the following must be installed:
Microsoft Windows Server 2003.
Microsoft Dynamics AX application and client.
Microsoft Visual SourceSafe on a client computer (optional).
Create Repository
1. Click Tools > Development tools > Version control > Setup > Create
repository.
2. In Check-in description, type a description of the check in, such as "Creation of
repository."
3. Click OK.
Note This process might take some time, depending on the computer and network
speed.
Microsoft Dynamics AX Implementation Guide 527
Examples
If you do not allow for object names that start with AAA, type <AAA, where the less-
than sign means "starts with".
If you do not allow for form names such as 'Form1', 'Form45', or something similar,
type <Form:d+, where :d+ represents one or more numeric characters.
For more information about the special characters that you can use when you specify
unwanted object names, see the remarks section for the match Function.
Example
If developers import a large volume of objects or create objects for testing, many IDs
are allocated and fewer IDs are available in a range. For example, Developer A creates
a new table and reserves object ID 1000. At the same time, developer B creates a table
and reserves object ID number 1001. Developer A then deletes the table again,
because it was only used for testing. Developer B checks in his new table in the version
control system. Object ID number 1000 is now unused because it is not automatically
released/recovered on the Team Server when the developer deleted the object.
Therefore, details of how the execution of the stored procedures works is not provided
here. For more information about how to execute stored procedures on the server, see
the Microsoft SQL server or Oracle documentation.
However, the following example shows how to use the stored procedure FREELABELID,
in Microsoft SQL Server 2005, to release label ID number one in the label file "TST":
USE [DatabaseName]
GO
DECLARE @return_value int
EXEC @return_value = [dbo].[FREELABELID]
@LABELFILEID = N'TST',
@ID = 1
SELECT 'Return Value' = @return_value
GO
Stored Procedures
The database administrator can use the database management tools to execute the
following stored procedures.
Note GETOBJECTID, ALLOCOBJECTID, REGLABELFILE, GETLABELID, and
ALLOCLABELID can be accessed by users who have development permissions. The
rest of the stored procedures require administrative permissions.
Stored procedure name and parameters Description
ALLOCLABELID(LABELFILEID, ID) Allocate a specific LID from a specific
label file.
ALLOCOBJECTID(TYPEID, ID, Allocate a specific OID, of the specified
[PARENTID]) type, in the specified layer.
FREELABELID(LABELFILEID, ID) Recover the specified LID to an
unallocated state for reallocation.
FREEOBJECTID(TYPEID, ID, Recover the specified OID, of the
[PARENTID]) specified object type, to an unallocated
state for reallocation.
GETALLOCATEDLABELIDCNT(COUNT, Get the count of allocated LIDs in the
[LABELFILEID]) specified label file.
GETALLOCATEDOBJECTIDCNT(COUNT, Get the count of available OIDs of a
LAYERID, TYPEID, PARENTID) certain object type in the specified layer.
GETAVAILABLELABELIDCNT() Get the count of available LIDs in the
specified label file.
GETAVAILABLEOBJECTIDCNT() Retrieve the counts of available OIDs per
layer and object type.
GETLABELID(LABELFILEID, ID) Retrieve a label ID from the specified
Microsoft Dynamics AX Implementation Guide 530
Parameter: Layer ID
When you work with layers in Microsoft Dynamics AX, you usually refer to the layer
name, such as SYS. However, when you work with the stored procedures on the Team
Server, you have to use the Layer IDs. The following list of Layer IDs is available in the
LAYERS table in the Team Server database.
Layer ID Layer name Range min. value Range max. value
0 Sys 1 8000
1 Syp 1 8000
2 Gls 8000 16000
3 Glp 8000 16000
4 Dis 16000 18000
5 Dip 16000 18000
6 Los 18000 20000
7 Lop 18000 20000
8 Bus 20000 30000
9 Bup 20000 30000
10 Var 30000 40000
11 Vap 30000 40000
Microsoft Dynamics AX Implementation Guide 531
Return codes
The following return codes indicate the overall success or failure of the execution of the
stored procedures.
Return code number Return code description
0 Operation completed successfully.
-1 Invalid TYPEID.
-2 Invalid LAYERID.
-3 No IDs available for the specified
Microsoft Dynamics AX Implementation Guide 532
Additional parameters
By default, developers receive a warning when there are less than 1,000 OIDs and
20,000 LIDs available. The Team Server database administrator can change these
values in the SETTINGS table in the Team Server database.
All changes that are made by calling stored procedures are logged in the EVTLOG table.
You can specify the maximum number of days to keep them in the log by changing the
MAXLOG value in the SETTINGS table. The default value is 30 days.
Test an installation
After installation, and before proceeding to configuring Microsoft Dynamics AX, test
whether your installation is functioning.
To test whether an installation of a Microsoft Dynamics AX system has succeeded,
perform the following steps:
1. Start all Application Object Server (AOS) instances.
2. Launch a client that is connected to each running AOS instance.
3. Test the security of your system:
Can an unauthorized user get to application files?
Can an unauthorized user get to the database computer?
Can an unauthorized user get to your Enterprise Portal site?
Microsoft Dynamics AX Implementation Guide 533
Troubleshooting
To find recommendations for resolving a specific issue, start by searching the Help
system for the error message you have received.
This section contains the following topics:
Repair Microsoft Dynamics AX
Uninstall Microsoft Dynamics AX
Troubleshoot installation issuesTroubleshoot upgrade issues
Troubleshooting problems with clients
Troubleshoot access management
Tune database settings
Troubleshooting problems operating the Application Object Server
Troubleshoot Business Connector
Troubleshooting Enterprise Portal
Checklist for troubleshooting OLAP reporting
Troubleshoot problems operating the Appliction Integration Framework
Tracing
Remove components
The following procedure can be followed for any Microsoft Dynamics AX component.
1. Open Add or Remove Programs. (Start > All Programs > Control Panel > Add
or Remove Programs).
Microsoft Dynamics AX Implementation Guide 534
2. Select the component that you want to remove, and then click Remove. Possible
components to remove include:
Microsoft Dynamics 4.0 Client
Setting up the Microsoft Dynamics Client also installs the following components
that you may want to remove.
- Microsoft SQL Server Native Client
- Microsoft SQL Server 2005 Analysis Services 9.0 OLEDB Provider
- Microsoft SQL Server Management Objects Collection
- MSXML 6.0 Parser
Microsoft Dynamics 4.0 COM Business Connector
Microsoft Dynamics 4.0 .NET Business Connector
Microsoft Dynamics 4.0 Object Server (##-instancename), where ## is an
integer from 01 to 20
Microsoft Dynamics 4.0 Application Integration Server
3. A message box asks you to confirm that you want to uninstall the product. To
proceed with the uninstallation process, click Yes.
The Setup wizard removes the component from your computer. If Setup requires
access to the DVD, you are prompted to insert it.
4. Repeat for all components installed on the computer.
zone in .NET Framework Configuration in for a zone in Control Panel > .NET
Control Panel. Framework Configuration.
The parameter {0} contains the invalid An invalid value has been passed to a
value {1}. Specify 0 for False or No. parameter. Specify 0 for false or no.
Specify 1 for True or Yes. Specify 1 for true or yes.
The parameter {0} contains the invalid An invalid value has been passed to a
value {1}. The value must be one of the parameter. Review the syntax you are
following: {2}. using to pass the parameter values.
The parameter {0} contains the invalid An invalid value has been passed to a
value {1}. parameter. Review the syntax you are
using to pass the parameter values.
You must set a value for the parameter The parameter you set is dependent on
{0} if the parameter {1} is set to {2}. the value of another parameter. Review
the Setup parameters documentation.
The required Lists file {0} was not found. The AxSetupLists.txt file could not be
found. It is part of a standard Microsoft
Dynamics AX installation, and should be
available on the DVD. Copy the file to the
share you are installing from.
An error occurred while reading the The AxSetupLists.txt file could not be
AxSetup Lists file {0}. Error: read. It is part of a standard Microsoft
Dynamics AX installation, and should be
available on the DVD. Copy the file to the
share you are installing from.
An invalid record format was found in file The file contains an invalid record format.
{0}, line {1}. The line should contain Re-create the file and try again.
{2} values separated by tabs. Found:
{3}
An invalid record format was found in file The file contains an invalid record format.
{0}, record {1}, section '{2}'. Field {3} Re-create the file and try again.
cannot be: '{4}'
The LicenseTerms section is missing from The LicenseTerms required for this
file {0}. installation could not be found in the
AxSetupLists.txt file. It is part of a
standard Microsoft Dynamics AX
installation, and should be available on
the DVD. Copy the file to the share you
are installing from.
The license file {0} was not found. The License file could not be found. It is
part of a standard Microsoft Dynamics AX
Microsoft Dynamics AX Implementation Guide 537
Setup detected existing files in the The application files directory you are
installation folder for the application files. installing to contains files. If you continue
The folder must be empty for Setup to to install, they are deleted. Application
proceed. Deleting the existing application files contain all customizations.
files will remove all application
customizations. To save your
customizations, move the application
files to a different folder. Do you want to
delete the files currently in the folder?
The name of an application instance The application instance name contains
cannot include any of the following one of the following invalid characters \ /
characters: \ / . , : [ ] ( ) - . , : [ ] ( ) -. Review what you have
entered, and try again.
You must provide a value for {0}. You cannot proceed with Setup without
providing a value for this parameter.
A database named {0} already exists on You have attempted to create a database
the server {1}. Enter another name. that has the same name as an existing
database. Enter a new database name,
delete the existing database and begin
again, or in the Setup wizard select the
option to connect to an existing
database.
Setup cannot find the database {0} on Setup cannot locate the database you
the server {1}. Check that the name is entered. Validate the name, and try
correct. again.
The Application Object Server cannot be You cannot install the role you selected
installed on this operating system. Install on a computer running this operating
it on a server running Windows Server system. For details, see Hardware and
2003. software requirements.
Setup has detected that this computer is Service Pack 1 for Windows Server 2003
running Windows Server 2003 without provides security enhancements. We
Service Pack 1. We strongly recommend strongly recommend that you install it.
that you install Service Pack 1. Installing on Windows Server 2003
without Service Pack 1 is not a supported
configuration.
The Application Object Server (AOS) port The TCP/IP value you provided is not
number must be four digits long. valid.
An Application Object Server (AOS) The name you entered contains invalid
instance name cannot have more than characters. Review what you have
{0} characters and may not contain entered, and try again.
spaces or the characters / or \.
Microsoft Dynamics AX Implementation Guide 540
The client installation path is not valid. The root location of the path for the
The root location of the path ({0}) must client installation directory must exist
exist before you install the client. before you install.
The name of the Application Object The name of the Application Object
Server (AOS) instance to connect to {0} Server (AOS) instance to connect to {0}
cannot include blanks, spaces, or any of cannot include blanks, spaces, or any of
the following characters: ` ~ ! # $ ^ & * the following characters: ` ~ ! # $ ^ & *
() ()
To install a client, .NET or COM Business To install a client, .NET or COM Business
Connector, or any application that uses Connector, or any application that uses
Business Connector, you must provide Business Connector, you must provide
the name of an Application Object Server the name of an Application Object Server
instance (AOS) to connect to. instance (AOS) to connect to.
Setup cannot find the client configuration Setup cannot find the client configuration
file {0}. file specified in the setup parameters you
passed. Check to be sure that the file is
in the location specified.
SQL Server Reporting Services must be Microsoft SQL Server 2005 Reporting
installed before a Microsoft Dynamics AX Services was not detected on this
reporting server can be set up. computer.
Setup cannot find the SQL Server Setup cannot find the SQL Server
Reporting Services instance. Check that Reporting Services instance. Check that
the name is correct. the name is correct.
You must configure the Report Server You must configure the Report Server
virtual directory and Report Manager virtual directory and Report Manager
virtual directory for SQL Server Reporting virtual directory for SQL Server Reporting
Services instance {0} before you install a Services instance {0} before you install a
Microsoft Dynamics AX reporting server. Microsoft Dynamics AX reporting server.
Use the SQL Server Reporting Services Use the SQL Server Reporting Services
Configuration Tool. Configuration Tool. For more information,
see Install and configure a reporting
server for ad hoc reporting.
Setup could not connect to the database The database server may be unavailable.
server {0}. Check with the database administrator.
The database to be referenced by the The database that the reporting server is
reporting server {0}, does not exist on attempting to connect to cannot be
the server {1}. found. Check that you have entered the
Microsoft Dynamics AX Implementation Guide 542
path correctly.
The database server {0} does not The database that the reporting server is
contain any databases. attempting to connect to cannot be
found. Check that you have entered the
path correctly.
Setup could not add the account {0} to Setup could not add the account {0} to
the database server {1}as a login. The the database server {1} as a login. The
reporting server was installed on this reporting server was installed on this
computer without permission to access computer without permission to access
this database. It cannot run without a this database. It cannot run without a
connection to the database. You might connection to the database. You might
not have permission to modify security not have permission to modify security
on the database server. A database on the database server. A database
administrator can grant permission administrator can grant permission
manually, and then the reporting server manually, and then the reporting server
setup will be complete. For more setup is complete. For more information,
information, see the installation log file see the installation log file for the error
for the error message returned by the message returned by the database.
database.
An error occurred during registration of An error occurred during registration of
the data source in SQL Server Reporting the data source in SQL Server Reporting
Services. See the log for details. Services. See the log for details.
Setup could not find an installation of Setup could not find an installation of
Windows SharePoint Services to support Windows SharePoint Services to support
Enterprise Portal. Either it is not Enterprise Portal. Either it is not
installed, or the version is outside the installed, or the version is outside the
expected range of 6.0.2 to 7.0.0. If you expected range of 6.0.2 to 7.0.0. If you
continue, Enterprise Portal will not continue, Enterprise Portal will not
function until you have set up Windows function until you have set up Windows
SharePoint Services. SharePoint Services.
Enter the {0} domain account {1} in the The domain account you entered was not
format domain\account. recognized.
The {0} account {1} cannot be your own You cannot use your own domain account
account. Contact your system to connect to databases. Contact a
administrator to create a dedicated system administrator for a domain
account. account to use.
You cannot set the account for {0} to a If the Microsoft Dynamics AX database is
local computer account {1} when the not located on the same computer as the
Microsoft Dynamics AX database is not AOS, you cannot use a local computer
located on the same computer. Use a account to connect to it.
domain account instead.
The {0} account {1} was not found on The domain account you entered was not
the local computer, or the password is recognized by the local computer, or the
Microsoft Dynamics AX Implementation Guide 543
The {0} account {1} was not found, or The domain account you entered was not
the password is incorrect. recognized, or the password is incorrect.
The application integration server The root location of the path for the
installation path is not valid. The root application integration server directory
location of the path ({0}) must exist must exist before you install.
before you install the application
integration server.
Setup could not create the local Windows Setup could not create the local Windows
security group {0} on this computer. security group {0} on this computer.
This group must exist, contain the This group must exist, contain the
current user {1}, and have rights to current user {1}, and have rights to
update the folder {2} before the update the folder {2} before the
application integration server can run. application integration server can run.
See the log for related messages. Setup completes without setting up this
account.
The application integration framework During installation Setup found that the
(AIF) Windows security group {0} application integration framework (AIF)
already exists. No changes will be made Windows security group {0} already
to it. exists. No changes are made to it.
The application integration framework During installation Setup found that the
(AIF) Windows security group {0}, user application integration framework (AIF)
{1} already exists. No changes will be Windows security group {0}, user {1}
made. already exists. No changes are made.
Setup could not create the shared folder Setup could not create the shared folder
/security {0} which the application /security {0} which the application
integration framework (AIF) tools must integration framework (AIF) tools must
use when copying files from a client to use when copying files from a client to
the AIF VRoot folder. You can set this up the AIF VRoot folder. You can set this up
manually. The folder on the client is {1}, manually. The folder on the client is {1},
and the user or group being given access and the user or group being given access
is {2}. See the log for related messages. is {2}. See the log for related messages.
The shared folder already exists. No The shared folder already exists. No
changes will be made to it. changes are made to it.
Setup could not create the shared folder Setup could not create the shared folder.
{0} (code {1}).
The shared folder was not deleted The shared folder was not deleted
because it does not exist. because it does not exist.
Setup could not delete the shared folder Setup could not delete the shared folder.
{0} (code {1}).
Microsoft Dynamics AX Implementation Guide 544
Provide the name of a SQL Server. To Provide the name of a SQL Server. To
specify an instance, use the format specify an instance, use the format
MyServer\MyInstance. To specify the MyServer\MyInstance. To specify the SQL
SQL Server instance on this computer, Server instance on this computer, enter
enter (local). (local).
Setup could not connect to the database Setup could not connect to the database
server {0}. server specified.
If you install files in a location other than If you install files in a location other than
the default, work with your system the default, work with your system
administrator to ensure that access to administrator to ensure that access to
the folders is appropriately restricted. the folders is appropriately restricted.
A required file is missing from the source Setup could not find a required file. It is
location {0}. part of a standard Microsoft Dynamics AX
installation, and should be available on
the DVD. Copy the file to the share you
are installing from.
A required folder is missing from the Setup could not find a required file. It is
source location {0}. part of a standard Microsoft Dynamics AX
installation, and should be available on
the DVD. Copy the file to the share you
are installing from.
A required folder for region {0} is A required folder for the region is
missing. It should be under {1} and missing. See the file AxSetupLists.txt
have a name that starts with the letter for a list of regional files that should be
{2}. See the file AxSetupLists.txt for a included in the installer files.
list of regional files that should be
included in the installer files.
The default Application Object Server The default Application Object Server
(AOS) instance has previously been (AOS) instance has previously been
installed as name {0} installed with a different name.
An Application Object Server (AOS) AOS instances cannot be installed on the
instance {0} has previously been same computer with the same name.
installed as name {1}. Enter another
name.
AOS is starting
The AOS Windows service can take several minutes to start after installing for the first
time. To determine whether the AOS service has completed its startup, either open the
event viewer (Administrative tools > Event viewer) or the Services program
(Administrative tools > Services), and review the status of the Dynamics service.
database. You can have the administrator user add you as a user to the system, and
then add you to the Administrators group. For more information, see Create new users
and Manage user groups.
AOS is starting
The first time you start a client after the AOS has been installed, the AOS service may
be still be starting up. On the AOS computer, use the Services manager to determine
whether the service has started.
Users
How do I add users to Microsoft Dynamics AX?
See Create new users.
Why do I get Error: Invalid network account when trying to add a user to
Microsoft Dynamics AX?
Microsoft Dynamics AX searched Microsoft Active Directory directory services on
your local domain controller and could not find the user you are trying to add.
To add an additional layer of security to your computing environment, Microsoft
Dynamics AX requires that all users be listed in Active Directory on your domain
controller before they can be enabled on the Microsoft Dynamics AX User form. If a
user is not enabled on this form, they cannot access Microsoft Dynamics AX. For
more information, see Active Directory user topology.
How do I set user passwords?
You do not need to set user passwords in Microsoft Dynamics AX. When a user
opens the client, Microsoft Dynamics AX validates the user name against the user
name and password in Active Directory. If the alias and password are found in
Active Directory, the user is authenticated and the client opens. If authentication
fails, the client does not open.
User groups
How do I add a group to Microsoft Dynamics AX?
See Manage user groups.
Can users be members of more than one group?
Yes, but remember that the user inherits the highest permissions level between the
two groups.
c. The designated group must be granted access to menu items and tables in the
User group permissions form (see Manage permissions).
Users are not able to access Microsoft Dynamics AX through Enterprise Portal. How
can I remedy this?
Granting users access to Microsoft Dynamics AX through Enterprise Portal requires
several additional steps beyond setting up users and groups. For more information
about setting up users for Enterprise Portal, see Managing Enterprise Portal users.
Why do I get the following error: User <username> is not authorized to insert
a record in table SqlDictionary. Request Denied?
The user does not have the appropriate permissions. If you grant a user group
developer permissions, the group must have developer permissions across all
domains. If the group does not have developer permissions across all domains,
members of the group cannot synchronize the Application Object Tree (AOT). To
remedy this problem, give the user developer permissions in all domains on the
Users > User permissions form.
Why do I get the following error: User does not exist?
The user has not been added to the list of users on the Users. If the user does exist
in the list, verify that the Enabled checkbox is selected for that user.
Developers cannot synchronize the AOT. Why?
If you grant developer permissions to a user group, the group must have developer
permissions across all domains. If the group does not have developer permissions
across all domains, members of the group cannot synchronize the Application Object
Tree (AOT). See Manage permissions to learn how to grant developer group
permissions across all domains.
Tune connections
The following table lists common connection issues, and some adjustments to try in the
Server Configuration Utility.
Tune queries
If queries in the system are running slowly, you may want to change settings for
literals, string functions, or hints. Microsoft Dynamics AX no longer uses literals by
default in form and report queries, or in complex-join queries.
A developer can override the default use of literals by specifying parameters in their
code, or an administrator can override the use of literals in the Server Configuration
Utility.
AOS is starting
The first time you start a client after the AOS has been installed, the AOS service may
still be starting up. On the AOS computer, use the Services manager to determine
whether the service has started.
Common issues
Symptom Issue and Resolution
You receive an error message that You might not have ASP.NET 2.0
contains a phrase such as "assembly not installed or registered:
found," "could not be created," or "threw
1. At the command prompt on the
an exception."
server that runs IIS, run the following
command:
%SYSTEMROOT%\Microsoft.NET\Fra
mework\v2.0.50727\aspnet_regiis.ex
e -i
2. Verify that ASP.NET v2.0.50727 is
listed in IIS Manager on the
ASP.NET tab:
a. Click Start, click Run, type
inetmgr, and then press ENTER.
b. Right-click the Default Web site,
and then click Properties.
c. On the ASP.NET tab, in the
ASP.Net version list, ensure that
v2.0.50727 is selected, and then
click OK.
3. Redeploy Enterprise Portal, and
then re-create your Web site.
You receive an error message that Permissions might not be set correctly
contains a phrase such as "access for the Business Connector proxy user or
denied" or "do not have permission." a user group.
For more information, see Set up the
Business Connector proxy user for
Enterprise Portal and Managing
Enterprise Portal users.
Users can access EP Web pages, but they You might not have user groups, user
do not see content. access, or user relations configured
correctly.
For information about enabling users to
view content on Enterprise Portal, see
Granting users access to Enterprise
Portal.
Microsoft Dynamics AX Implementation Guide 560
Error message:
"http://server/sites/site_name was not
created correctly. Exception: Thread was
being aborted."
This error occurs because of a connection time-out after you select the Microsoft
Dynamics AX template while creating a new top-level Web site in Windows SharePoint
Administration. To resolve this problem, follow these procedures:
Change the Connection timeout and Http Keep-Alive properties on the server that
runs IIS.
Change connection time-out properties in the web.config file.
Change the Connection timeout and HTTP Keep-Alive properties on the server
that runs IIS
1. Open the Internet Information Services Manager (Start > Run, type inetmgr,
and then press ENTER).
2. Expand the local computer, expand the Web sites directory, right-click the Web site
that hosts your Enterprise Portal site (typically the Default Web site), and then click
Properties.
3. On the Web Site tab, specify a new value in the Connection timeout field. The
default value is 120 seconds.
Microsoft Dynamics AX Implementation Guide 562
If for example, the server requires up to 4 minutes to create a new site using EP
templates, specify a value of 240 seconds.
4. Select Enable HTTP Keep-Alives (if it is not selected), and then click OK.
5. Restart IIS (at a command prompt, enter iisreset, and then press ENTER).
Change connection time-out properties in the web.config file
1. In a basic text editor such as Notepad, open the web.config file
(%SYSTEMDRIVE%\Inetpub\wwwroot by default).
2. Press CTRL + F to open the Find dialog box.
3. Find the following tag:
<httpRuntime maxRequestLength="51200" />
4. Replace it with this tag:
<httpRuntime executionTimeout="6000" maxRequestLength="51200" />
5. Find the following tag (you might need to search from the beginning of the file):
</sectionGroup>
6. Add the following tags on new lines after the </sectionGroup> tag:
<sectionGroup name="DynamicsAX">
<section name="Deployment"
type="System.Configuration.SingleTagSectionHandler, System,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</sectionGroup>
7. Find the following tag:
</SharePoint>
8. Add the following tags on new lines after the </SharePoint> tag:
<DynamicsAX>
<Deployment SiteCreationTimeOut="1200" />
</DynamicsAX>
9. Save your changes and close the web.config file.
10. At the command prompt, type IISReset, and then press ENTER.
11. Try to create the top-level Web site in SharePoint Portal Administration.
Microsoft Dynamics AX Implementation Guide 563
Verify that you have installed the required software for the OLAP client and the
system it is connecting to.
The following components are required for clients that are connecting to systems
running SQL Server 2000 Analysis Services.
Note The components must be installed in the order specified.
The following components are required for clients that are connecting to systems
running SQL Server 2005 Analysis Services.
Note The components must be installed in the order specified.
If it seems that outbound messages are sent (that is, they no longer appear in the
list on the Overview tab in the Queue manager form, and no entries are created
in the Exception Log for an error condition) but the messages are not received by
the target queue, ensure that the target queue's access control list (ACL) is set
properly: on the Security tab of the Properties window for the queue, Allow should
be selected for Send Message, Get Permissions and Get Properties for the
Anonymous Logon user. Also check that the target queue's Authenticated property
is unchecked on the General tab in the Message Queuing folder (click Start >
Settings > Control Panel > Administrative Tools > Computer Management).
For inbound messages, if there is a message in the Exception Log that says "The
user is not authorized to perform this action", check the Queue manager form
(click Basic > Periodic > Application Integration Framework > Queue
manager) for any inbound messages in an Error state. If the Submitting user
field on the Details tab is blank, ensure that either the inbound queue's
Authenticated property is checked or that all incoming messages are signed and
authenticated.
Tracing
Tracing Microsoft Dynamics AX server performance can be useful in the following
scenarios:
Developing a performance baseline, for a system that provides information that you
can use for managing changes to the system and planning capacity.
Performing regular traces to help monitor performance.
Determining which factors might be affecting performance.
The table below describes the topics in this section.
Topic Description
Set tracing options Describes how and when to turn on
tracing.
Reading trace files Describes how to read trace files.
Silent installation
You can install any part of Microsoft Dynamics AX silently (without using the Setup
wizard user interface) by passing parameters to the Setup program (Setup.exe).
This section contains the following topics:
Install clients silently
Setup parameters
Microsoft Dynamics AX Implementation Guide 571
3. Construct a silent installation command, changing any options you require by using
setup parameters. See below for an example.
4. Run the command on another representative computer to ensure that it is accurate.
Setup parameters
Microsoft Dynamics AX Setup is comprised of an executable file (Setup.exe) that calls
multiple Microsoft Windows installer files (.msi). Setup can be run in interactive mode,
in which it presents a user interface to gather values for required parameters, or in
silent mode, in which parameters have been passed from the command line, or from a
parameter file. In silent mode, the user is not asked any questions. The Setup.exe file
is found on the Microsoft Dynamics AX DVD.
We recommend that you determine which parameters to pass to a computer by setting
up Microsoft Dynamics AX on a single computer that is similar to the others you are
setting up, then reviewing the Setup log file from %SystemDrive%\Documents and
Settings\All Users\Application Data\Microsoft\Dynamics AX\Dynamics AX
Setup Logs\Date Time\ DynamicsSetupLog.txt. The log lists the parameters that
have been passed.
Example
The following example illustrates performing a single-computer installation using setup
parameters. Any values not provided are assumed by the system to be the defaults.
Setup.exe LogDir=”C:\Documents and Settings\All Users\Application
Data\Microsoft\Dynamics AX\Dynamics AX Setup Logs” RunMode=Custom HideUI=1
AcceptLicenseTerms=1 LicenseTermsVersion=en-US InstallDatabase=1
DbServerType=0 DbSqlServer=SQL1 DbSqlDatabaseName=Dynamics
InstallApplication=1 ApplicationInstallPath=”C:\Program Files\Microsoft
Dynamics\4.0\Application” InstallAos=1 AosInstallPath=”C:\Program
Files\Microsoft Dynamics\4.0\Server” AosInstanceName=AOS1 AosPort=2712
AosStart=1 InstallClientUI=1 ClientInstallPath=”C:\Program Files\Microsoft
Dynamics\4.0\Client” ClientAosServer=AOS1 ClientLanguage=en-US
InstallReportingServer=1 ReportingServerInstance=MSSQLSERVER
ReportingServerSqlDatabaseName=Dynamics
ReportingServerAccount=Domain1\RSUser ReportingServerAccountPassword=****
ReportingServerReplaceDataSource=0
General parameters
This table lists the parameters that control general Setup behaviors such as setting a
parameter file, showing or hiding the user interface, and identifying the location of all
related files. Parameters that are required are denoted with an asterisk.
NO Norwegian
PL Polish
PT Portuguese
RU Russian
SV Swedish
TH Thai
TR Turkish
ZH Chinese
LogDir See Specifies where the log files for Setup and the
description. Windows installers are written.
By default, the log files are written to a folder
that includes the current date and time to
prevent subsequent installations from
overriding previous logs.
The default path is:
Documents and Settings\All
Users\Application
Data\Microsoft\Dynamics AX\Dynamics
AX Setup Logs
Note If you override the default LogDir,
Microsoft Dynamics AX writes logs to the
specified directory. However, each file
written overwrites the previous file.
The path can be fully qualified or relative to the
location of the AXSetup file. Relative paths
can include upward qualifiers such as "..\..\".
RunMode Custom Identifies the mode in which Setup should be
launched.
Custom - User can choose features.
JustClient - Installs the client without the
.NET or COM Business Connector, without
allowing feature choice.
Client parameters
This table lists the parameters that control how Setup installs the client and client
options.
Database parameters
This table lists the parameters that control how Setup interacts with the Microsoft
Dynamics AX database.
Trial installations
You can set up a single-computer installation of Microsoft Dynamics AX for
demonstration purposes. The computer must be running Microsoft Windows Server
2003. For more information, see Install Microsoft Dynamics AX on a single computer.
Customizing an application
Almost all Microsoft Dynamics AX systems involve customized applications. Customizing
an application is described in detail in the documentation for Microsoft Dynamics AX
developers. To see the full developer documentation set, click Help, and then click
Developer Help.
While each customization effort is unique, some recommended practices include:
To keep customization costs and effort as low as possible, become very familiar with
the functionality available in standard Microsoft Dynamics AX modules.
To minimize problems during future updates such as when applying service packs or
moving to the next version of the product, become familiar with the design
recommendations in the developer documentation:
Modifying objects in the standard application
Modifying user interface text
Design principles
Performance optimizations
Axapta Design Patterns
APIs in the standard application
Frameworks introduction
Design guidelines for cost-efficient upgrades
Take advantage of the development tools that suit your project and the Microsoft
Dynamics AX Development Best Practices guidance described in the Help on
Developing Applications for Microsoft Dynamics AX.
The table below describes what you will find in this section.
Section Description
Considerations for development and test Describes the environment you may
environments need for a development or test
Microsoft Dynamics AX Implementation Guide 587
Section Description
environment.
Common AOS configuration settings in a Describes the server settings you may
development environment need to use in a development or test
environment.
Common client configuration settings in a Describes the client settings you may
development environment need to use in a development or test
environment.
Tracing performance Describes how to trace performance.
Import a class silently on startup Describes how to import and execute a
class on startup.
Allow debugging
You can set Microsoft Dynamics AX to allow debugging on an Application Object Server
(AOS), or on a client that is running the .NET Business Connector or COM Business
Connector. For more information about debugging code for an application that uses
Business Connector, see Debugging a Business Connector Application Running Under a
Non-Interactive Account.
Microsoft Dynamics AX Implementation Guide 593
Tune connections
The following table lists common connection issues, and some adjustments to try in the
Server Configuration Utility.
Tune queries
If queries in the system are running slowly, you may want to change settings for
literals, string functions, or hints. Microsoft Dynamics AX no longer uses literals by
default in form and report queries, or in complex-join queries.
FASTFORWARD cursors are used for all user queries unless a cursor has been marked
as FOR UPDATE.
FOR UPDATE, NOLOCK, and READPAST, hints are added to statements depending on
the type of the cursor that an X++ query has produced. No interface is available to
modify these hints.
General options
This table describes the general options you can use to work with configurations and
files.
Tracing options
This table describes the options you can use to trace calls between the AOS, the
database and clients.
Note The logdir directory where the trace files are stored cannot be changed. It is
the server installation directory\log.
Allow debugging
Set default Application Object Tree (AOT) layer to openb_Display Display message
at startup
Connect to a different Axapta Object Server instance
Copy a configuration
1. In the Configuration list, select the configuration you would like to create a copy
of.
2. Click Manage, and then click Create configuration:
3. In the Create configuration dialog box, in the Name box, type a name.
4. Click Copy settings from the active configuration, and then click OK.
Rename a configuration
1. In the Configuration list, select the configuration you would like to rename.
2. Click Manage, and then click Rename configuration.
3. In the Rename configuration dialog box, in the New name box, type a name,
and then click OK.
Microsoft Dynamics AX Implementation Guide 611
Load a configuration
You can either load a configuration that is stored in the local registry or import a
configuration file. Although you can use the Open command to view a saved
configuration, Microsoft Dynamics AX does not store the settings from the opened file to
the registry. To store saved configuration files to the registry, you must use the Import
command.
Delete a configuration
1. Verify that the currently selected configuration is the one you want to delete.
2. Click Manage, and then click Delete configuration.
Copy a configuration
1. In the Configuration list, select the configuration you would like to create a copy
of.
2. Click Manage, and then click Create configuration:
3. In the Create configuration dialog box, in the Name box, type a name.
4. Click Copy settings from the active configuration, and then click OK.
Rename a configuration
1. In the Configuration list, select the configuration you would like to rename.
2. Click Manage, and then click Rename configuration.
3. In the Rename configuration dialog box, in the New name box, type a name,
and then click OK.
Load a configuration
You can either load a configuration that is stored in the local registry or import a
configuration file. Although you can use the Open command to view a saved
configuration, Microsoft Dynamics does not store the settings from the opened file to
the registry. To store saved configuration files to the registry, you must use the Import
command.
Delete a configuration
1. Verify that the currently selected configuration is the one you want to delete.
2. Click Manage, and then click Delete configuration.
Microsoft Dynamics AX Implementation Guide 615
General options
This table describes the options you can use to work with configurations and files, as
well as general startup options such as company, log file, and startup commands and
messages.
Connection options
This table describes the options you can use to connect to an AOS instance.
Developer options
This table describes the options you can use to set up the development environment.
Microsoft Dynamics AX Implementation Guide 620
Tracing options
This table describes the options you can use to trace calls between a client, the AOS,
and the database.
Note The logdir directory where the trace files are stored cannot be changed. It is
the installation directory\log.
Microsoft Dynamics AX Implementation Guide 621
Allow debugging
You can set Microsoft Dynamics AX to allow debugging on an Application Object Server
(AOS), or on a client that is running the .NET Business Connector or COM Business
Connector. For more information about debugging code for an application that uses
Business Connector, see Debugging a Business Connector Application Running Under a
Non-Interactive Account.
Tracing performance
Tracing Microsoft Dynamics AX server performance can be useful in many scenarios to:
Microsoft Dynamics AX Implementation Guide 627
Topic Description
Set tracing options Describes how and when to turn on
tracing.
Reading trace files Describes how to read trace files.
Scenario Tool
Monitoring general performance Trace from the Server Configuration
Utility on a computer running an AOS
instance.
Standard troubleshooting Trace from the Server Configuration
Utility on a computer running an AOS
instance.
Debugging code Trace from the Configuration Utility on
the client
- or -
For line-by-line tracing only, use the
options in the Tools > Options dialog
box. This may option may degrade
system performance.
Create an application profile Trace from the Configuration Utility on
Microsoft Dynamics AX Implementation Guide 628
Scenario Tool
the client.
Deep troubleshooting Trace from the Server Configuration
Utility on the AOS.
1. On the Tracing tab, click Start trace. If the AOS Windows service is running, the
trace starts within 15 seconds. If the service is stopped, the trace starts the next
time the service is started.
4. To start tracing once you have set the options you want, close the Configuration
Utility, and restart your Microsoft Dynamics AX client.
Microsoft Dynamics AX Implementation Guide 630
A new file is created each time tracing is started, or when a new day starts.
Note If you are running frequent traces, be sure to remove or archive unneeded
trace files often.
Troubleshooting tracing
This section provides information on troubleshooting issues encountered while tracing.
Section Description
Modify AOS and client configurations for Provides a description of the server and
a production environment client configurations you are likely to use
in a production environment.
Migrating data Provides a description of how to move
data to a production environment.
Set Help file location Provides a description of how to set an
alternate Help file location.
Benchmark an installation Provides a description of how to
benchmark an installation.
Silent installation Provides a description of how to install
clients silently, and the setup parameters
you must use.
Go live Provides a description of the tasks for the
server to be placed into a work
environment or "go live."
Manage AOS load balancing Provides a description of how to set up
load balancing for AOS instances.
Manage Help files and updates Provides a description of how to manage
Help file locations, and downloadable
updates.
This section contains information on how to perform some of the more common
configuration tasks required for moving to a production environment. The topics in this
section include:
Connect an Application Object Server instance to a different application
Connect an Application Object Server instance to a different database
Tune database settings
Tune Application Object Server performance
Change the TCP/IP port an Application Object Server instance runs on
Enable printing from a computer running Application Object Server
Compress data
Change the log location
Set company to open on startup
Display message at startup
Connect to a different Axapta Object Server instance
Encrypt data
Edit code at a customer site
Tune connections
The following table lists common connection issues, and some adjustments to try in the
Server Configuration Utility.
Tune queries
If queries in the system are running slowly, you may want to change settings for
literals, string functions, or hints. Microsoft Dynamics AX no longer uses literals by
default in form and report queries, or in complex-join queries.
Literals allow the database server to optimize the query for a specific piece of
information. This provides an optimal query for that piece of information, but the
database server must perform the optimization for every query executed. Literals
may be used for long running queries such as complex joins.
A developer can override the default use of literals by specifying parameters in their
code, or an administrator can override the use of literals in the Server Configuration
Utility.
If the adjustment is successful, queries use query plans and return results more
quickly.
Add AOS instances to a cluster and configure one or more AOS instances to be a
load balancer.
If you set up a cluster with a load balancer, you must use client configurations to set
clients to connect to the AOS that has been set as the load balancer. You can then
add and remove instances from the cluster without needing to update client
configurations. Additional hardware may be required to set up a computer as a load
balancer.
For details about setting up and managing load balancing, see Manage AOS load
balancing.
If the size per client/server request or response is kept below the TCP window size, the
sender does not have to wait for an acknowledgment (ACK) when the window size is
exceeded. If exceeding the TCP window size cannot be avoided, making as few TCP
round trips as possible for each client/server request or response is important.
1. Open the Server Configuration utility (Start > Control Panel > Administrative
Tools > Microsoft Dynamics AX Server Configuration Utility).
2. Verify that the currently selected Application Object Server (AOS) instance and
configuration are the ones you want to modify.
3. In the Minimum packet size to compress (in KB) field, choose a packet size.
Choose the smallest useful packet size to compress. The larger the packet size
chosen, the smaller the gains in performance.
Encrypt data
By default, Microsoft Dynamics AX secures data sent across a network by using the
remote procedure call (RPC) function RPC_C_AUTHN_LEVEL_CONNECT, which validates
user credentials at the time a connection is established.
You can also encrypt data if your security needs require it. When you turn on
encryption, Microsoft Dynamics AX uses the RPC_C_AUTHN_LEVEL_PKT_PRIVACY call,
which provides the highest security level available through RPC.
For more information about RPC security, search for RPC security in MSDN:
http://msdn.microsoft.com/.
Note Enabling encryption may decrease performance between five and ten
percent.
1. Open the Microsoft Dynamics AX Configuration utility (Start > Control Panel >
Administrative Tools > Microsoft Dynamics AX Configuration Utility).
2. Verify that the currently selected instance and configuration are the ones you want
to modify.
3. On the Connection tab, click Encrypt client-to-server communications, and
then click OK.
Migrating data
When you move data from the current system to Microsoft Dynamics AX, you have a
number of features available to make the data migration process successful. For
additional information about export and import features, see the Planning data
migration section and the Managing Data section in the Microsoft Dynamics AX IT
Professional documentation.
Microsoft Dynamics AX Implementation Guide 644
The Migrating data section contains information about how to perform some of the more
common data migration procedures when moving data from the current system to
Microsoft Dynamics AX.
Work with customer, vendor and item data using the Excel wizard
Work with historical transaction data
A note about exporting tables and classes
Using the application object export-import facilities
Delete table and class members: a simple example
Import data from older versions
Handle open transactions
Import data on startup
5. Save the configuration file, and copy it to a shared directory that all client
computers can connect to.
We recommend that you use a shared directory on the computer running the
instance of Application Object Server (AOS) that clients connect to.
Note If you did not deploy your clients to use a shared configuration file, you
can provide each user with a new desktop shortcut to Microsoft Dynamics AX
that passes the location of the configuration file. For example: Ax32.exe
\\MyShare\SharedConfigFile.axc.
6. Close any Microsoft Dynamics AX clients that are using the configuration file, and
then restart them. The Help system reads from the location you designated.
Note If the topics in the Help files do not display when you are pointing to a
location on a network, you may need to modify security settings that prevent Help
from loading over a network. For details, see this Knowledge Base article.
Benchmark an installation
By the end of calendar year 2006, Microsoft will provide a Benchmark Toolkit for
Microsoft Dynamics AX for download from CustomerSource and PartnerSource. The
toolkit:
Provides extensible features to develop benchmarks that closely mimic your custom
implementation.
Includes scripts that run on SYS layer code to simulate core business flows. These
scripts are designed for Microsoft Dynamics AX 4.0, but customers and partners can
modify them to run on Axapta 3.0.
Provides a powerful programming model built on the .NET framework that is closely
integrated with Microsoft Visual Studio 2005.
For more information, see the Microsoft Dynamics AX 4.0 white paper Benchmarking on
Hewlett-Packard Proliant Servers at Benchmark Results.
Silent installation
You can install any part of Microsoft Dynamics AX silently (without using the Setup
wizard user interface) by passing parameters to the Setup program (Setup.exe).
This section contains the following topics:
Install clients silently
Setup parameters
Microsoft Dynamics AX Implementation Guide 651
6. Save the file, and copy it to a shared directory that all client computers can connect
to.
We recommend that you use a shared directory on the computer running the
instance of Application Object Server that clients connect to.
Section Description
Processing batch jobs Describes how to set up and process
batch jobs.
Backing up application files Describes how and when to back up
application files.
Backing up and restoring data Describes how and when to back up
application files.
Microsoft Dynamics AX Implementation Guide 655
Section Description
Download current Help files Describes how to keep your Help system
current.
Monitoring and tuning Describes how to monitor and tune your
Microsoft Dynamics AX system.
Topic Description
Create a batch group Provides information for creating batch
groups to process multiple batch journals
and reports simultaneously.
Create a batch journal type Provides information for creating batch
journal types to process multiple related
jobs as batch jobs.
Create a batch journal Provides information for creating batch
journals and specifying how to run the
jobs, on the journal types, which are
attached to the journal.
Add batch job to a batch journal Provides information for adding batch
jobs to batch journals.
Add batch journal to a batch group Provides information for adding batch
journals to batch groups.
Set criteria for a batch job Provides information for setting up the
batch job criteria.
Delete a batch job Provides information for deleting batch
jobs from the batch queue.
Microsoft Dynamics AX Implementation Guide 656
Topic Description
Change batch job status Provides information for changing the
status of batch jobs.
Display batch job status Provides information for displaying the
status of batch jobs.
Create a private batch job Provides information for creating private
batch jobs.
Clean up the batch list Provides information for cleaning up the
batch list.
Running batch jobs Provides information for running batch
jobs.
2. Download and install the updated Help files in the location you have set for your
system.
3. On each client, on the Help menu, click Check for Updates.
Note Using Microsoft Dynamics AX also provides access to an updated version of
the Microsoft Dynamics AX Help system that you can browse.
3. Click Manage > Save Configuration as file, and name and save the configuration
file.
4. Close the configuration utility.
5. Edit the configuration file in a text editor. Add the following command to the file:
helpDir = <help file location>
6. Save the file, and copy it to a shared directory that all client computers can connect
to.
We recommend that you use a shared directory on the computer running the
instance of Application Object Server that clients connect to.
Topic Description
Statistics (Oracle and SQL Server) Discusses the statistics available for
database operation.
Tracing Describes tracing tools and options.
Tune database settings Describes options for database tuning.
Troubleshooting problems with clients Describes common problems and
solutions with clients.
Tune Application Object Server Describes the options for tuning the
performance Application Object Server (AOS) service.
Counter Description
Active Sessions The number of currently active server
sessions.
Number of Bytes Received by Server The number of bytes received by the
Application Object Server (AOS) instance
since it started.
Number of Bytes Sent by Server The number of bytes sent by the AOS
instance since it started.
Number of Client Requests The number of client-to-server requests
since the AOS instance started.
Number of Client Requests per Second The number of client-to-server requests
processed per second by the AOS
instance.
Number of Server Requests The number of server-to-client requests
processed since the AOS instance
started.
SQL connections-cached The number of currently cached
(inactive) SQL connections.
SQL connections-active The number of user and session
connections to the database.
Total Sessions The total number of active sessions since
the AOS instance started.
The following table describes the counters for the Microsoft Dynamics: Enterprise Portal
performance object. All Enterprise Portal counters are .NET Business Connector
counters. If you call the .NET Business Connector through another application, the same
counters can be used.
Counter Description
Number of Sessions The number of currently active .NET
Business Connector sessions.
Webpart Execution Time The time in seconds that a Web Part
takes to execute and render.
Webpart Execution Time Base A base counter that is used in the
calculation of Web Part Execution Time.
Unsuccessfull Logons The number of unsuccessful .NET
Business Connector logons.
Fatal Sessions Exceptions The number of fatal .NET Business
Connector session exceptions.
Nonfatal Session Exceptions The number of nonfatal .NET Business
Connector session exceptions.
Microsoft Dynamics AX Implementation Guide 661
Counter Description
Xpp Session Exceptions The number of X++ .NET session
exceptions.
Sessions Allocated The total number of .NET Business
Connector sessions allocated since
startup.
Sessions Disposed The total number of .NET Business
Connector sessions disposed of since
AOS startup.
Session Allocation Rate The number of .NET Business Connector
sessions allocated per second.
You may also want to monitor counters for the AOS process (Ax32Serv), such as CPU
usage, memory usage, handle counts, and thread counts.
Add counters
1. In the Performance window, click Add or press CTRL+I.
2. In the Add Counters dialog box, select Select Counters from Computer, and
then in the Performance Object box, select the object to add counters for.
3. Select all counters for an object, or select individual counters.
4. Click Add, and then click Close.
Set up an alert
1. On the navigation tree of the Performance window, expand Performance Logs
and Alerts.
2. Right-click Alerts, and then click New Alert Settings.
3. In the New Alert Settings dialog box, type a name for the new alert, and then
click OK.
4. On the General tab of the dialog box for the new alert, add a comment, and then
click Add to add a counter to the alert.
All alerts must have at least one counter.
Microsoft Dynamics AX Implementation Guide 662
In the Add Counters dialog box, select a Microsoft Dynamics AX object from the
Performance Object list, and then select a counter from the Select counters from
list.
1. To add the counter to the alert, click Add. You can continue to add counters, or you
can click Close to return to the dialog box for the new alert.
2. In the new alert dialog box, select either Over or Under in the Alert when the
value is list, and then enter a threshold value in Limit.
The alert is generated when the value for the counter is more than or less than the
threshold value (depending on whether you selected Over or Under).
3. In the Sample data every boxes, set the sampling frequency.
4. On the Action tab, set actions to occur every time the alert is triggered.
5. On the Schedule tab, set the start and stop schedule for the alert scan.
Microsoft Dynamics AX Implementation Guide 663