AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 16.11.2012, 18:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX2012 Upgrades - Setting a clean AX2012 database to start with the upgrade check-list and not the Initialization check-list.
Источник: http://blogs.msdn.com/b/axsupport/ar...heck-list.aspx
==============

As some of you who work on AX 2012 Upgrades may already know, you need to select the AOS along with the Database option in the AX setup to get the “Register this database for Upgrade” option.

However, if you already have an AOS service installed and want to setup a new database for an upgrade, sometimes you don’t want to install another AOS just to do get this option. If this is the case, you can run the following script as a workaround to modify the database after the install, so that the upgrade checklist is shown when you start the client:
SET ANSI_NULLS ON

GO

SET QUOTED_IDENTIFIER ON

GO

CREATE PROCEDURE [dbo].[SETUPVERSIONPROC] AS SELECT '6.0.947.0'

GO

DELETE FROM SysSetupLog

WHERE NAME = 'SysCheckList_Setup'

OR NAME LIKE 'SysCheckList_Up%'

 

The statement creates the required stored procedure for the SysCheckList classes to identify this is an upgrade database, and in case you have already started the initialization check-list,  it also removes any previous records from SysSetupLog.

As with any direct updates to the database, it is recommended that you make a backup so you can restore the database if required. Also, only use this on a newly installed database!

 

Regards, Tom




Источник: http://blogs.msdn.com/b/axsupport/ar...heck-list.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 13.02.2013, 23:47   #2  
Maxim Gorbunov is offline
Maxim Gorbunov
Administrator
Соотечественники
Лучший по профессии 2009
 
2,483 / 645 (26) +++++++
Регистрация: 27.11.2001
Адрес: Dubai, UAE
Если вы апгрейдитесь на AX 2012 R2, в дополнение к вышесказанному нужно ещё переключить режим работы с наследованием таблиц в Table-Per-Type (по умолчанию в R2 он Table-Per-Hierarchy; подробности здесь - http://technet.microsoft.com/EN-US/l.../hh781082.aspx). Для этого кроме SETUPVERSIONPROC нужно создать в базе ещё вот такую процедуру:

X++:
CREATE PROCEDURE [dbo].[TABLEPERTYPEINHERITANCEMODE] AS SELECT 1
GO
__________________
Not registered yet? Register here!
Have comments, questions, suggestions or anything else regarding our web site? Don't hesitate, send them to me
За это сообщение автора поблагодарили: mazzy (2), Logger (3), oip (2), gl00mie (2).
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: AX2012 List Pages - Performance Improvement Blog bot DAX Blogs 0 10.10.2012 11:11
emeadaxsupport: Cycle counting list report does not display warehouse and locations Blog bot DAX Blogs 0 19.09.2012 20:11
emeadaxsupport: Writing Data Upgrade Scripts Part 1: Understanding the components of the process Blog bot DAX Blogs 0 10.02.2012 05:16
emeadaxsupport: Fill Utility incorrectly updates a field that is not in the field list of the main datasource Blog bot DAX Blogs 0 27.01.2012 01:12
emeadaxsupport: Checking Database entries after restoring a Microsoft Dynamics 2009 SQL Database to another Domain or Environment Blog bot DAX Blogs 0 18.02.2010 23:05
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 13:45.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.