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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 15.09.2006, 09:19   #1  
tangolp is offline
tangolp
Участник
 
13 / 10 (1) +
Регистрация: 11.08.2006
Business Connector question
I'd like to update an existing customer record in the CustTable. How do I select the existing record to update. For example, I want to update the phone number. Sample of code would be helpfull. Thank you!
Старый 15.09.2006, 09:42   #2  
raz is offline
raz
NavAx
Аватар для raz
NavAx Club
Лучший по профессии 2014
Лучший по профессии 2009
 
1,490 / 1060 (38) ++++++++
Регистрация: 22.07.2003
Адрес: МО
Read AxDvgCOMUs.chm

IAxaptaRecord::Update
HRESULT Update(void);

Updates the Microsoft Axapta record; that is the record is transferred to the database.

Return Value
The return value obtained from the returned HRESULT is one of the following:

Return value
Meaning

S_OK
Success

E_FAIL
General failure

AXAPTA_E_NO_SECURITY_KEY
The security key for updating records through the Axapta Business Connector is disabled

AXAPTA_E_RECORD_NOT_VALID
Microsoft Axapta record is not valid. The IAxapta object has properly logged off (IAxapta::Logoff)

Comments
This method resembles calling the update member method of a record in the Microsoft Axapta X++ language.

Example (Visual Basic)
Dim Axapta As Object

Dim MyRecord As Object

Set Axapta = CreateObject("AxaptaCOMConnector.Axapta")

Axapta.Logon

‘ create an Axapta record
Set MyRecord = Axapta.CreateRecord("MyTable")

‘ select a record
MyRecord.ExecuteStmt "select * from %1 where %1.Name == ‘MyName’"

‘ set fields of record
MyRecord.Field("Name") = "MyNewName"
MyRecord.Field("Address") = "MyNewAddress"

‘ update the record
MyRecord.Update
Старый 01.03.2007, 20:50   #3  
neih2lille is offline
neih2lille
Участник
 
1 / 10 (1) +
Регистрация: 01.03.2007
object com "dundas mailer''
hi,
I use sysmailer class to send mail with Exchange 5.5 (without
authentification), everything works perfectly.

yesterday, my network admin modifies an exchange parameter which
consists in being authenticated to use exchange, since I do not manage
more to send the mail from axapta.

I tried to bring a user and a password to the level of the
of screen email parameter, but apparement Axapta is unaware of
these parameters, anyone has this problem before? how Axapta pass
parameters user and password to Exchange?

-question is in axapta the Email parameters (account and password
name) what is the use of?

thanks for your helps.

yannick.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Arijit Basu: DAX 4.01 .NET Business Connector: Microsoft.Dynamics.BusinessConnectorNet Blog bot DAX Blogs 3 30.09.2008 01:17
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: Inside the Business Connector Blog bot DAX Blogs 0 04.10.2007 05:15
ALEG: Проект "Фишка недели" и первый пост - Microsoft Dynamics™ AX .NET Business Connector Blog bot DAX Blogs 1 22.11.2006 09:43
ProductiveGap: Microsoft's Leadership in Business Applications Usability Blog bot DAX Blogs 0 09.11.2006 08:11

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

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

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