Share via


ReleaseUpdateTransformDB50_Admin.validateTablesInClollections Upgrade Script

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

Class

ReleaseUpdateTransformDB50_Admin

Method

validateTablesInClollections

Description

Verifies that the table and its associated shadow tables are in the same table collection.

Script Type

Upgrade readiness scripts

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Administration

Validation Issues

Validation Issues Description

If a table is part of a table collection then the associated shadow tables also need to be added to the table collection. Otherwise, when the kernel does inserts into the shadow tables, the wrong DataAreaId value is going to get appended to the inserted records, which would lead to such data drop issues during upgrade.

Checked Conditions

Verifies that the table does not belong to a table collection for each table in the ReleaseUpdateTransformTable table. If it does belong to a table collection and its associated shadow tables are not in the same table collection, then it displays a message as part of the validation results.

Mitigation/How-to-fix

Move the shadow tables to the same table collection.