pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: johnf <jfabiani@yolo.com>
To: pgsql-sql@postgresql.org
Subject: Re: accounting schema
Date: Thu, 7 Feb 2008 08:09:46 -0800
Message-ID: <200802070809.46895.jfabiani@yolo.com> (raw)
In-Reply-To: <8078a1730802061854m7a7c2129h9e7416453fabfcaf@mail.gmail.com>
References: <20080207011622.390CE2E2F13@postgresql.org>
	<47aa6e71.07eb300a.345e.ffffca19SMTPIN_ADDED@mx.google.com>
	<8078a1730802061854m7a7c2129h9e7416453fabfcaf@mail.gmail.com>

On Wednesday 06 February 2008 06:54:36 pm Medi Montaseri wrote:
> I suppose instead of AR and AP tables, I can just have one table called
> Entry (thanks Joe....) with an attribute indicating AR vs AP.

I recommend you not do have only one table for transaction.  AR and AP are 
different animals and each can get very complex quickly.   Adding a field 
that only applies to AP and not AR is a very simple example of what goes 
wrong.

-- 
John Fabiani



view thread (8+ messages)

Message-ID: <200802070809.46895.jfabiani@yolo.com>
Permalink:  ../200802070809.46895.jfabiani@yolo.com/
Also on:    postgresql.org/message-id/200802070809.46895.jfabiani@yolo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jfabiani@yolo.com
  Subject: Re: accounting schema
  In-Reply-To: <200802070809.46895.jfabiani@yolo.com>

* 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