Accounting Schema

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Accounting Schema
Date: 2001-05-05 23:09:13
Message-ID: 05cf01c0d5b8$66f93240$0401a8c0@INSPIRON
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

Can anyone out there with more experience than me give me some hints as to
how to do accounting tables in a db. The problem I am wrestling with is how
to represent credits, and debits.
One way is to identify credits and debits with a transactiontype, and keep
all of the numbers positive which models the way accountants do it. This
makes things liking calculating the balance difficult with a sql statement.

Any hints would be appreciated.

Dave

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ludwig Meyerhoff 2001-05-05 23:13:36 Re: Would you do this?
Previous Message Paul Tomblin 2001-05-05 22:59:48 Re: Would you do this?