ravi_mehta
2nd November 2009, 06:20
Hi All,
In my MMT Session when i am deleting a specific record of satellite session,
Then in {choice.update.db: before.choice:} Section The DAL is getting called.
In DAL in Before.destroy.object() hook i am setting the DAL message
dal.set.error.message("mess code")
return(DALHOOKERROR)
When in after.update.db.commit: section i am trying to retrieve the error message by dal.get.error.message(msg), i am getting blank.
I tried to check tmp.counted.errors = dal.count.error.messages() just before returning the DALHOOKERROR, but i am getting tmp.counted.errors = 0.
I am not able to find the reason behind this.....
In my MMT Session when i am deleting a specific record of satellite session,
Then in {choice.update.db: before.choice:} Section The DAL is getting called.
In DAL in Before.destroy.object() hook i am setting the DAL message
dal.set.error.message("mess code")
return(DALHOOKERROR)
When in after.update.db.commit: section i am trying to retrieve the error message by dal.get.error.message(msg), i am getting blank.
I tried to check tmp.counted.errors = dal.count.error.messages() just before returning the DALHOOKERROR, but i am getting tmp.counted.errors = 0.
I am not able to find the reason behind this.....