Re: cmd line: import of transactions and invoice data

2014-01-01 Thread Graham Leggett
On 01 Jan 2014, at 7:25 PM, John Ralls wrote: > Gnucash *probably* writes things to the XML file in the same order that they > were read > in just because we use linked lists for just about everything internally, but > there's > no guarantee of that and it might well create excessive churn in a

Re: cmd line: import of transactions and invoice data

2014-01-01 Thread John Ralls
On Jan 1, 2014, at 2:04 AM, Emmanuel Florent wrote: > First of all I wish to the Gnucash community a very good year 2014, could > it be just as it ended the previous year: brilliant ! > > Secondly a big applause for latest release ! > > So here is my solution, a wrapper: > -load xml from "some

Re: cmd line: import of transactions and invoice data

2014-01-01 Thread Emmanuel Florent
First of all I wish to the Gnucash community a very good year 2014, could it be just as it ended the previous year: brilliant ! Secondly a big applause for latest release ! So here is my solution, a wrapper: -load xml from "somewhere", -open gnucash, -do work -close gnucash -save Gc xml to db. S

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread John Ralls
On Dec 31, 2013, at 1:15 PM, Jannick wrote: > John Ralls ceridwen.us> writes: > >> It updates the database after any change to the in-memory data. At least we >> think it does, but we don’t yet have complete test coverage to be sure that >> we haven’t missed something in our audits. > > John,

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread Jannick
John Ralls ceridwen.us> writes: > It updates the database after any change to the in-memory data. At least we > think it does, but we don’t yet have complete test coverage to be sure that > we haven’t missed something in our audits. John, this is very helpful. There might be two options: Eithe

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread John Ralls
On Dec 31, 2013, at 11:50 AM, Jannick wrote: > Derek Atkins ihtfp.com> writes: > > Hi, > >> On Tue, December 31, 2013 11:36 am, Emmanuel Florent wrote: Coming from another (back-)end: Do you know if someone has gone down the implementation route to import data into the MySQL db? >>>

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread Jannick
Derek Atkins ihtfp.com> writes: Hi, > On Tue, December 31, 2013 11:36 am, Emmanuel Florent wrote: > >> Coming from another (back-)end: Do you know if someone has gone down the > >> implementation route to import data into the MySQL db? > > > > > > Is that right that Gnucash empty all the tables

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread Derek Atkins
Hi, On Tue, December 31, 2013 11:36 am, Emmanuel Florent wrote: >> Coming from another (back-)end: Do you know if someone has gone down the >> implementation route to import data into the MySQL db? > > > Is that right that Gnucash empty all the tables in db then rewrite them so > the db bridge is

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread John Ralls
On Dec 31, 2013, at 8:36 AM, Emmanuel Florent wrote: >> Coming from another (back-)end: Do you know if someone has gone down the >> implementation route to import data into the MySQL db? > > > Is that right that Gnucash empty all the tables in db then rewrite them so > the db bridge is not po

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread John Ralls
On Dec 31, 2013, at 8:03 AM, Jannick wrote: > Geert Janssens telenet.be> writes: > >> >> On Tuesday 31 December 2013 10:34:41 Derek Atkins wrote: >>> Hi, >>> >>> On Tue, December 31, 2013 9:59 am, Jannick wrote: I am currently looking into using gnucash on a command line basis. Are

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread Emmanuel Florent
> Coming from another (back-)end: Do you know if someone has gone down the > implementation route to import data into the MySQL db? Is that right that Gnucash empty all the tables in db then rewrite them so the db bridge is not possible in your case ? EF ... > > Many thanks again. > J. > > ___

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread Jannick
Geert Janssens telenet.be> writes: > > On Tuesday 31 December 2013 10:34:41 Derek Atkins wrote: > > Hi, > > > > On Tue, December 31, 2013 9:59 am, Jannick wrote: > > > I am currently looking into using gnucash on a command line basis. > > > Are there > > > - if any - command line instructions t

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread Geert Janssens
On Tuesday 31 December 2013 10:34:41 Derek Atkins wrote: > Hi, > > On Tue, December 31, 2013 9:59 am, Jannick wrote: > > I am currently looking into using gnucash on a command line basis. > > Are there > > - if any - command line instructions to import (1) transactions and > > (2) invoice data (ex

Re: cmd line: import of transactions and invoice data

2013-12-31 Thread Derek Atkins
Hi, On Tue, December 31, 2013 9:59 am, Jannick wrote: > I am currently looking into using gnucash on a command line basis. Are > there > - if any - command line instructions to import (1) transactions and (2) > invoice data (example file shipped with the latest 29.12.2013 version). > > Many thanks

cmd line: import of transactions and invoice data

2013-12-31 Thread Jannick
I am currently looking into using gnucash on a command line basis. Are there - if any - command line instructions to import (1) transactions and (2) invoice data (example file shipped with the latest 29.12.2013 version). Many thanks and have a great 2014! J. __