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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 17.08.2007, 01:23   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
daxmy: AOT Find function
Источник: http://daxmy.blogspot.com/2007/08/ao...-function.html
==============

"The Find function in the AOT will only retrieve the outer most layer objects. For example if an object has a GLS and VAR layer, Find retrieves the VAR layer. Add an option to the find to retrieve all objects in the specified layer regardless whether another layer is involved. Refer to incident 8945146 if need be."

MS Community Article

I do remember it was layer field in the SysAOTFind form. So I quickly run some testing on the AOT Find features, and discovered:
  1. Let say we edit CustTable table insert() method and add following line in VAR layer.
    //MyVarTestingCode
  2. Open another instance in USR layer, add new line again.
    //MyNewTestingCode
  3. Right click the AOT table node and use Find option. Fill up the information like:
    Containing Text: MyNewTestingCode
    Layer: VAR
  4. Press Search and return nothing, which is correct the code doesn’t exist in VAR layer.
  5. Now you try to modify existing VAR code in USR layer.
    //MyVarTestingCode -> //MyUsrTestingCode
  6. Use Find function again, and change the Containing Text to MyVarTestingCode.
  7. Press search and return nothing, which is incorrect the code did exist in VAR layer.
Conclusion: The AOT Find doesn’t work in specified layer if search string was overwritten by outer most layers.

Источник: http://daxmy.blogspot.com/2007/08/ao...-function.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
gatesasbait: Improved AOT Queries in Ax2009 Blog bot DAX Blogs 3 12.10.2011 15:03
Dynamics AX FAQ: How to find an AOT object by its property? Blog bot DAX Blogs 2 07.11.2008 12:54
To find objects in AOT with particular properties Blog bot DAX Blogs 1 26.04.2008 07:33
axStart: How to find line of code with a question mark in your AOT. Blog bot DAX Blogs 0 16.04.2008 22:05
Dynamics AX Geek: cross-references & find Blog bot DAX Blogs 0 28.10.2006 16:40

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

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

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