Re: [Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-23 Thread Varden Morris
Hi   In addition to using forUpdate you must eclose the update in a transaction. For example:   ttsbegin;   while select forUpdate CustTable where CustTable.CustGroupID == '10' { CustTable.Balance = 1000; CustTable.Update(); }   ttscommit; Subrahmanyam Mamidi <[EMAIL PROTECTED]> wrote

Re: [Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-23 Thread Subrahmanyam Mamidi
Hi Harry. Yes you are right. I think either some is wrong with update or may be the records he is tryiing to select do n't exist. Hemant, just curious if you have tried debugging.   or did u find the solution thansk, subbuAmit Jain <[EMAIL PROTECTED]> wrote: yes,   but if you don't want to

Re: [Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-23 Thread Amit Jain
yes,   but if you don't want to use then use datasource or table.write method at place of update   Regards   Amit"Harry (Harshawardhan Deshpande" <[EMAIL PROTECTED]> wrote: hi subbu   Thats funny   If I forget 'forupdate' clause then I get the following error   Cannot edit a record in 'TableNam

Re: [Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-23 Thread Harry \(Harshawardhan Deshpande
hi subbu   Thats funny   If I forget 'forupdate' clause then I get the following error   Cannot edit a record in 'TableName'. The operation cannot be completed, since the record was not selected for update. Remember TTSBEGIN/TTSCOMMIT as well as the FORUPDATE clause.   Can you confirm if you are

Re: [Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-22 Thread Subrahmanyam Mamidi
I think the error is do with Select statement. Can you check if you are using forupdate followed by update or doupdate()   I used to get this error when I used to fotget forupdate in the select statement.   can you please let us know the cause if you are succesful?. thanks, subbuHarshawardha

Re: [Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-22 Thread Harshawardhan Deshpande
hi   If you are implementing a system then may be the records have got deleted   regards   harryhemant kumar <[EMAIL PROTECTED]> wrote: Hi, Whenever i  try to select inventLocationId in movement journal,profit and loss journal and transfer journal it gives the error that "cannot edit a re

Re: [Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-22 Thread Paulius Cerniauskas
make sure you use forupdate clause in your select statement or set forupdate=true in find method. --- hemant kumar <[EMAIL PROTECTED]> wrote: > > > Hi, > Whenever i try to select inventLocationId in > movement journal,profit and loss journal and > transfer journal it gives the error that

[Axapta-Knowledge-Village] cannot edit a record in inventory dimension

2005-03-21 Thread hemant kumar
Hi, Whenever i  try to select inventLocationId in movement journal,profit and loss journal and transfer journal it gives the error that "cannot edit a record in inventory dimension (inventdim) .the record has never been selected "   Please help!   Regards   Hemant Do you Yahoo!? Yahoo!