gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Introducing myself and questions on billing/accountin


From: Sebastian Hilbert
Subject: Re: [Gnumed-devel] Introducing myself and questions on billing/accounting
Date: Fri, 20 May 2011 11:34:32 +0200
User-agent: KMail/1.13.6 (Linux/2.6.38.4-23-desktop; KDE/4.6.0; i686; ; )

Am Freitag, 20. Mai 2011, 11:06:09 schrieb Jim Busser:
> On 2011-05-20, at 1:03 AM, Sebastian Hilbert wrote:
> > Am Freitag, 20. Mai 2011, 09:19:11 schrieb Chris Travers:
> >> As for minimally what LedgerSMB would need:
> >> 
> >> For each invoice:
> >> ...
> >> 3)  Identifier for the invoice......
> > 
> > Either supplied or auto generated by LSMB (and then handed back to GNUmed
> > for reference)
> 
> "Either supplied" means "could be supplied by the EMR"?
> 
> It could be an auto-incrementing number from a GNUmed EMR billed_item table
> and if it is possible that could collide / conflict with numbers inside
> LSMB then maybe upon transfer into LSMB the string "GM" or "EMR could be
> appended for example
> 
>       GM.1
> or    GM.0000001
> 
> OTOH it is possible that in LSMB multiple billables (say, as line items)
> might get combined into a single invoice, designated by a number/reference
> that surely LSMB must generate?

I remember from attempts to interface SQL ledger that calling the new invoice 
script the invoice number was automatically generated inside SQL ledger. This 
did break when for some reason the next in sequence was already taken. It did 
not choose next in sequence + 1 and try that but rather refuse to set a number 
automatically.  

Conflicts are possible and letting LSMB generate an invoice number would be 
better as long as it hands back that number for reference to GNUmed.

Sebastian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]