AXForum  
Go Back   AXForum > Microsoft Dynamics AX > DAX: Программирование
All
Forgotten Your Password?
Register Forum Rules FAQ Members List Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 24.03.2009, 11:11   #1  
propeller is offline
propeller
Участник
propeller's Avatar
 
359 / 29 (1) +++
Join Date: 25.07.2007
Lightbulb insert через Com Connector
есть код в аксапте:
PHP Code:
    Com             Axapta;
    
Com             axaptaCustTable;
    
ComVariant      axaptafield;
    ;
   .........
   
axaptaCustTable Axapta.CreateRecord("CustTable");
   
axaptaCustTable.initvalue();
   
axaptafield axaptaCustTable.field("AccountNum");
   
axaptafield.bStr("TestCom1va1");
   
axaptaCustTable.insert(); 
Запись вставляется. но пустая, и поле AccountNum не заполнено (
пробовал через
axaptaCustTable.field("AccountNum") = "TestCom1va1";
но не компилируется , говорит синтаксическая ошибка.
есть какие-нибудь варианты почему не передается?
(способ с созданием метода на таблице или в классе в приемной аксапте не предлагать )
Tags
com connector

 

Similar Threads
Thread Thread Starter Forum Replies Last Post
msdynamicsax: VB script that test the com connector for Dynamics Ax 4.0 Blog bot DAX Blogs 0 25.08.2008 18:05
Inside Dynamics AX 4.0: Inside the Business Connector Blog bot DAX Blogs 0 04.10.2007 05:15
Проблема доступа через COM Connector wit DAX: Функционал 0 10.07.2006 12:34
"Functions" через COM Connector murad DAX: Программирование 4 13.04.2006 16:21

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Рейтинг@Mail.ru
All times are GMT +3. The time now is 01:50.
Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Contacts E-mail, Advertising.