Поделиться через


ReleaseUpdateDB60_Retail.updateRetailStoreGroup 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

ReleaseUpdateDB60_Retail

Method

updateRetailStoreGroup

Description

Creates OMHierarchyType records to replace each record that existed in the DEL_RetailStoreGroup table.

Affected Modules and Tables

Affected Modules

Retail

Affected Tables

DEL_RETAILASSORTMENTSTORELIST

DEL_RETAILSTOREGROUP

DEL_RETAILSTOREGROUPTRANS

DIRORGANIZATIONBASE

DIRPARTYTABLE

DIRRELATIONSHIPTYPETABLE

OMEXPLODEDORGANIZATIONSECURITYGRAPH

OMHIERARCHYCHANGELOG

OMHIERARCHYPURPOSE

OMHIERARCHYRELATIONSHIP

OMHIERARCHYTYPE

OMHIERPURPOSEORGTYPEMAP

OMINTERNALORGANIZATION

OMOPERATINGUNIT

OMREVISIONEDIT

RETAILASSORTMENTCHANNELLINE

RETAILASSORTMENTTABLE

RETAILCHANNELTABLE

RETAILSTORETABLE

Remarks

This method create a hierarchy type to each existed replace Retail store groups. The newly created hierarchy has a business unit as the root node. And all retail stores are the direct children nodes of the root node.