Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

Update table field from its DAL after.save.objekt Hook

$
0
0
Hi,

is it possible to change a field value in a table from it's DAL after.save-hook?

I have created a new table (txtest123) with a DAL2. In the after save hook I perform some actions in other tables and after that I want to set a status in my table to have a documentation if the made actions were successfull or errors occured. How can I do that? I tried it with
select .. from .. for update ... db.update(ttxtest123) and commit.transcation()
But I get a Error 112 (No current record) on txtext123 in db_update when executing db.update(ttxtest123)

Hope someone have an idea, how I could solve this.

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>