Re: [Ledger-smb-devel] Migrating from gnucash

2012-02-07 Thread Federico Gasparrini
Hi Chris, I've got all the transactions transferred into ledgersmb but something is not quite right, so I might have missed something. When I transfer the receipts I enter them as "overpayments" as I don't have information on what payment went to what invoice, just the client. To do that I c

Re: [Ledger-smb-devel] 1.4 ; db TABLEs invoice,orderitems ; drop field precision ?

2012-02-07 Thread Chris Travers
On Tue, Feb 7, 2012 at 2:00 AM, herman vierendeels < [email protected]> wrote: > Hello Chris, > > One last general question. > > When a db-field can easily be calculated from another db-field, why > should we store it ? > > Like in OE.pm: > decimalplaces is re-calculated from fetched se

Re: [Ledger-smb-devel] 1.4 ; db TABLEs invoice,orderitems ; drop field precision ?

2012-02-07 Thread herman vierendeels
Hello Chris, One last general question. When a db-field can easily be calculated from another db-field, why should we store it ? Like in OE.pm: decimalplaces is re-calculated from fetched sellprice. (not set from also fetched precision) ($decimalplaces) = ( $ref->{sellprice} =~ /\.(\d+)/ ); Bes