Is there any limit on what I can put in the Customer notes field?
Robert Kesterson
robertk at robertk.com
Thu Sep 29 05:26:42 EDT 2016
On 29 Sep 2016, at 2:55, John Ralls wrote:
>> On Sep 28, 2016, at 10:01 PM, David Goodenough
>> <david.goodenough at linkchoose.co.uk> wrote:
>>
>> I need to stash some additional information in the GnuCash dataset
>> (typically
>> I am using XML for the moment) for each customer. …
>
> You can put any text you like in the Notes field, but make sure that
> it's legitimate XML PData: Use the & and < entities if you need
> to use those characters, and don't try to put any additional markup in
> it. The only size limitation would be imposed by the GUI, which uses a
> GtkTextBuffer to hold it. That exposes functions that index bytes (the
> encoding is assumed to be utf8) and return ints, so you're limited to
> 2^31 characters. That should be sufficient for your needs.
Also bear in mind that GnuCash loads the entire data file into memory
when it runs, so if you start adding large amounts of data in the notes,
it could impact memory requirements and possibly load/save time. It’s
probably not as much of an issue on current computers, but still
something to be aware of.
More information about the gnucash-user
mailing list