Compartilhar via


ReleaseUpdateTransformDB50_FiscalCal.createFiscalCalendar_LedgerPeriod 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_FiscalCal

Method

createFiscalCalendar_LedgerPeriod

Description

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

Script Type

Preprocessing 60: Live

Microsoft Dynamics AX Source

Microsoft Dynamics AX 4.0

Microsoft Dynamics AX 2009

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 that are 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