try { ax.LogonAs(strProxyUserName, strProxyUserDomain, nc, null, null, strServerName, null); }
Adam Gregory On Thu, Sep 30, 2010 at 10:38 AM, Roberto Ukmar <roberto.uk...@gmail.com>wrote: > > > How are you logging into AX from the business connector? > > -----Messaggio originale----- > > Da: development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com> > [mailto:development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com>] > Per conto di Adam Gregory > Inviato: giovedì 30 settembre 2010 14:53 > > A: development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com> > 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] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/development-axapta/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/development-axapta/join (Yahoo! ID required) <*> To change settings via email: development-axapta-dig...@yahoogroups.com development-axapta-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: development-axapta-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/