Advanced portfolio report
Derek Atkins
warlord at MIT.EDU
Sat Dec 1 09:47:53 EST 2007
Andrew Sackville-West <ajswest at mindspring.com> writes:
>> I decided to take a look at this a bit, although I don't have time to
>> really do too much right now. So far I've tried Andrew's but not
>> Morrison's. To get it to work I had to change "_" to "-" in
>> ACCT_TYPE_ASSET and ACCT_TYPE_LIABILITY around line 390 in case anyone
>> else is wondering why it doesn't work as sent.
>
> ??
Andrew, you have the following code:
(if (and (or (split-account-type? s ACCT_TYPE_ASSET)
(split-account-type? s ACCT_TYPE_LIABILITY))
But these should be ACCT-TYPE-ASSET and ACCT-TYPE-LIABILITY. Note
that this wont match ACCT-TYPE-BANK, ACCT-TYPE-CASH, ACCT-TYPE-CREDIT,
etc.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list