From: Josh Berkus <josh@agliodbs.com>
To: ddurst@larubber.com, <pgsql-sql@postgresql.org>
Subject: Re: LONG - Question on dealing w/ numerics
Date: Tue, 28 Jan 2003 18:50:54 -0800
Message-ID: <web-2526641@davinci.ethosmedia.com> (raw)
In-Reply-To: <34281.216.86.192.34.1043801682.squirrel@www.la-rubber.com>
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
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: josh@agliodbs.com
Subject: Re: LONG - Question on dealing w/ numerics
In-Reply-To: <web-2526641@davinci.ethosmedia.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