avoiding duplicated DB-Error in second layer

### Description
o Transaction ID for ontimeinterval
o LM_I for every database operation
o Avoided repeating 'Database Error' in second call-layer

Fixed in 2b292b9

[ As you can see, instead of changing the 'for' to 'to', I changed the 'from' to 'to' ... :-D ]