jholdrid
10th April 2002, 01:07
I have developed a custom session using Baan script. It reads through several line items and deletes them, then deletes the header record associated with them.
When I do a Commit.transaction() to actually delete the records or eleimate the Commit and just read the next header record, I receive the 605 error. I do not have any out standing references assoicated with this table.
What doe the 605 error mean ?
Here is my code:
select tdpck001.*
from tdpck001 for update
where tdpck001._index3 = {:tdpck008.shno}
selectdo
|Read Through package Lines and delete
select tdpck002.*
from tdpck002
where tdpck002._index1 = {:tdpck001.pano}
selectdo
db.delete(ttdpck002, db.retry)
endselect
| Delete Package Heading
db.delete(ttdpck001,db.retry)
| Error 605 occurs here or if I remove Commit, error occurs at next select
-> Commit.transaction
endselect
Thanks for your help
:confused:
When I do a Commit.transaction() to actually delete the records or eleimate the Commit and just read the next header record, I receive the 605 error. I do not have any out standing references assoicated with this table.
What doe the 605 error mean ?
Here is my code:
select tdpck001.*
from tdpck001 for update
where tdpck001._index3 = {:tdpck008.shno}
selectdo
|Read Through package Lines and delete
select tdpck002.*
from tdpck002
where tdpck002._index1 = {:tdpck001.pano}
selectdo
db.delete(ttdpck002, db.retry)
endselect
| Delete Package Heading
db.delete(ttdpck001,db.retry)
| Error 605 occurs here or if I remove Commit, error occurs at next select
-> Commit.transaction
endselect
Thanks for your help
:confused: