Upgrade company accounts and virtual company accounts

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Perform the Virtual company accounts task in the upgrade checklist to prepare the Microsoft Dynamics AX 2012 target system for upgrade. This task opens the Virtual company accounts form, where you can create virtual companies.

Note

This task appears in the upgrade checklist only if you upgrade to Microsoft Dynamics AX 2012 R3 or AX 2012 R2. However, we recommend that you perform this task no matter which version of Microsoft Dynamics AX 2012 you are upgrading to.

The information in this topic can help you understand how to upgrade companies and virtual companies to Microsoft Dynamics AX 2012.

The following table provides an overview of how domains, companies, and virtual companies are upgraded. If the upgrade method is “Manual,” you must evaluate and upgrade the data in a manner that is appropriate for your business.

Terminology in previous releases

Equivalent in Microsoft Dynamics AX 2012

Upgrade method

Details

Domain

Organizational hierarchy

Manual upgrade

In previous releases of Microsoft Dynamics AX, you could create a collection of companies that was known as a domain. You could use domains to set up user permissions for a group of company accounts. Domain functionality was removed from Microsoft Dynamics AX 2012. For information about how to upgrade a domain, see Upgrade domains.

Company

Legal entity

Automatic upgrade

A company account in previous releases is upgraded to a company account in Microsoft Dynamics AX 2012, and a corresponding legal entity is created.

For this release, every record for a legal entity is associated with a company ID. This association exists because some functional areas in the program use a company ID, or DataAreaId, in their data models. In these functional areas, companies are used as a boundary for data security. Users can access data only for the company that they are currently logged on to.

If you are upgrading to Microsoft Dynamics AX 2012 R3 or AX 2012 R2, company accounts must be associated with partitions. If you do not map companies to partitions, all companies will be mapped to the default partition. If existing company accounts must belong to separate partitions in AX 2012 R3 or AX 2012 R2, manual intervention is required.

Data is shared only among organizations that reside in the same partition. If you plan to share data through virtual companies, all company accounts that are associated with the virtual company account must reside in the same partition.

For more information about how to map company accounts to partitions during the upgrade process, see Configure partitions.

Virtual company

Shared data tables or virtual company

Manual upgrade

A virtual company account is a collection of tables that is shared among a group of companies. When users save information in one of the tables, the data becomes available to the other company accounts in the group.

In Microsoft Dynamics AX 2012, most master data entities, such as charts of accounts, parties, and products, are shared among organizations. Before you upgrade, we recommend that you determine whether the data that you want to share is already shared organization-wide in Microsoft Dynamics AX 2012. Review the tables that are in the table collection of each virtual company. If any tables have been converted to shared data tables, their presence in the table collection of a virtual company is redundant. Therefore, we recommend that you remove these tables from the table collection.

Some master data entities, such as customer accounts and vendor accounts, are still defined per company. To share data from master data entities that are not shared by default, you may want to continue to use virtual companies. When you upgrade, you must create the necessary table collections and virtual companies on the target system during the data upgrade. For more information about how to create virtual companies and table collections, see Virtual company accounts in Microsoft Dynamics AX.

Note

When you use virtual companies, you must share all attributes of a relationship. Therefore, you may want to use a shared data entity such as a party to share data for customers and vendors.

Note

If you want to help secure shared data based on organization, you may have to create a customization that includes changes to the data model and extensible data security policies. For more information about extensible data security policies, see the white paper Developing Extensible Data Security Policies.