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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.08.2008, 08:41   #1  
susenyudha is offline
susenyudha
Участник
Аватар для susenyudha
 
1 / 10 (1) +
Регистрация: 30.05.2008
Адрес: Indonesia
-> method insert() when insert table from outside
hi guys,

I have a problem when I insert record into table from outside of AX, can I do insert() method on axapta?
I want to check something on insert() method, can I ?

any solutions?

thanks
(sorry, my english is bad )
__________________
some thing big is won't be a big thing, if you don't know a little thing
Старый 29.08.2008, 18:51   #2  
gl00mie is offline
gl00mie
Участник
MCBMSS
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,684 / 5788 (200) ++++++++++
Регистрация: 28.11.2005
Адрес: Москва
Записей в блоге: 3
Цитата:
Сообщение от susenyudha Посмотреть сообщение
I have a problem when I insert record into table from outside of AX, can I do insert() method on axapta? I want to check something on insert() method, can I ?
So you're using AX Business Connector to insert a new record in a table, right? You don't mention which version of Axapta you're using and what kind of Business Connector (COM or .NET), so let's take .NET Business Connector for instance. AFAIK when you call AxaptaRecord.Insert(), it internally calls the insert() method on the table. Hence you can add any checks to the insert() method in the application and these checks or whatever code you add will be automatically invoked when you insert a record using AX Business Connector.
And in case you mean you insert a new record via a direct SQL connection to an AX database the answer is: stop doing this immediately and use AX Business Connector instead.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
X++: Using the Cross company feature from the Business Connector and table browser. Blog bot DAX Blogs 1 21.12.2008 01:17
TwC: Validate access to return value from display/edit method. алька DAX: Программирование 3 20.04.2007 14:15
PatrickChua: Temporary table Blog bot DAX Blogs 0 28.10.2006 18:14
Вопрос про Demand Planner slava09 DAX: Функционал 4 25.09.2006 11:43
Говорят вышел SP2 для Axapta 3. Кто нибуть что знает на эту тему? soin DAX: Прочие вопросы 10 13.10.2003 10:43

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

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

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