1 (edited by kvvaradha 10/11/2021 03:04:56 pm)

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

Post's attachments

gl_journal.png 40.1 kb, 2 downloads since 2021-10-11 

You don't have the permssions to download the attachments of this post.

Re: hook_db_prewrite is not properly used inside journal entry.

Thanks @kvvaradha, I will fix it and commit the fix later.

Joe

Re: hook_db_prewrite is not properly used inside journal entry.

@joe drop a reply here when you update this to core.

Re: hook_db_prewrite is not properly used inside journal entry.

The core has been updated. Committed to stable.

Joe

Re: hook_db_prewrite is not properly used inside journal entry.

Hello, just curious to know what is the use of these two functions? Can we change the functionality using any module using this hook?

www.boxygen.pk

Re: hook_db_prewrite is not properly used inside journal entry.

@boxygen

Itronics has given a brief description in the following topic

https://frontaccounting.com/punbb/viewtopic.php?id=9029

Joe