gnumed-bugs
[Top][All Lists]
Advanced

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

Re: [Gnumed-bugs] [Gnumed-devel] Unhandled exception on Office > List bi


From: abc
Subject: Re: [Gnumed-bugs] [Gnumed-devel] Unhandled exception on Office > List bills
Date: Sat, 21 Jul 2012 22:41:59 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0

On 20.07.2012 01:29, Busser, Jim wrote:
Actually, it's possible that
1) the original bill had been bootstrapped (together with a few patient-related 
billed items, perhaps related to Kirk)

gnumed_v17=> select * from bill.bill ;
  pk_audit | row_version |         modified_when         | modified_by | pk |   
      invoice_id          |          close_date           | apply_vat | 
fk_receiver_identity | fk_receiver_address | fk_doc
----------+-------------+-------------------------------+-------------+----+-----------------------------+-------------------------------+-----------+----------------------+---------------------+--------
   1658952 |           0 | 2012-06-12 16:54:50.707435-07 | gm-dbo      |  1 | 
address@hidden    |                               | t         |                 
     |                     |

and

2) that I had deleted those items via psql as part of cleaning out such "demo" 
items and also cleaning out the reference table of billable items, and that I had deleted 
the items without deleting the bill to which they were attached.


For me to have been able to do so, does a referential integrity attribute or 
trigger warrant to be added to the table

        bill.bill

??
Yes. Will add that. I remember considering adding this trigger but apparently did not actually do so.

Karsten



reply via email to

[Prev in Thread] Current Thread [Next in Thread]