2018-05-26 GnuCash IRC logs

00:20:06 *** CDB-Away_ has quit IRC
00:42:11 *** Mechtilde has joined #gnucash
01:21:28 *** wget has quit IRC
01:23:09 *** wget has joined #gnucash
01:34:12 *** storyjesse has joined #gnucash
01:48:17 *** gjanssens has joined #gnucash
01:48:17 *** ChanServ sets mode: +o gjanssens
01:48:35 <gjanssens> .
01:51:15 *** frakturfreak1 has joined #gnucash
01:53:02 *** frakturfreak has quit IRC
02:12:51 *** gour has joined #gnucash
03:34:40 *** marusich has quit IRC
03:49:09 <chris1> if a dev familiar with gncEntry could help verify the amounts, then I'll freeze the test amounts. personally I don't quite understand how the tax-amount is calculated... to me they're wrong.
03:49:31 <chris1> code is at https://github.com/christopherlam/gnucash/commit/b961726203f4006aab239428cbc471db470296c9
03:49:40 <chris1> https://github.com/christopherlam/gnucash/tree/scheme-progress-business-tests
04:00:16 <chris1> hmm looks like my tax-included? logic isn't going through
04:11:27 *** pilotauto has quit IRC
04:18:21 <chris1> ok fixed.
04:28:07 *** Mechtilde has quit IRC
04:30:31 *** fabior has joined #gnucash
04:55:40 *** ncv has joined #gnucash
05:01:56 *** harshitaneja has joined #gnucash
05:46:53 *** Mechtilde has joined #gnucash
06:14:51 *** fell has joined #gnucash
06:14:52 *** gncbot sets mode: +o fell
06:22:29 *** fell has quit IRC
06:23:11 *** bertbob has quit IRC
06:34:04 *** storyjesse has quit IRC
06:37:34 *** bertbob has joined #gnucash
06:40:27 *** User has joined #gnucash
06:50:36 *** User has quit IRC
06:52:08 *** Mechtilde has quit IRC
07:16:11 *** harshitaneja has quit IRC
07:18:44 <chris1> ok test-invoice will test the following combinations: https://imgur.com/bA7Xusq
07:44:41 *** harshitaneja has joined #gnucash
08:07:16 *** mdf has quit IRC
08:17:38 <warlord> chris1: that would (currently) be gjanssens --- even though I originall wrote that code.
08:32:47 <chris1> warlord: it's ok I've managed to find appropriate api call
08:33:02 <chris1> all's good
08:33:28 *** Jimraehl1 has joined #gnucash
08:35:06 *** Jimraehl1 has left #gnucash
08:36:53 <warlord> okay
08:52:52 *** harshitaneja has quit IRC
08:53:29 *** harshitaneja has joined #gnucash
08:53:59 *** boldstripe has joined #gnucash
09:42:02 <gjanssens> chris1: You don't need to create a transaction before creating a payment. That is optional and only needed if you want to assign an existing transaction as payment.
09:42:28 <gjanssens> Pass the guile equivalent of NULL (#f ?) for txn.
09:51:39 <chris1> guile's null is actually '() and not sure why it's not registering
09:52:57 <chris1> just pushed
09:54:18 <chris1> I may ignore testing for orders/references/billterms
09:58:08 <chris1> hmm odd, there does seem to be a payment transaction created
10:06:27 *** mdf has joined #gnucash
10:35:36 *** User has joined #gnucash
10:37:10 <gjanssens> chris1: GncInvoiceProcessPayment will create a transaction for you. I meant you don't have to create it yourself.
10:46:10 <chris1> gncInvoiceApplyPayment
10:51:20 *** bertbob has quit IRC
10:52:40 <chris1> herewith test-invoice txns created - https://pastebin.com/3EguU4BD - still not right
10:52:47 *** luc14n0 has quit IRC
10:52:54 *** luc14n0 has joined #gnucash
11:06:43 *** bertbob has joined #gnucash
11:08:06 <gjanssens> chris1: I suspect your payment amount should be negative for a customer invoice
11:10:32 <gjanssens> invoice and entry values are entered with the sign as on the document
11:11:16 <gjanssens> the invoice code will internally alter signs as necessary to create the proper effect on the account's balance
11:11:25 <chris1> hmm true... it still created an unbalanced txn, with -17419.18 bank, but split-amount=0 to receivable
11:11:50 <gjanssens> Huh odd.
11:12:13 <gjanssens> I'll have to dig deeper then. But that will only be next week.
11:12:37 <chris1> ok
11:12:37 <gjanssens> I'll be leaving for a long WE in about an hour and still have some other things to do...
11:12:54 <chris1> ah have fun
11:13:14 <gjanssens> :)
11:14:11 <chris1> ah I found it... splitAmount was 0 but splitValue was fine.
11:14:34 <chris1> enjoy weekend1
11:14:58 <gjanssens> Ah good. I'm having some difficulty myself with the difference between amount and value. Will have to study that some more later.
11:14:59 <gjanssens> Thanks!
11:27:01 *** boldstripe has quit IRC
11:45:03 *** vertreko has joined #gnucash
11:53:37 *** bertbob has quit IRC
11:55:03 *** bertbob has joined #gnucash
11:58:19 *** bertbob has quit IRC
12:14:45 *** bertbob has joined #gnucash
12:18:48 *** boldstripe has joined #gnucash
12:35:04 *** gjanssens has quit IRC
12:35:47 <vertreko> So the revival is like 15 people playing in a pub?
12:36:19 <vertreko> sorry wrong chan
12:52:21 *** CDB-Man has joined #gnucash
12:54:46 *** CDB-Man_ has quit IRC
12:57:06 *** gour_ has joined #gnucash
12:59:30 *** gour has quit IRC
13:06:25 *** vertreko has quit IRC
13:08:15 *** vertreko has joined #gnucash
13:52:51 *** vertreko has quit IRC
14:00:37 *** j605 has quit IRC
14:01:31 *** j605 has joined #gnucash
14:09:28 *** vertreko has joined #gnucash
14:26:27 *** fabior has quit IRC
14:46:29 *** User has quit IRC
14:59:39 *** gour_ has quit IRC
16:46:29 *** fell has joined #gnucash
17:02:33 *** badger93 has joined #gnucash
17:02:51 *** jchonig_ has joined #gnucash
17:03:09 *** j605 has quit IRC
17:03:09 *** boldstripe has quit IRC
17:03:09 *** badger92 has quit IRC
17:03:09 *** puck has quit IRC
17:03:09 *** warlord has quit IRC
17:03:09 *** mipesom has quit IRC
17:03:09 *** gnomey has quit IRC
17:03:09 *** g5pw has quit IRC
17:03:09 *** linas has quit IRC
17:03:09 *** Trel has quit IRC
17:03:09 *** jchonig has quit IRC
17:03:09 *** Farelli has quit IRC
17:03:09 *** seanh has quit IRC
17:03:09 *** nichevo has quit IRC
17:03:09 *** akv has quit IRC
17:03:09 *** arahael has quit IRC
17:03:09 *** redarrow has quit IRC
17:03:10 *** jchonig_ is now known as jchonig
17:03:10 *** badger93 is now known as badger92
17:04:31 *** Trel has joined #gnucash
17:04:35 *** g5pw has joined #gnucash
17:04:47 *** j605 has joined #gnucash
17:04:56 *** Farelli has joined #gnucash
17:04:58 *** seanh has joined #gnucash
17:05:04 *** nichevo has joined #gnucash
17:05:13 *** redarrow has joined #gnucash
17:05:32 *** mipesom has joined #gnucash
17:05:35 *** oozer has joined #gnucash
17:05:54 *** akv has joined #gnucash
17:05:55 *** linas has joined #gnucash
17:05:56 *** warlord has joined #gnucash
17:05:58 *** arahael has joined #gnucash
17:06:23 *** gnomey has joined #gnucash
17:08:04 *** puck has joined #gnucash
17:12:16 *** artur_ has joined #gnucash
17:19:48 *** harshitaneja has quit IRC
17:22:30 *** harshitaneja has joined #gnucash
17:23:24 *** vertreko has quit IRC
17:23:40 *** vertreko has joined #gnucash
19:12:02 *** gncbot sets mode: +o fell
19:14:00 *** vertreko has quit IRC
19:45:25 *** puck has quit IRC
19:45:25 *** arahael has quit IRC
19:45:25 *** linas has quit IRC
19:45:25 *** akv has quit IRC
19:45:25 *** mipesom has quit IRC
19:45:25 *** redarrow has quit IRC
19:48:15 *** Aussie_matt has joined #gnucash
19:48:36 *** akv has joined #gnucash
19:54:10 *** puck has joined #gnucash
20:00:36 *** linas has joined #gnucash
20:01:50 *** arahael has joined #gnucash
20:02:27 *** mipesom has joined #gnucash
20:05:27 <artur_> is it right, that I can not delete client orders („Aufträge")?
20:05:30 *** harshitaneja has quit IRC
20:35:41 *** fell has quit IRC
20:36:11 *** artur_ has quit IRC
20:59:13 *** frakturfreak1 has quit IRC
21:01:59 *** frakturfreak has joined #gnucash
21:14:47 *** vertreko has joined #gnucash
21:19:58 *** CDB-Away has joined #gnucash
21:54:55 *** vertreko has quit IRC
21:55:09 *** vertreko has joined #gnucash
22:05:16 *** oozer has quit IRC
22:09:16 *** frakturfreak has quit IRC
22:12:14 *** ncv has quit IRC
22:18:48 *** CDB-Away has quit IRC
22:19:05 *** CDB-Away has joined #gnucash
22:34:39 *** Aussie_matt has quit IRC
22:38:26 *** storyjesse has joined #gnucash
22:51:22 *** chris1 is now known as chris
23:05:07 *** vertreko has quit IRC
23:17:01 *** wget has quit IRC
23:17:29 *** wget has joined #gnucash
23:34:49 <chris> .
23:34:49 <gncbot> chris: Sent 4 days, 10 hours, and 45 minutes ago: <jralls> In theory you could load libaqbanking and write some guile wrappers that expose the functionality you need, then write the rest of your code in Scheme.
23:34:50 <gncbot> chris: Sent 4 days, 10 hours, and 44 minutes ago: <jralls> I've run across a variant of that myself: Enter a single digit and tab out of the field.
23:42:57 * chris wonders if there's something missing in the gncInvoicePostToAccount - it takes an account (as a target) which presumably is the AP/AR account - it creates a transaction with splits in target-account, tax-table account, and Imbalance. I can't see where to specify the "Income" type account.
23:45:56 <chris> once I figure out how to pay the invoice properly I think test-invoice is complete
23:52:41 <chris> ah found it, income acc is specified by gncEntry