Hello,
"Generate Loan Loss Provisioning" job can be disabled. Adding step 1 as
suggested by Adam should suffice. Also, not changing the behaviour for
existing installations is important please.
What I think we need is knowing what was provisioned for each loan, it will
make reconciliation/audit better. The current implementation does not have
that. We should be able to trace the posted amount in the general ledger down
to what was provisioned for each loan.
I suggest that table m_loanproduct_provisioning_entry should store information
at the loan level instead of the current aggregation. Fields loan_id and
outstanding_amount can be added to it.
Looking forward to your feedback.
Regards
Anu Omotayo
On Sunday, November 22, 2026 at 09:39:22 AM GMT+1, Ádám Sághy
<[email protected]> wrote:
Thanks for raising this, and sorry for the slow response.
I agree there's a real gap, but it's narrower than the mail describes.
Generating and posting are already separate commands with separate permissions
(CREATE_PROVISIONENTRIES and CREATE_PROVISIONJOURNALENTRIES), and posting can
be put under maker-checker, so the API flow already supports a four-eyes
review. The paths that skip it are the "Generate Loan Loss Provisioning" job,
which always posts, and createjournalentries=true on create.
Whatever we do must not change behaviour for existing installations. As the PR
stands, the job would silently stop producing provisioning entries after an
upgrade, and createjournalentries=true would start failing.
I'd suggest two steps:
- A global configuration (default: current behaviour) that stops the job
from posting, so institutions can post through the API with maker-checker. This
is small and closes the actual gap.
- If there's interest in an explicit review status on the entry (pending
list, rejection audit), add it behind its own opt-in configuration. When it's
on, the job and create should leave a DRAFT entry instead of failing. The
status and who approved or rejected it should be visible on GET. And rejecting
must not block a corrected entry for the same date: today one entry per date,
no regenerate after rejection and no delete would leave that date stuck for
good.
If nobody objects within 72 hours, I'd suggest going ahead with step 1 and the
opt-in version of step 2. Details are in the PR review.
Regards,
Adam S
On Aug 10, 2026, at 11:12 PM, elnafateh <[email protected]> wrote:
Hi all,
I'd like to share a change I've put up for review and get community inputs,
since it introduces a small workflow pattern that could be relevant beyond this
one feature.
The problem
Loan-loss provisioning entries can currently post directly to the general
ledger the moment they're generated, no human ever has to look at them first.
That means a bad provisioning-criteria configuration, a data issue, or a bug
can put an incorrect number into the books before anyone has a chance to catch
it. For a figure that feeds financial statements and regulatory reporting,
that's a real integrity gap, not just a style inconsistency.
The change
FINERACT-2740 adds a review status to provisioning entries, separate from
whether journal entries have already been created for them:
- draft - generated but not yet reviewed
- approved - reviewed and accepted
- rejected - reviewed and declined
Journal entries can now only be posted for an approved entry, and an entry's
underlying rows can only be regenerated while still in draft. An approved entry
can optionally have its approval undone ("undo"), but only before journal
entries actually exist for it. This closes an existing gap where immediate
posting at creation time bypassed review entirely.
Three new write-service methods and matching API commands
(approveprovisioningentry, rejectprovisioningentry,
undoapprovalprovisioningentry) are added, following the same
command-per-transition, permission-gated shape already used elsewhere in the
codebase (e.g. loan reschedule requests).
PR / Issue
- Jira: https://issues.apache.org/jira/browse/FINERACT-2740
- PR: https://github.com/apache/fineract/pull/6243
Thanks,Lukman