Re: Chart of Accounts

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: Chart of Accounts
Дата
Msg-id 48F4DBAB.9090404@pinpointresearch.com
обсуждение исходный текст
Ответ на Re: Chart of Accounts  ("Isak Hansen" <isak.hansen@gmail.com>)
Список pgsql-general
Isak Hansen wrote:
> On Mon, Oct 13, 2008 at 2:57 AM, justin <justin@emproshunts.com> wrote:
>
>> [...]  Also you want to split out the debit and credits instead of
>> using one column.  Example one column accounting table to track values
>> entered how do you handle Crediting a Credit Account Type.  is it a negative
>> or positive entry???
>>
>
> How is crediting a credit account different from crediting any other account?
>
> YMMV, but I think a single amount column makes for a more consistent design.
>
>
My accounting knowledge is really rusty, but I do remember that "credit"
and "debit" have specific meanings in accounting theory and refer to the
left (debit) and right (credit) columns of a "T" account. The sum of the
debit columns across all accounts in the ledger must match the sum of
the credit columns (the books are "balanced"). To keep the ledger
balanced, every transaction requires two (or more) entries into the
appropriate accounts and the debit-side and credit-side entries must match.

So if you are modeling a standard general-ledger double-entry accounting
system, two columns is an appropriate approach.

Cheers,
Steve




В списке pgsql-general по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Why select 1 where current_date = 'infinity'; doesn't work?
Следующее
От: Erik Jones
Дата:
Сообщение: Re: Drupal and PostgreSQL - performance issues?