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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.01.2008, 00:23   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
Dianne Siebold: Limit Outbound Documents in 4.0 (AIF)
Источник: http://blogs.msdn.com/dsiebold/archi...n-4-0-aif.aspx
==============

In Dynamics AX 4.0, there are two AIF actions that support retrieving data from an external system: QueryEntityKeys and QueryDocument. If a request message contains the QueryEntityKeys action, AX returns one ore more entity keys that match the query criteria specified in the request. If a request messages contains the the QueryDocument action, AX returns one or more documents that match the query criteria specified in the request.

As it ships, AX will return 1,000 records (each record being contained in an XML document) by default when one of these actions is used. If you want to increase the number of records returned, this is done on the Value mapping form.

  • Go to Basic > Setup > Endpoints, select an endpoint and click Action policies.
  • Select the action for which you want to define return document limits, and click Configure to open the Value mapping form.
  • On the Setup tab, in the Limit number of documents field, select Yes to limit the documents returned by a query.
  • In the Limitation type field, select Specified.
  • In the Max number of documents field, enter the max number of documents to be returned.
If you want to specify that unlimited records can be returned, set the Limit number of documents field to No.

If you encounter issues in AIF while exchanging large documents (over 10 MB), you may need to make changes to either the request size in the Web.config (if you're using Web services) or the maxbuffersize registry key. For more information about doing this, there's an excellent KB article on PartnerSource. Note - you'll need a valid PartnerSource login to access it. Also, it's on a secure site, so you may need to log in to PartnerSource first before you can access the link.



Источник: http://blogs.msdn.com/dsiebold/archi...n-4-0-aif.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Dianne Siebold: Video About the AIF Services and WCF Blog bot DAX Blogs 0 11.10.2008 07:43
Dianne Siebold: AIF Queries & Schemas: A Picture is Worth a Thousand Words Blog bot DAX Blogs 0 12.09.2008 02:05
Dianne Siebold: Guide to AIF Documentation Available Blog bot DAX Blogs 0 25.06.2008 06:14
Dianne Siebold: AIF Top Ten Blog bot DAX Blogs 1 22.04.2008 11:19
Microsoft Dynamics AX AIF: Sending Outbound Documents Automatically Blog bot DAX Blogs 0 31.03.2008 11:05

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 03:10.