Re: LONG - Question on dealing w/ numerics

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: LONG - Question on dealing w/ numerics
Дата
Msg-id web-2526641@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на LONG - Question on dealing w/ numerics  ("David Durst" <ddurst@larubber.com>)
Список pgsql-sql
David,

> I have a function that is to create a Accounting JOURNAL entry.
> The strange thing is the function works for simple entries such as:

> Here is the function and I can't seem to figure out what is LOGICALLY
> wrong and would produce these results.

I'm not sure the problem is with the function.   I think the problem is
with your program logic, as the funciton just inserts a *single*
journal line and updates the balance.

How do you insert the 4 entries required by a full double-entry
transfer as you described?

Also, how about posting a schema?

-Josh


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

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Problem with query
Следующее
От: "Josh Berkus"
Дата:
Сообщение: Re: LONG - Question on dealing w/ numerics