pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Hasler <john@dhh.gt.org>
To: PostgreSQL-SQL <pgsql-sql@postgresql.org>
Subject: Re: Invoice number
Date: 21 Dec 2000 14:41:31 -0600
Message-ID: <878zp9qzgk.fsf@toncho.dhh.gt.org> (raw)
References: <dalgoda@ix.netcom.com>
	<200012211750.eBLHohP12000@linda.lfix.co.uk>
	<20001221130833.C5263@thune.mrc-home.org>

Mike Castle writes:
> Client 3 comes along.  Do they use invoice #1, out of order, or invoice
> #3?

It shouldn't matter, as long as every number is accounted for.

Seems to me that a trigger could make a log entry every time the serial is
incremented.  Workable?

> What happens in a paper world if a cup of coffee is spilt on some
> invoices, and these precious items are thrown in the trash?

They are returned to accounting with an explanatory note, the numbers are
logged as "voided", and the spoiled forms are shredded.
-- 
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin



view thread (12+ messages)  latest in thread

Message-ID: <878zp9qzgk.fsf@toncho.dhh.gt.org>
Permalink:  ../878zp9qzgk.fsf@toncho.dhh.gt.org/
Also on:    postgresql.org/message-id/878zp9qzgk.fsf@toncho.dhh.gt.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: john@dhh.gt.org
  Subject: Re: Invoice number
  In-Reply-To: <878zp9qzgk.fsf@toncho.dhh.gt.org>
  References: <dalgoda@ix.netcom.com> <200012211750.eBLHohP12000@linda.lfix.co.uk> <20001221130833.C5263@thune.mrc-home.org> <878zp9qzgk.fsf@toncho.dhh.gt.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox