Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B26C72E2D83 for ; Thu, 7 Feb 2008 11:52:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 49854-07 for ; Thu, 7 Feb 2008 11:52:46 -0400 (AST) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.177]) by postgresql.org (Postfix) with ESMTP id 3170E2E02DC for ; Thu, 7 Feb 2008 11:52:46 -0400 (AST) Received: by el-out-1112.google.com with SMTP id r27so1502515ele.5 for ; Thu, 07 Feb 2008 07:52:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=1aji4qpWRgP0mD2sKzoJG66xoh7dIpz3URUM/begKHA=; b=Zq2kfj4OgqYnWW5KHd4N5QHRh2tTKwRu36UUP5vubbnAGdddK25fY1PgwrytAESeBNb+YONsqMlX2cJEXSGeON8DX5q0ET5h94df6/9WRBNcYf2hiD4Otpt5KQwPqAfDe5wVgACoQetA3HlzDVeWC/U8a/FhtHbSROEBPnwCBlc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZjYh62xRnO8TMQItJovA89QCwKax+KkMjZXHmqt479tzZdEwef41dcx4EYrevx/4ni5DM2ZYlcNRAT4uhV0rBMcU/2ijGY0nI9Agw7PwnsuTy8u/tqfe1pOKYgWFT/U4k5338ofh5niQkHfO3GvLeOaqyN7UubhKoanG17oG7G4= Received: by 10.142.232.20 with SMTP id e20mr6292893wfh.198.1202399563065; Thu, 07 Feb 2008 07:52:43 -0800 (PST) Received: by 10.142.101.1 with HTTP; Thu, 7 Feb 2008 07:52:43 -0800 (PST) Message-ID: <6d8daee30802070752g74673b79s4d5cfb3cdad25a01@mail.gmail.com> Date: Thu, 7 Feb 2008 08:52:43 -0700 From: "Tony Wasson" To: "Medi Montaseri" Subject: Re: accounting schema Cc: pgsql-sql@postgresql.org In-Reply-To: <8078a1730802061708q17c72234xe61be822459a24a8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8078a1730802061708q17c72234xe61be822459a24a8@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/55 X-Sequence-Number: 30146 On Feb 6, 2008 6:08 PM, Medi Montaseri wrote: > I am learning my way into Accounting and was wondering how Accounting > applications are designed. perhaps you could point the way.... > As a DBA, (and keeping it simple) I am thinking I need a table for every > account which migh look like > > id, description, credit, debit, validated, created_on, created_by, > modified_on, modified_by > > Is that pretty match it ? > Please let me know if you have seen some accounting or DB book that > addresses this problem domain. Another codebase to look at is http://www.sql-ledger.org/. It uses postgresql. Regards, Tony