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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.10.2009, 14:45   #1  
Blog bot is offline
Blog bot
Участник
 
25,477 / 846 (79) +++++++
Регистрация: 28.10.2006
When doing a technical upgrade (Upgrading all executable files but keeping the database and application objects untouched) in NAV2009, remember to also compile all objects for the new version of executables. Compiling all objects must be done when doing a technical update from NAV2009 RTM (No SP) to SP1.

 

The way objects get compiled for the Role Tailored Client (RTC) has changed between NAV2009 RTM and SP1, and may change again in future versions as part of general improvements. Until you compile all objects in a SP1 Classic Client, opening a NAV 2009 RTM demo database with NAV2009 SP1 RTC will give you a lot of errors saying:

"Error: Compilation of assembly c: etc'"

And RTC will look like this:

 



 

Of course, if you use a SP1 database or upgrade all objects to SP1, then this will not happen since the objects will already have been compiled for SP1. Compiling objects may also give a few errors even for objects that compiled fine in RTM.

 

In a standard demo database at least these two reports in their RTM version will not compile in SP1:

Report 13 - "VAT Register"
Report 34 - "Change Payment Tolerance"

In a localized and/or customized databases there may well be many more objects that won't compile.

 

For these specific two reports, either import the SP1 version of the objects. Or correct them manually like this:

For report 13, the layout has to be re-saved like this:
Design the report, go to View -> Layout, then save it (Ctrl+S). Exit Visual Studio Report Designer, go back to the classic report design, import the layout, then close and save the report.

 

Report 34 has this line that does not compile in SP1:

Function PageSetCurrency:

  IF NOT ISSERVICETIER THEN
    RequestOptionsPage."Max. Pmt. Tolerance Amount".DECIMALPLACESMAX(DecimalPlaces);

Remove the line that does not compile. Remember to add a semicolon on the line before so that the report will compile.

 

 

 

Lars Lohndorf-Larsen

Microsoft Customer Service and Support (CSS) EMEA



Источник: http://feedproxy.google.com/~r/Micro...n-nav2009.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 


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

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

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