opensubscriber
   Find in this group all groups
 
Unknown more information…

d : development-axapta@yahoogroups.com 1 October 2010 • 4:01PM -0400

RE: [development-axapta] Vendor Invoice Journal from Business Connector
by srinath s

REPLY TO AUTHOR
 
REPLY TO GROUP




Using Logon or logonAs methods in Class Axapta.
 
Create object for Axapta class and then call logon or logonas method using the axapta object.
 
public void LogonAs(string user, string domain, System.Net.NetworkCredential bcProxyCredentials, string company, string language, string objectServer, string configuration)
    Member of Microsoft.Dynamics.BusinessConnectorNet.Axapta

public void Logon(string company, string language, string objectServer, string configuration)
    Member of Microsoft.Dynamics.BusinessConnectorNet.Axapta


hope this help us.

--- On Thu, 30/9/10, Roberto Ukmar <roberto.ukmar@gmai...> wrote:


From: Roberto Ukmar <roberto.ukmar@gmai...>
Subject: RE: [development-axapta] Vendor Invoice Journal from Business Connector
To: development-axapta@yaho...
Date: Thursday, 30 September, 2010, 8:08 PM


 



How are you logging into AX from the business connector?

-----Messaggio originale-----
Da: development-axapta@yaho...
[mailto:development-axapta@yaho...] Per conto di Adam Gregory
Inviato: giovedì 30 settembre 2010 14:53
A: development-axapta@yaho...
Oggetto: Re: [development-axapta] Vendor Invoice Journal from Business
Connector

My problem was that the Business connector was using DAT and not a specified
company.

I wrapped all my static methods in AX with changecompany(companyParam) {}

Is this the best practice way or is there a way to change company directly
from .net?

Thank your for your responses,
Adam Gregory










[Non-text portions of this message have been removed]


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.