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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.05.2007, 04:40   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
dynamicsusers: How to get a good picture on someone else's developments
Источник: http://dynamicsuser.net/blogs/waldo/...velopment.aspx
==============

My customer had the feeling that his former partner had done some "not-standard" developments in his database, and he wanted to get a clear picture about this. Therefore, he contacted our company to do a 1 day investigation of the custom developments in his database, to get a picture on what is wrong, and what should be done.

Here is a little description on how I do this, which might be useful to y'all.

Some considerations:
  • Everyone can change the modified flag. This means that when you filter "modified=yes", you're never sure you got all modified objects.
  • Not everyone documents their code. This means you can't rely on documentation either.

This in consideration, I just compare every object to the base version. And guess what ... there is a rather quick way to do that.

First of all you have to determine the base version.
First of all, click Help / About. It could be that the client had an runtime upgrade, so be careful. You should interprete the version that is NOT between brackets (between brackets is the client version). The part that is NOT between brackets should be the database version. Actually, it executes the code of CU1, trigger "ApplicationVersion". Sidenote: this trigger should always be changed when doing a full upgrade! Also, this trigger should ONLY be changed when doing a full upgrade.
You see that only checking the "about" isn't enough.
What I also do is checking the version list of some base objects, like:
  • Codeunit 80, 90, 12
  • Table 17, 18, 32
The version is usually something like: NAVW14.00. This is a 4.0 (no SP). E.g. NAVW14.00.02 would be a 4.00SP2.
If you got all this info, I think you get a pretty good idea of what version the base version is.

Second, you export EVERY object to text from both the customized version and the base version. After that, you split the files with one of the many split file tools that you can download on the forums. Here is a link: http://www.mibuso.com/dlinfo.asp?FileID=831 .

I use the Arasis Merge to compare my files.
Why? Because it is not only possible to do a three way compare and merge (not interesting for this topic, but very interesting for merge-jobs), but it has also a reporting functionality, where you can create an HTML report based on the changed that it finds between the files of two folders.

When you run the report for your two folders, you get a summery like this:



Doesn't look exciting yet, except for point 2, I think.

BUT, furthermore, there is an HTML summery report where you can drill down till code level what the changes are. So you get a list like this:



The blue lines are the objects that are changed. If you click on such a line, you get a report which summerizes the changes in that file only:



And also a detail like:





It is very easy to drill down from overall level to code level.

This way, it's quite easy to get a picture of:
  • All customizations in all objects
  • The way it was coded
  • The way it was documented
  • The kind of functionalities that were created
  • The way that "standard NAV methodology" was used (TEST NEAR, TEST FAR, DO IT, CLEAN UP)
  • ...

Kind regards,

Eric Wauters


Источник: http://dynamicsuser.net/blogs/waldo/...velopment.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 04.05.2007, 09:15   #2  
belugin is offline
belugin
Участник
Аватар для belugin
Сотрудники Microsoft Dynamics
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии 2011
Лучший по профессии 2009
 
4,622 / 2922 (107) +++++++++
Регистрация: 16.01.2004
Записей в блоге: 5
Почему сообщение про NAV попало в
AXForum > Microsoft Dynamics AX (Axapta) > DAX Blogs
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
msdynamicsax: How to get the current call stack in X++ Blog bot DAX Blogs 0 16.01.2009 18:05
Ruslan Goncharov: How to get the screenshots of all open windows in AX Blog bot DAX Blogs 0 12.01.2008 12:31
Ruslan Goncharov: How to get list of all open windows and their names in AX Blog bot DAX Blogs 0 29.12.2007 19:50
dynamicsusers: How Credit Card Processing Works Blog bot DAX Blogs 0 11.07.2007 04:39
dynamicsusers: Convergence Speak Your Mind Videos Put to Good Use Blog bot DAX Blogs 0 03.06.2007 13:41
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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