Compartilhar via


ReleaseUpdateTransformDB50_Lean.legalEntityUpdate 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_Lean

Method

legalEntityUpdate

Description

Updates LegalEntity field in several tables that are based on the upgraded CompanyInfo record for the company where the PlanReference record was created.

Script Type

Preprocessing 60: Single user

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

Affected Modules and Tables

Affected Modules

Manufacture

Affected Tables

PlanReference

PlanActivity

KanbanFlow

KanbanRule

Kanban

Data Migration Section

From Table: Shadow_CompanyInfo

To Table: PlanReference

DirPartyTableRecId

LegalEntity

From Table: Shadow_CompanyInfo

To Table: PlanActivity

DirPartyTableRecId

LegalEntity

From Table: Shadow_CompanyInfo

To Table: KanbanFlow

DirPartyTableRecId

LegalEntity

From Table: Shadow_CompanyInfo

To Table: KanbanRule

DirPartyTableRecId

LegalEntity

From Table: Shadow_CompanyInfo

To Table: Kanban

DirPartyTableRecId

LegalEntity

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

PlanReference

PlanActivity

PlanPlanActivity

Plan

KanbanFlow

KanbanRule

Kanban