[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error posting POS Sale



Hi john, check if you have selectable accounts in the checkbox, if
thats your case you should set at least one in the CoA

On Feb 1, 2008 7:58 AM, john <..hidden..> wrote:
>
>  When i perform a POS Sale for either a service or product the following
> error comes up:
>
>
>  DBD::Pg::st execute failed: ERROR: null value in column "chart_id" violates
> not-null constraint
>
>
>  Error!
>  INSERT INTO acc_trans
>  (trans_id, chart_id, amount,
>  transdate, source, memo, cleared)
>  VALUES (?, (SELECT id FROM chart
>  WHERE accno = ?),
>  ?, ?, ?, ?, ?)
>  ERROR: null value in column "chart_id" violates not-null constraint
>
>
>  Using the following setup:
>  - PostgreSQL 8.2
>  - Perl v5.8.8
>  - Apache 2.2.6
>  LedgerSMB 1.2.12 from source
>
>
>  Any help is most appreciated.  Thanks in advance.
>
>  john
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Ledger-smb-users mailing list
> ..hidden..
> https://lists.sourceforge.net/lists/listinfo/ledger-smb-users
>
>