Some questions / requests from a QB convert
Keith A. Milner
kamilner at superlative.org
Fri Feb 1 12:36:13 EST 2008
On Friday 01 February 2008 16:55:56 Maf. King wrote:
>
> Just done a little experiment - I have a customer who has 3 invoices
> outstanding at the moment - values are changed(!)
> A - £100
> B - £500
> C - £200
>
> Selecting B for process payment of £500 marks B as paid.
> <close data without saving, re-open data file>
> Selecting B for payment of £700 marks A and B as paid. (ie FIFO)
>
Hmmm...
Looking through the datafile, it seems there is some kind of link using lots.
For instance, the original invoice seems to generate a gnc:lot "object" with a
specific guid, for instance:
<gnc:lot version="2.0.0">
<lot:id type="guid">3a7e1782829da422c41c193a2a516315</lot:id>
...
When the payment is made, this is linked to the specific split(s):
<gnc:transaction version="2.0.0">
---- SNIP ----
<trn:split>
<split:id type="guid">9a1a0643ca91541b7673a75e35810b46</split:id>
<split:action>Payment</split:action>
<split:reconciled-state>n</split:reconciled-state>
<split:value>3968/100</split:value>
<split:quantity>3968/100</split:quantity>
<split:account
type="guid">8440b553ce94881be6eeddcf509b4792</split:account>
<split:lot type="guid">3a7e1782829da422c41c193a2a516315</split:lot>
</trn:split>
...
From what I can tell, if a single payment ends up against multiple invoices,
it auto-splits with a reference to each one in the associated split.
Cheers,
--
Keith A. Milner
More information about the gnucash-user
mailing list