Algorithm for allocating payments

Graham Leggett minfrin at sharp.fm
Mon Nov 9 06:48:18 EST 2009


marcus.wolschon at googlemail.com wrote:

> Why write it yourself?

Because jgnucashlib didn't exist when I started writing this code, it's
been around for a while :)

> That code already exists in jGnucashLib.
> https://sourceforge.net/projects/jgnucashlib/
> 
> I remember that I wrote code to mark transactions
> as being the payment for invoices and for adding
> and posting new invoices from java.

This is excellent, thank you! Do any javadocs exist for this? I see a
"todo" in the documentation for javadocs.

>> Is there a definitive description anywhere of the link between
>> transactions, lots and customers?
> 
> transaction and invoice have the same lot-number.
> orders have invoices.
> customers have order.

What is an "order" (in the xac file)? How are prepayments handled?

Regards,
Graham
--


More information about the gnucash-devel mailing list