qof_book_merge release
Derek Atkins
warlord at MIT.EDU
Wed Sep 22 10:38:15 EDT 2004
Neil Williams <linux at codehelp.co.uk> writes:
> 5. Problems with AccountGroup - although the new accounts are committed to the
> original book and the book is restored correctly, the changed accounts don't
> appear. I suspect this is due to incomplete support for AccountGroup.
Yea... AccountGroups aren't first-class objects. they aren't stored,
per-se, and they don't have GUIDs or other identifiers. Indeed,
there's absolutely no way to uniquely specify a top-level
AccountGroup!
So, this is definitely a quandry; one simple fix might be to add an
xaccGroupGetGUID() which returns the Group->ParentAccount->GUID for
everything but a top-level Group, where it returns Group->Book->GUID.
But I don't know if this would help you at all in your merge process.
-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