ReleaseUpdateTransformDB40_Ledger.createFiscalCalendar_Ledger 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

ReleaseUpdateTransformDB40_Ledger

Method

createFiscalCalendar_Ledger

Description

Creates the data in the FiscalCalendar table from the LedgerPeriod table and also updates the FiscalCalendar field of the Ledger table.

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Affected Modules and Tables

Affected Modules

General ledger

Affected Tables

FiscalCalendar

Remarks

The new calendar is created with the name of financial, which contains all the years upgraded from the LedgerPeriod table.

Data Migration Section

From Table: LedgerPeriod

To Table: FiscalCalendar

New Tables or Fields

Table

Field

Extended Data Type

-or- Base Enum

FiscalCalendar

CalendarId

FiscalCalendarId

FiscalCalendar

Description

Description

Ledger

FiscalCalendar

RefRecId

Deleted Tables or Fields

Table

Field

LedgerPeriod