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

Bad input should be LM_W, isn't it?