Compartilhar via


ReleaseUpdateTransformDB50_FiscalCal.createLedgerFiscalCalendar 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

createLedgerFiscalCalendar

Description

Creates the data in the FiscalCalendar table from the LedgerPeriod table and 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 '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