DataBase TDD. Transaction header/detail pending