Accounting Schema - Mailing list pgsql-general

From Dave Cramer
Subject Accounting Schema
Date
Msg-id 05cf01c0d5b8$66f93240$0401a8c0@INSPIRON
Whole thread Raw
In response to Web-based Problem/Project tracking system ...  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: Accounting Schema
List 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


pgsql-general by date:

Previous
From: Paul Tomblin
Date:
Subject: Re: Would you do this?
Next
From: Ludwig Meyerhoff
Date:
Subject: Re: Would you do this?