hi,
I realized this method after I send the email but
couldnot find a help for the interface. I implement
static methods for classes and call them after logging
on the Com-Connector something like

axapta.CallStaticClassMethod(className,methodName,inputData,null,null,null,null,null);
I use XML for paramters so input and output are string
typed.

How can I get the documentation of the interface?
--- bent_arne <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> If you have license for the COM-connector you can
> use the IAxapta 
> interface to connect to Axapta. 
> 
> something like this: 
> 
> <--pseudo vb code start-->
> set axObj =
> server.createObject("AxaptaComConnector2.1")
> axObj.logon2 <"logon information">
> 
> set axRec = axObj.CreateRecord("tablename")
> 
> axRec.initValue
> axRec.Field("axapta field name") = value
> axRec.Field("axapta field name") = value
> ...
> axRec.insert
> 
> <--pseudo vb code end-->
> 
> // Bent Arne @ eye-share ASA @ www.allianse.no
> 
> --- In [EMAIL PROTECTED], utku
> tatlidede 
> <[EMAIL PROTECTED]> wrote:
> >   I want to insert records to Axapta tables from a
> C#
> > application (Technology is not important. I can
> use
> > VB. 6.0 or VB. NET also). The problem is Axapta
> has
> > its own record id field and it is determined in
> the
> > insertion process. (It is not a trigger in the
> > database). I don't want to give rec ids by myself
> > because Axapta database may become inconsistent. 
> >   In fact the real problem is exposing Axapta DB
> > operations as web services. And the beginning of
> the
> > problem is developing a client application in .Net
> > that is integrated to the Axapta. 
> > Thanks for help�
> > 
> > 
> > 
> >             
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - 50x more storage than other
> providers!
> > http://promotions.yahoo.com/new_mail
> 
> 
> 



                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/development-axapta/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to