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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 04.10.2007, 11:20   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
Inside Dynamics AX 4.0: The AxdBase API
Источник: http://feeds.feedburner.com/~r/Insid...dbase-api.html
==============

The AxdBase class offers an API that allows you to implement new XML documents with a minimal amount of work. As mentioned earlier, the basic operations enabled with this framework are create XML, read XML, and generate XSD. In this context, Dynamics AX does not support delete and update operations. When you use this XML document interface, you can only read documents or create new ones in Dynamics AX.
Table below lists the methods implemented by AxdBase, along with a short description of the provided functionality.

AxdBase Method Descriptions
For improved productivity, the framework enables all implemented operations by default. This means that if, for example, you do not want to support create, you must override it in your derived document class and throw an exception explaining that the operation is not supported. The following example of an unsupported create action is from the actual implementation in the AxdASN class, which is included with Dynamics AX.

When you create a completely new document, you must override the following methods:
  • getActionList
  • getConstraintList
  • getLabel
When you include more tables in the query, and the field values in one query rely on field values in, for example, the parent tables, you must also override the prepareForSave method. This is necessary only if you intend to support create or createList actions. In the following example, using the prepareForSave method of the AxdChartOfAccount class, the foreign key is populated with the values from the primary fields in the parent table. Pay particular attention to the lines in bold, which set up the association.
http://insidedynamicsax.blogspot.com/
</img> </img> </img> </img> </img>


Источник: http://feeds.feedburner.com/~r/Insid...dbase-api.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Inside Dynamics AX 4.0: The AxInternalBase API Blog bot DAX Blogs 2 09.10.2007 00:48
Inside Dynamics AX 4.0: Working with the .NET Business Connector Blog bot DAX Blogs 0 04.10.2007 05:15
Inside Dynamics AX 4.0: Usage Scenarios Blog bot DAX Blogs 0 04.10.2007 05:15
Inside Dynamics AX 4.0: Inside the Business Connector Blog bot DAX Blogs 0 04.10.2007 05:15

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

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

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