Compartilhar via


ReleaseUpdateDB60_Ledger.updateLedgerCov 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_Ledger

Method

updateLedgerCov

Description

Removes the LedgerCov records that are associated to ledger budget data. Also transforms data from the AccountNum and Dimension fields to the MainAccount and DefaultDimension fields in the LedgerLiquidity table.

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

LedgerCov

Remarks

This method removes all records in the LedgerCov table that are associated to ledger budget data. These records have the TransTableId field set to the LedgerBudget table ID. Also, the transformation of fields is required in order to convert account or dimension data to the new accounts and dimension model for Microsoft Dynamics AX 2012. This method is to be run as a PostSync, Standard job.

Data Migration Section

From Table: LedgerCov

To Table: LedgerCov

AccountNum

MainAccount

Dimension

DefaultDimension

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

LedgerCov

MainAccount

RefRecId

LedgerCov

DefaultDimension

DimensionDefault