OFX ID tracking per-split

Derek Atkins warlord at MIT.EDU
Tue Apr 6 00:21:46 EDT 2004


Benoit Grégoire <bock at step.polymtl.ca> writes:

>> Can OFX ID's be tracked per-split, rather than per-transaction?
>
> Splits don't have a KVP structure, so you would need fundamental changes to 
> the gnucash data model for this to happen.

Eh?  Sure they do!

>From src/engine/TransactionP.h:

struct split_s
{
...
  kvp_frame * kvp_data;
...

from .../Transaction.h:

kvp_frame *xaccSplitGetSlots(const Split *split);

-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