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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 09.08.2013, 16:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: How to get more information from an error message
Источник: http://blogs.msdn.com/b/axsupport/ar...r-message.aspx
==============

At times, you can run into a situation where you are performing a certain operation in AX and you get an error - however, at times the error message might not be descriptive enough to actually guide you to understand what the problem you encountered was or how to fix it. For example somebody might contact you and tell you that they are doing a certain operation and it results in a particular error message like 'A critical error occurred when posting a transaction'. Since you may not have the environment at hand to reproduce the error yourself and debug it an effective approach to find out what exactly lies behind the error message is to search in the Label editor for the error.



1. Go to the AOT (Ctrl + D from the application)

2. In the AOT go to Tools/Label and select Label editor

3. In the label editor search for the text in the error message





Then when you have found the message press 'Used by' and see where the error is generated and press the 'Used By' button





In this case let's imagine the error occurred when posting an inventory journal, so we will have a look at \Classes\InventMov_Journal\journalPostTrans and we can see the following code where the error message label is written into the code and the logic there indicates the problem has to do with a missing or incorrect voucher assignment







Note: If you do not get any results back by pressing 'Used By' in the Label editor it is most likely due to that you have not updated crossreferences in the system. You can either do this or just search through the AOT for the labelID
























Источник: http://blogs.msdn.com/b/axsupport/ar...r-message.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
ax-erp: How to get a Common object from a table id? Blog bot DAX Blogs 0 26.04.2012 00:12
emeadaxsupport: Retail: How to access multiple POS from one machine Blog bot DAX Blogs 0 26.08.2011 21:13
emeadaxsupport: How to delete orphaned data remained from deleted company? Blog bot DAX Blogs 0 09.12.2010 16:11
emeadaxsupport: How can the Web Proxies get extended programmatically? Blog bot DAX Blogs 0 16.12.2009 18:05
emeadaxsupport: How to open an AX form from your own help Blog bot DAX Blogs 0 26.07.2009 15:07
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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