[GNC-dev] Fwd: The two modules

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GNC-dev] Fwd: The two modules

Christopher Lam
Thanks; this is from an old version of eguile balsheet which is already
obsolete in 3.X onwards, and I know it'll be more difficult to fix as time
goes by. There are already changes from timepair to time64, compulsory CSS,
removal of slots access... There is no active eguile maintainer anymore,
and I really cannot understand eguile.

Would you be kind to comment upon the HTML output (File > Export > Export
Report) of the standard (non-eguile) balsheet, with desired amendments? I
can try to amend with backward compatibility.

For bonus points, if you have a sample datafile with accounts and
transactions that highlight the various functionality of balsheet (e.g.
income/expense, equity, any foreign currency conversions or stock purchases
- I'm sure the wife will have them in her textbooks) I'm sure I can fix the
standard balsheet to her standards!

So, wishlist:

   - datafile with example transactions
   - current html report of standard balsheet
   - annotated ideal report produced by standard balsheet :)

Let's keep this discussion public for external input too.

Regards

---------- Forwarded message ----------
From: Stephen M. Butler <[hidden email]>
Date: 16 June 2018 at 00:45
Subject: The two modules
To: Christopher Lam <[hidden email]>

Hope this helps.  As I mentioned in the list email, perhaps there is a
way to show the Trading Accounts if they are present and suppress if
they are not.

Also, I think it would be acceptable to have an Income/Expense Report on
a separate page but generated by the same module.  That would ensure
that the Profit/Loss line (or whatever folks want to call it) would be
the same for both reports.  But my wife was adamant that they are two
separate reports.

Thanks for the example as this is my first time seeing this language.
You might find that I took some shortcuts where it wasn't appropriate
for the long haul -- especially around the printing of the Profit/Loss
line.  I'm still now sure what the #t #f and a couple of the other
parameters actually do -- I just got the report to look right!

--Steve

--
Stephen M Butler, PMP, PSM
[hidden email]
[hidden email]
253-350-0166
-------------------------------------------
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

balsheet-fmtd.eguile.scm (16K) Download Attachment
balsheet-fmtd.scm (46K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [GNC-dev] Fwd: The two modules

Christopher Lam
Hi Stephen
Thank you this is very helpful.
From my understanding the non-eguile version does produce satisfactory
headings and contents.
However its alignment of numbers is odd?
Is the alignment of subtotals and totals perfect in your amended eguile
report? How should it look if there are deeper levels of subaccounts?
For html export, open the report tab, then File>Export>Export Report.
I believe the standard balsheet can be refined but this will take some time.
C

On 18 June 2018 at 00:32, Stephen M. Butler <[hidden email]> wrote:

> Interesting on the age.  I thought I'd downloaded the most recent Linux
> install.  But, my version is 2.6.19 built from rev c1b5e6c8d+ on
> 2018-04-09.  May be best to wait for the next release due out early next
> week and see how those reports look.
>
> In the interim, attached are:
> 1.  GVE.gnucash -- my current set of books for an apartment building I'm
> selling
> 2.  Balance Sheet - standard.pdf -- Standard Balance Sheet report
> (unformatted)
> 3.  Balance Sheet - formatted.pdf -- Eguile balance sheet after my
> changes were applied
>         (Wife still has problems but willing to work with this.
> Specifically, the "Profit/Loss" line should be part of Equities and be
> added just after Retained earnings.  She thinks I should have just one
> line of retained earnings rather than the yearly line I created when
> closing the books each year -- I'll have to clean up my chart of
> accounts to accomplish that -- sigh!)  Plus, I have top level accounts
> with the five major names (Assets, Liabilities, Equities -- maybe should
> rename to Capital, Income and Expense).  So the report does look funny
> with the section titles repeated due to my top level accounts.
>
> I was going to include the eguile version -- but it no longer wants to
> link in when I put that code back in place.  Wish I truly understood how
> that linkage works.  Doesn't seem to function as documented -- at least
> as to how I read/understood the document!  But, since eguile is going
> away, that probably doesn't matter.
>
> Also, is there a way to dump the html version of the reports.  I think
> that is what you wanted but I've only figured out how to capture the pdf
> version to a file rather than letting it print.  Seems strange as I do
> have 20 years on Unix type systems -- but mostly as an Oracle DBA and
> didn't delve deep into the O/S.  Even my korn shell scripting ability
> has atrophied in the past year.
>
> I need to head out and attempt to destroy some bamboo that the previous
> owner let escape.  Plus put in the column bases for the greenhouse the
> wife wants for her orchids.  Isn't retirement fun!  How did I ever have
> time to make the daily trip to downtown Seattle for a living?
>
> --Steve
>
>
> Stephen M Butler, PMP, PSM
> [hidden email]
> [hidden email]
> 253-350-0166
> -------------------------------------------
> GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
>
> On 06/15/2018 09:06 PM, Christopher Lam wrote:
> > Thanks; this is from an old version of eguile balsheet which is
> > already obsolete in 3.X onwards, and I know it'll be more difficult to
> > fix as time goes by. There are already changes from timepair to
> > time64, compulsory CSS, removal of slots access... There is no active
> > eguile maintainer anymore, and I really cannot understand eguile.
> >
> > Would you be kind to comment upon the HTML output (File > Export >
> > Export Report) of the standard (non-eguile) balsheet, with desired
> > amendments? I can try to amend with backward compatibility.
> >
> > For bonus points, if you have a sample datafile with accounts and
> > transactions that highlight the various functionality of balsheet
> > (e.g. income/expense, equity, any foreign currency conversions or
> > stock purchases - I'm sure the wife will have them in her textbooks)
> > I'm sure I can fix the standard balsheet to her standards!
> >
> > So, wishlist:
> >
> >   * datafile with example transactions
> >   * current html report of standard balsheet
> >   * annotated ideal report produced by standard balsheet :)
> >
> > Let's keep this discussion public for external input too.
> >
> > Regards
> >
> > ---------- Forwarded message ----------
> > From: *Stephen M. Butler* <[hidden email] <mailto:[hidden email]>>
> > Date: 16 June 2018 at 00:45
> > Subject: The two modules
> > To: Christopher Lam <[hidden email]
> > <mailto:[hidden email]>>
> >
> > Hope this helps.  As I mentioned in the list email, perhaps there is a
> > way to show the Trading Accounts if they are present and suppress if
> > they are not.
> >
> > Also, I think it would be acceptable to have an Income/Expense Report on
> > a separate page but generated by the same module.  That would ensure
> > that the Profit/Loss line (or whatever folks want to call it) would be
> > the same for both reports.  But my wife was adamant that they are two
> > separate reports.
> >
> > Thanks for the example as this is my first time seeing this language.
> > You might find that I took some shortcuts where it wasn't appropriate
> > for the long haul -- especially around the printing of the Profit/Loss
> > line.  I'm still now sure what the #t #f and a couple of the other
> > parameters actually do -- I just got the report to look right!
> >
> > --Steve
> >
> > --
> > Stephen M Butler, PMP, PSM
> > [hidden email] <mailto:[hidden email]>
> > [hidden email] <mailto:[hidden email]>
> > 253-350-0166
> > -------------------------------------------
> > GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
> >
> >
>
>
_______________________________________________
gnucash-devel mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel