Тема
:
method insert() when insert table from outside
Показать сообщение отдельно
29.08.2008, 18:51
#
2
gl00mie
Участник
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.
gl00mie
Посмотреть профиль
Отправить личное сообщение для gl00mie
Найти ещё сообщения от gl00mie
Читать блог