[GNC] Why does the balance sheet report list positions with zero balances?

km22 km22 at gmx.com
Tue Apr 5 00:07:36 EDT 2022


Hi Derek,

Who are the experts in terms of the report coding/development?

Is it worth me trying to learn the report coding language and trying to
fix this myself? Or are there plans to migrate the report coding to a
different language (like SQL) in which case I should focus my efforts
elsewhere?

Alternatively, are GnuCash developers open to the idea of bounties to
encourage specific fixes/enhancements?

Thanks,

Ken


On 20/2/2022 22:20, km22 wrote:
> Thank you. Submitted here:
> https://bugs.gnucash.org/show_bug.cgi?id=798461
>
> On 20/2/2022 22:10, Derek Atkins wrote:
>> Hi,
>>
>> I just opened the account file you sent, ran the balance sheet, and then
>> expanded the default account depth from to 4.  When I did that I noticed
>> that the two lines you sent:
>>
>>    2,000 UST2   $1,960.00
>>        0 UST1       $0.00
>>
>> are BOTH from the same account, USD Bonds.   The fact they are from the
>> "same" account is why both are showing up, even when you have "Omit zero
>> balance figures".  There is an embedded assumption of "one figure per
>> account" which happens especially if sub-accounts get rolled up into the
>> parent account.
>>
>> If you increase the level of subaccounts to 6 then that UST1 goes away.
>>
>> I agree, this is probably a bug.  If you are rolling up subaccounts and
>> have "omit zero balance figures" selected, it should, well, omit
>> zero-balance figures, even if the rolled-up data contains
>> non-zero-balance
>> numbers.
>>
>> Please file a bug report in Bugzilla and attach the data file, screen
>> shot, and this email exchange.
>>
>> Thanks,
>>
>> -derek
>>
>> On Sun, February 20, 2022 7:48 am, km22 wrote:
>>> Thanks Derek. Adding the screenshot here as an attachment.
>>>
>>> On 20/2/2022 20:45, Derek Atkins wrote:
>>>> The example file made it through. The photo didn't.  The reason is
>>>> that the list strips html.  So embedded images get stripped.
>>>> Attachments do make it.
>>>>
>>>> -derek
>>>> Sent using my mobile device. Please excuse any typos.
>>>>
>>>> On February 20, 2022 7:31:59 AM km22 <km22 at gmx.com> wrote:
>>>>
>>>>> P.S. I see that neither my screenshot nor example gnucash file
>>>>> seem to
>>>>> be accessible to the mailing list.  Pls let me know how best to share
>>>>> both of these. Thanks
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> gnucash-user mailing list
>>>>> gnucash-user at gnucash.org
>>>>> To update your subscription preferences or to unsubscribe:
>>>>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>>>>> If you are using Nabble or Gmane, please see
>>>>> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
>>>>> -----
>>>>> Please remember to CC this list on all your replies.
>>>>> You can do this by using Reply-To-List or Reply-All.
>>


More information about the gnucash-user mailing list