Topic: hook_db_prewrite is not properly used inside journal entry.
Yes the hook_db_prewrite has not used in the write_journal_entries function
It was created to use it in module level changes affect the core. but not used inside the journal entry.
I have added a screenshot your reference. It will help you to identify it.
inside /gl/includes/dn/gl_journal.inc
HRM CRM POS batch Themes