[Koha-bugs] [Bug 22435] account_offset types should be codes not descriptions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 5 16:32:46 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22435

Kyle M Hall <kyle at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |In Discussion

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Martin Renvoize from comment #1)
> I'm getting keener to ratify these offset lines so we don't record an 'add'
> line for every accountline we add.
> 
> I think it makes more logical sense to only record 'changes'.. i.e offsets
> (and adjustments) rather than having lots of lines with either an empty
> debit_id or credit_id.. the really useful lines are the ones with both _id's
> filled.
> 
> This would also have the side effect of removing a number of offset_types
> that would no longer be required so we were only recording the offset
> 'action' as the type.

Offsets are meant to be a full record of all changes to accountlines, not just
interactions between debits and credits when payments/writeoffs are made. This
includes the initial balance of any newly created accountline. 

For example, it's very useful to have the offsets that show how a fine has
accrued over time.If it's "wrong" and we see in the offsets that it was
accruing .10 a day, then suddenly jumped to .25 a day, we can infer that
perhaps the circulation rule was changed, or which rule was selected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list