Bug 734183

2014-08-06 Thread Mike Evans
Hi All I'm having a little trouble tracking this down, (some of) the code for creating an entry with discount is shown below: entry = gncEntryCreate (book); gncEntryBeginEdit(entry); // More code here... gnc_exp_parser_parse (discount, n, NULL);

Re: Apportioning GST in the account register

2014-08-06 Thread Mike or Penny Novack
Steven Patrick wrote: The GnuCash invoicing process does this automatically for larger businesses, but many smaller businesses use only cash book records and need to be able to automatically calculate and record GST in bank account transactions. Because it is already being done in the

Re: Bug 734183

2014-08-06 Thread Geert Janssens
On Wednesday 06 August 2014 10:25:12 Mike Evans wrote: Hi All I'm having a little trouble tracking this down, (some of) the code for creating an entry with discount is shown below: entry = gncEntryCreate (book); gncEntryBeginEdit(entry); // More code here...

Re: Bug 734183

2014-08-06 Thread Mike Evans
On Wed, 06 Aug 2014 15:49:08 +0200 Geert Janssens janssens-ge...@telenet.be wrote: On Wednesday 06 August 2014 10:25:12 Mike Evans wrote: Hi All I'm having a little trouble tracking this down, (some of) the code for creating an entry with discount is shown below: entry =

Re: Bug 734183

2014-08-06 Thread Geert Janssens
On Wednesday 06 August 2014 16:00:21 Mike Evans wrote: HiGeert. n is set to 25 using gnc_exp_parser_parse (discount, n, NULL); just after it's set to gnc_numeric_zero (); Taking the zeroing line out doesn't change the behaviour though. Oh right. Probably this isn't working for me

Re: Gnucash c++

2014-08-06 Thread Aaron Laws
On Tue, Aug 5, 2014 at 2:04 PM, John Ralls jra...@ceridwen.us wrote: Aaron, I've pulled and begun testing your guidcpp branch. It looks good, and I expect to merge it to master today or Thursday. Excellent! :-) What is the motivation for compiling everything as C++ if it's still really

gnucash c++

2014-08-06 Thread Aaron Laws
I tried to follow the directions at http://wiki.gnucash.org/wiki/Contributing_to_GnuCash, but I couldn't find a Bugzilla issue encapsulating the Great C++ Refactor. Should I create one so there is a place to put patches? I learned on IRC that it is generally a goal not to have C++ keywords in the

Re: gnucash c++

2014-08-06 Thread Geert Janssens
On Wednesday 06 August 2014 16:16:17 Aaron Laws wrote: I tried to follow the directions at http://wiki.gnucash.org/wiki/Contributing_to_GnuCash, but I couldn't find a Bugzilla issue encapsulating the Great C++ Refactor. Should I create one so there is a place to put patches? I learned on

Re: gnucash c++

2014-08-06 Thread John Ralls
On Aug 6, 2014, at 2:16 PM, Geert Janssens janssens-ge...@telenet.be wrote: On Wednesday 06 August 2014 16:16:17 Aaron Laws wrote: I tried to follow the directions at http://wiki.gnucash.org/wiki/Contributing_to_GnuCash, but I couldn't find a Bugzilla issue encapsulating the Great C++