Re: [Axapta-Knowledge-Village] Updating records in a table
Hi, Use the update statement inside a ttsbegin & ttscommit loop. Cheers Arijit On 10/31/07, ras_here2002 <[EMAIL PROTECTED]> wrote: > > Some times i experience, when I try to update records in a table by > a job, DAX not allowing me to do so. I am getting an error `Cannot > Edit the record Update must be performed inside a transaction' > > Can you tell me why I am getting this? > > Chirani. > > > -- Arijit Basu [Non-text portions of this message have been removed] Sharing the knowledge on Axapta. Visit www.frappr.com/axapta for axapta friends. Come and choose your preferred name for Microsoft Dynamics AX on the Axapta Knowledge Village, Visit www.axapta-knowledge-village.tk Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/Axapta-Knowledge-Village/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/
[Axapta-Knowledge-Village] Updating records in a table
Some times i experience, when I try to update records in a table by a job, DAX not allowing me to do so. I am getting an error `Cannot Edit the record Update must be performed inside a transaction' Can you tell me why I am getting this? Chirani.
[Axapta-Knowledge-Village] Re: Starting AX 3.0 on Win Vista
Are you sure you have the connection info in your registry? I'm talking about the info you can edit from the Axapta Configuration Utility. Steeve... --- In Axapta-Knowledge-Village@yahoogroups.com, "Baciulis Darius" <[EMAIL PROTECTED]> wrote: > > HI, > > Maybe someone already had this problem and will be able to give a bit of > insight :) > > when running Ax 3.0 on XP it is enough to have shortcut to AX client and > configuration on a server ar run everything from there without installing > client on a machine. > Though when you try to run such setup option on Vista - it gives error > saying that AOS cannot be located with such configuration, though all other > users are using exactly same configuration. Do you know what security or any > other feature may be causing this ? > > darius > > > [Non-text portions of this message have been removed] >
[Axapta-Knowledge-Village] Re: Release COM object
I tried both of your idea guys, but without success. Thanks for your input anyway! I'll just leave it the way it is. Steeve... --- In Axapta-Knowledge-Village@yahoogroups.com, "Subbu" <[EMAIL PROTECTED]> wrote: > > or > > WinAPI::closeHandle(_hwd) > > kind regards, > Subbu > > --- In Axapta-Knowledge- > [EMAIL PROTECTED], "Subrahmanyam,Mamidi" wrote: > > > > Hi Steeve, > > > > I am not a C# developer. But I am not sure if you have used as i > used to do in C++ > > > > if(MyCom) > >{ > > myCom.Close(); > > myCom = NULL; > > } > > > > the bove code should decrement the pointer to the object's > handle. > > > > good luck, > > Subbu > > > > Steeve Gilbert wrote: > > Hi guys, > > > > I would like to know how to release a COM (as in Component Object > > Model) correctly. > > > > I've created a .NET COM dll with VS2005 that I use in Ax3.0 SP3. > When > > I use the COM in Axapta, it doesn't release reference to the COM > until > > I close Axapta. So when I make modification to my dll and rebuild > it, > > VS can't recreate the dll stating that the file is in use. > > > > To release the COM, so far i've tried : > > myCom.finalize(); > > myCom.detach(); > > myCom = null; > > > > But no success. Any idea? > > > > > > > > > > > > __ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > [Non-text portions of this message have been removed] > > >
[Axapta-Knowledge-Village] Record ID generation (SystemSequences) problem
Dear Axapta developers, Yesterday, i am faced with a recId problem in Dynamics 4.0. When i try to create a new record via any form, i get the error message below: "Cannot create a record in Record ID generation (SystemSequences). name: SEQNO. Error accessing database connection. An error occurred while obtaining new RecId value for the table." or sometimes this one: "Cannot edit a record in Record ID generation (SystemSequences). name: . Error accessing database connection. Cannot read a record in (). Error accessing database connection." If i try to insert the record via table browser, i succeed. I debugged the code and i examined that the error comes from the setGlobalTransId method of the numberseq class: \ protected void setGlobalTransId() { createdTransactionIdsaveGlobalTransId; ; doCreateTTSLink = false; if (!globalTransId) { // the error is given in this part of the code globalTransId = appl.curTransactionId(true); // the error is given in this part of the code doCreateTTSLink = true; } else { saveGlobalTransId = globalTransId; globalTransId = appl.curTransactionId(true); doCreateTTSLink = globalTransId != saveGlobalTransId ? true : false; } } \ --- What may be the solution to solve this problem? Thanks in advance for your interest. Baran [Non-text portions of this message have been removed]