Displaying Job ID in an invoice
Derek Atkins
warlord at MIT.EDU
Thu May 20 12:36:55 EDT 2010
Michael Stinaff <mstinaff at gmail.com> writes:
> I am using GnuCash 2.2.9 and customizing fancy-invoice.scm (and trying
> to learn Guile/Scheme) I am trying to display the Job ID on the invoice
> but nothing I try works and I can't seem to find any samples that use
> any sort of gncJobGetID or such. I feel like a monkey pounding on a
> keyboard.
(gncJobGetID <job>)
But of course this implies that you have access to a job object.. Which
you may not.
You could try something like (gncInvoiceGetOwner invoice) and then
seeing if it's a job?
> My apologies if I have missed the blindingly obvious and thanks in
> advance for your time.
-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