2023-03-05 GnuCash IRC logs

00:24:53 *** NoobAlice has quit IRC
01:58:49 *** fell has quit IRC
02:00:10 *** fell has joined #gnucash
02:00:10 *** ChanServ sets mode: +o fell
03:25:59 *** gandalf has joined #gnucash
04:51:55 *** gjanssens has joined #gnucash
04:51:55 *** ChanServ sets mode: +o gjanssens
05:02:53 *** jervin has quit IRC
05:02:57 *** jervin has joined #gnucash
06:34:19 <fell> jralls, you forgot to upgrade Windows packages to AqBanking 6.5.4. I got a report on gnucash-de.
08:32:54 *** gandalf1 has joined #gnucash
08:33:21 *** gandalf has quit IRC
08:33:21 *** gandalf1 is now known as gandalf
10:12:11 <chris> jralls: gnc_option_db_lookup_string_value promises to return a const char*, yet it will strdup the std::string->c_str() -- I guess the strdup is unintended?
10:13:41 <chris> it should be `return value.empty() ? nullptr : value.c_str();` or something
10:38:30 *** gjanssens has quit IRC
10:54:04 <rmehyde> jralls: thanks so much! that's so helpful, I'll give it a go
11:14:56 *** gjanssens has joined #gnucash
11:14:56 *** ChanServ sets mode: +o gjanssens
12:03:57 *** gjanssens has quit IRC
12:45:01 *** NoobAlice has joined #gnucash
12:45:02 *** ChanServ sets mode: +v NoobAlice
13:07:06 <jralls> Robert847, the FITIDs live in the split's KVP with key online-id. I don't think that there's any way to examine them in the UI.
13:08:12 <jralls> fell, Yeah, it got wrapped up in the long build cycle for windows. I just pushed it and it will be in tonight's 4.x nightly and in 4.902.
13:14:57 <jralls> chris, you're right. Fixed, thanks.
13:55:42 *** CodePenguin has quit IRC
13:58:54 *** CodePenguin has joined #gnucash
14:05:34 *** palerider has joined #gnucash
14:07:18 *** palerider has left #gnucash
15:31:50 *** gandalf has quit IRC
16:06:23 *** stan has quit IRC
16:37:33 <AdrienM> stan, expense transactions are recorded by the posting of the bill. Payments don't affect this. Note, the business features are assuming accrual method. If you are on a cash-basis, you'll need to wait to post to match when you pay, but I don't see a way to facilitate partial payments in that case.
16:44:03 *** gjanssens has joined #gnucash
16:44:03 *** ChanServ sets mode: +o gjanssens
16:57:30 *** djl has joined #gnucash
16:59:30 *** djl has quit IRC
16:59:48 *** gjanssens has quit IRC
17:04:47 *** djl has joined #gnucash
17:07:06 *** ChanServ sets mode: +v djl
17:16:20 <Robert847> jralls, Thanks for the answer to the FITID question as well as the new program release.
17:17:15 <jralls> Robert847, you're welcome. Are you going to do some testing on the beta?
17:20:17 *** chockey has joined #gnucash
17:24:26 <Robert847> That sounds like fun but I am constrained by my ancient hardware and seeming Linux always going into swap memory in the test environments that I currently have set up. I will see what I can do.
17:26:28 *** djl has left #gnucash
17:26:42 *** ChanServ sets mode: +v chockey
17:27:07 *** mrlemke has joined #gnucash
17:27:08 *** ChanServ sets mode: +v mrlemke
17:36:18 <chockey> Hello all, I'm hoping to get some advice on how you would handle this situation. I'm working on the books for a community band in the USA; we pay our conductors and the occasional substitute musician as independent contractors, so I need to keep track of how much they all get paid for the year so I can file the correct 1099 information. For that, I have those folks set up as Vendors, and can
17:36:18 <chockey> generate bills, pay them, and print checks. This seems to be working well, and will allow me to query the vendor information at the end of the year to figure out how much each person was paid. A small wrench has been thrown in my plan by one of the conductors paying one of the substitute musicians himself. I need to reimburse the conductor, but I also need to track that the musician was paid
17:36:19 <chockey> by us for tax tracking purposes. I've created a bill for the musician, but I'm unsure of where to go from here. I see two potential options. One, generate a payment to the musician as normal, then just change the entries made in the checking account ledger to show that I actually cut a check to the conductor, but this feels like I'm gaming GNUCash and it might bite me later. Or two, create
17:36:24 <chockey> an employee expense voucher for the conductor paying the musician, but I haven't been able to attach an expense voucher to a bill, so maybe that's not the way to go. Any other ideas on how to handle it?
17:59:13 <warlord> chockey, IANAA but I would do it the first way -- process payment for the temp and then redirect the other side of the A/P transaction to show that it was the conductor that paid him.
17:59:31 <warlord> You might try asking this on the gnucash-user list to get better feedback from more people.
17:59:36 <warlord> (including accountants)
18:04:20 <chockey> Thanks warlord - maybe I'll try the list, but as long as it's not an insane thing to do to the software, I think it at least meets our reporting requirements. They're not terribly onerous as a small non-profit
18:05:19 <warlord> Yes, it is supported to change the other account (or even splits) to a payment .. Just be sure not to touch the A/P split.
18:06:33 <chockey> Got it, that seems easy enough. Thanks!
19:56:31 *** Robert847 has left #gnucash
20:26:06 <chris> jralls: you didn't fix the leak at all :-D
20:33:07 <chris> jralls: however fixing leaks seems to cause issues
20:39:11 <chris> weird.
20:50:59 <chris> jralls: BTW I found gnc_utf8_strip_invalid's g_warning will crash when receiving an invalid utf8, defeating the purpose of g_warning, it's best to use printf instead
20:51:38 *** isj has quit IRC
20:55:37 *** chockey has quit IRC
20:59:53 <chris> jralls: can't figure out why removing strdup causes errors. it seems std::string->c_str() doesn't seem to survive when leaving gnc_option_db_lookup_string_value
21:00:30 <chris> in gnc_option_db_lookup_string_value, c_str() is ok; in gnc-plugin-page-report.cpp it has garbage
21:01:43 <chris> to test: remove strdup, run a report, modify its name.
21:22:07 <chris> jralls: here's the problem changelog and result: https://pastebin.com/raw/QWJ78KKp
21:22:55 * chris can't fix this
21:40:30 *** jervin has quit IRC