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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 13.05.2011, 19:38   #1  
ideveloper is offline
ideveloper
Участник
 
34 / 11 (1) +
Регистрация: 11.05.2011
Best Practice for AiF Queries 2
Hi.

I have a query composed of an AIF Service which contains following tables

CustTable->XXXTable->EmplTable->DirPartyECommRelShip->DirEComAddr

Now I need another service for another purposes which starts with the first 3 tables, but ends with the Adress table.

Should I create a separate Query or should I use the first Query and expand it with the Adress table?
(And turn on the required fields in the Endpoints (see Best Practice for AiF Queries Best Practice for AiF Queries))

Regards
ideveloper
Старый 16.05.2011, 07:20   #2  
Sergikrus is offline
Sergikrus
Участник
 
82 / 15 (1) ++
Регистрация: 26.09.2008
Адрес: Tyumen
You can create your own query, but based on his AIF Service.
Старый 16.05.2011, 11:43   #3  
ideveloper is offline
ideveloper
Участник
 
34 / 11 (1) +
Регистрация: 11.05.2011
Hi.
Thank you for your answer.

Could you tell me please, how to do it.
I have not seen any possibilities to inherit the existing Query???

Regards
ideveloper
Старый 16.05.2011, 15:58   #4  
Maximin is offline
Maximin
NavAx
NavAx Club
 
408 / 341 (12) ++++++
Регистрация: 09.10.2002
Адрес: Москва
No, there's no such possibility. Just copy-paste.
I have custom class to simplify keeping data policies on Endpoint in sync for such cases.
__________________
Жизнь прекрасна! Если, конечно, правильно подобрать антидепрессанты...

Последний раз редактировалось Maximin; 16.05.2011 в 16:00.
Старый 17.05.2011, 07:43   #5  
Sergikrus is offline
Sergikrus
Участник
 
82 / 15 (1) ++
Регистрация: 26.09.2008
Адрес: Tyumen
Цитата:
Сообщение от ideveloper Посмотреть сообщение
Hi.
Thank you for your answer.

Could you tell me please, how to do it.
I have not seen any possibilities to inherit the existing Query???

Regards
ideveloper
Then tell better than me:
Channel9: Microsoft Dynamics AX 2009 AIF Web Services Screencast

It creates any query in the AOT. Well, then the query is sent to the wizard to create services AIF

Последний раз редактировалось Sergikrus; 17.05.2011 в 07:50.
Старый 17.05.2011, 20:01   #6  
ideveloper is offline
ideveloper
Участник
 
34 / 11 (1) +
Регистрация: 11.05.2011
Thank you for your replies

Sergikrus: I am familar with this method. It is simple to use. But I was hoping, that there is a possibility to inherit the queries and throw away tables which are not needed. If I duplicate a Query and create a service with the AiF-Wizard I get new Classes according to the new Query which have the same functionality like the Classes from the "Parent"-Query.
It is not only the Query which is duplicated, there are Classes too.
Теги
aif, endpoint, query

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
sumitax: AX2009 – Best Practice Check for Classes Blog bot DAX Blogs 0 18.02.2011 17:11
AX UK: Building a Microsoft Virtualisation & Management Practice Blog bot DAX Blogs 0 17.02.2010 21:07
DeniZone: RunBase - classes and Best Practice Blog bot DAX Blogs 0 12.12.2008 13:05
Code Access Security - ошибка Best Practice Vhaldemar DAX: Программирование 9 05.11.2008 11:48
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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