Re: Re: Accounting Schema - Mailing list pgsql-general

From Oliver Elphick
Subject Re: Re: Accounting Schema
Date
Msg-id 200105071714.f47HE5iW005881@linda.lfix.co.uk
Whole thread Raw
In response to Re: Accounting Schema  (Ian Harding <iharding@pakrat.com>)
List pgsql-general
Ian Harding wrote:
  >Credits are positive, debits are negative.  I have never seen an accounting
  >package that did not follow this basic rule.

It's the other way round.  To help remember:

  debit = "He owes" and represents an asset or an expense
  credit = "He trusts [to be repaid] for" and represents a liability or a
receipt.

Since debits are assets, they are naturally represented by positive sign.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Dearly beloved, avenge not yourselves, but rather give
      place unto wrath. For it is written, Vengeance is
      mine; I will repay, saith the Lord. Therefore if thine
      enemy hunger, feed him; if he thirst, give him drink;
      for in so doing thou shalt heap coals of fire on his
      head. Be not overcome of evil, but overcome evil with
      good."      Romans 12:19-21



pgsql-general by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Bug#90856: postgresql: query with unused table in from clause causes crash (fwd)
Next
From: Joel Burton
Date:
Subject: Re: PostgreSQL vs. Interbase