Re: [GNC-dev] alpha-testing budgets in 5.x

Christopher Lam <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.devel
Message-ID <CAKVAZZJ018yb_WTzm4x_rLV2uHxXg89A6_7XghROqtH1_4edxA@mail.gmail.com>
On Tue, 4 Jan 2022 at 22:21, Adrien Monteleone <
[email protected]> wrote:

> On 1/4/22 10:40 AM, Christopher Lam wrote:
> > Experienced Users,
> >
> > The upcoming 5.x series (master branch) currently has a one-time fix for
> > budgets to ensure they're internally stored as unreversed numbers.
> > Currently (up to 4.x) budgeting $1000 income into $600 expense and $400
> > liability repayment are stored as +1000, +600, +400. They should be
> stored
> > internally as -1000, +600, +400 amounts, as per usual accounting
> equation.
>
> I would nit-pick the assertion of 'usual accounting equation'. I've only
> seen one form of it, in any reference, and short of any further
> 'factoring' it looks like this:
>

(snip)

The internal representation for *all* GnuCash transactional data has always
(IIUC) followed the convention "asset + liability + equity + income +
expense == 0". This is what I meant by the GnuCash accounting equation.
This dictates the amounts and signs saved in the XML/SQL. This also applies
to budget amounts, except budget income amounts. This will be modified in
5.x.

Any sign reversal *for display* aims to follow the global pref "Reverse
Balanced Accounts". This is stored in
https://wiki.gnucash.org/wiki/Configuration_Locations#GSettings -- on
Windows it'll be the systemwide registry
Computer\HKEY_CURRENT_USER\SOFTWARE\GSettings\org\gnucash\GnuCash\general

HTH, C
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.