What is the correct function to use to increment the Job ID using Python
bindings?
There are a set of functions like book.CustomerNextID() which increment the
other IDs, but there isn't an equivalent for Jobs. Also, when creating a
job via gnucash.gnucash_business.Job the ID is not incremented
aut
Cut and paste error on my part. The line that causes the warning is the
following (the vendor version of the line works without warning).
job = gnucash.gnucash_business.Job(book, '1', customer, 'test')
On Fri, Aug 5, 2022 at 11:59 PM Robert Simmons wrote:
> Another Job related question: using t
Another Job related question: using the form in the following example on
line 128:
https://code.gnucash.org/docs/MAINT/simple__business__create_8py_source.html
job = gnucash.gnucash_business.Job(book, '1', vendor, 'test')
This returns a warning:
WARN [GncSqlColumnTableEntryImpl::add_to_query()
In the Python bindings, I can see the methods that return the next
available ID for most objects. But I am having trouble finding one for
Jobs. I have read the help output from help(gnucash.gnucash_core_c). To
create a new Customer, for example, I'm using the following:
cust = gnucash.gnucash_busi