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 On Thu, Sep 30, 2010 at 5:01 AM, <jesper.joergen...@bertelsmann.de> wrote: > > > The number Sequence uses two sessions (two concurrent users?) to allocate a > new number. Check the eventlogs on the server to see if you have problems > with your license. > > Mit freundlichen Grüßen / Best regards / Med venlig hilsen > Jesper Jørgensen / Abt. NMT-XD > Senior Product Manager > arvato systems | Technologies GmbH > An der Autobahn 18 > 33311 Gütersloh > jesper.joergen...@bertelsmann.de <jesper.joergensen%40bertelsmann.de> > <blocked::blocked::blocked::mailto:jesper.joergen...@bertelsmann.de<jesper.joergensen%40bertelsmann.de> > > > Phone: +49 5242 / 40 80 54 > Fax: +49 5242 / 40 80 40 > Mobile: +49 172 / 571 03 34 > http://www.as-T.de<blocked::blocked::http://www.as-t.biz/> > arvato systems | Technologies GmbH > Joachim-Jungius-Str. 9, 18059 Rostock > Geschäftsführung: Erwin Pietz, Matthias Moeller > Amtsgericht Rostock - HRB 7497 > ________________________________ > "Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und > ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie > sicher, dass die Information in dieser Nachricht ausschließlich an die > adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie > gesendet worden sein, dann informieren Sie bitte umgehend den Absender und > löschen Sie die Nachricht. Vielen Dank." > "The information in this e-mail and any attachments is confidential. The > information must only be held in areas that have controlled and limited > access to the addressed persons. If this e-mail has been sent to you in > error, please immediately notify the sender and delete the e-mail. Thanks." > ________________________________ > > Von: > development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com>[mailto: > development-axapta@yahoogroups.com <development-axapta%40yahoogroups.com>] > Im Auftrag von Roberto Ukmar > Gesendet: Donnerstag, 30. September 2010 10:18 > An: development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com> > Betreff: R: [development-axapta] Vendor Invoice Journal from Business > Connector > > > Hi, > > Is the business connector logged on the right company? (or is on the dat > company)? > > Da: development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com> > <mailto:development-axapta%40yahoogroups.com<development-axapta%2540yahoogroups.com> > > > [mailto:development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com> > <mailto:development-axapta%40yahoogroups.com<development-axapta%2540yahoogroups.com>>] > Per conto di Adam Gregory > > Inviato: mercoledì 29 settembre 2010 16:03 > A: development-axapta@yahoogroups.com<development-axapta%40yahoogroups.com> > <mailto:development-axapta%40yahoogroups.com<development-axapta%2540yahoogroups.com> > > > > Oggetto: [development-axapta] Vendor Invoice Journal from Business > Connector > > I have a static method in X++ that creates a Vendor Invoice Journal. > > When I run this method from a job inside of AX the journal is created > without a problem. > > When I try to run the method from the business connector I get exception: > > Additional information: Number sequence for the reference Journal number in > parameters in the General ledger module has not been set up. > > The number sequence is set up and works fine from inside AX. > > Does anyone know what would cause this? > > Thank you, > Adam > > . > > < > http://geo.yahoo.com/serv?s=97359714/grpId=514494/grpspId=1705006764/msgId= > 18157/stime=1285830681/nc1=3848644/nc2=5741393/nc3=4507179> > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] > > > [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/