Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1A5959F9257 for ; Tue, 6 Nov 2007 13:14:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 42645-09 for ; Tue, 6 Nov 2007 13:14:11 -0400 (AST) Received: from internetserver.x-link.local (rrcs-67-79-144-14.se.biz.rr.com [67.79.144.14]) by postgresql.org (Postfix) with ESMTP id 84A6C9F9242 for ; Tue, 6 Nov 2007 13:14:10 -0400 (AST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C82098.7B9D7576" Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5.7235.2 Subject: Error Number: 1526 Date: Tue, 6 Nov 2007 12:14:26 -0500 Message-ID: <44744676BA63674CAE733AA7D04D185D3F35CF@internetserver.x-link.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error Number: 1526 Thread-Index: AcggmII/To7FV/dDTx6V9iV5TgiJ0g== From: "Shahid Khan" To: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL=-0.093, BAYES_50=0.001, HTML_MESSAGE=0.001, RDNS_DYNAMIC=0.1 X-Spam-Level: X-Archive-Number: 200711/9 X-Sequence-Number: 9224 This is a multi-part message in MIME format. ------_=_NextPart_001_01C82098.7B9D7576 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Having a little issue, and can't seem to figure it out! Every time I try to run this insert command I get this error: select code, name, fee, med_tos, cpt_code FROM billing_code WHERE code =3D '11100' SELECT bill_code, fee_code, amount, med_tos, cpt_code FROM fee_detail WHERE bill_code =3D '11100' and fee_code =3D 'STANDARD' insert into billing_detail (item, sub_item, clienttype, client, patient, invoice, date, end_date, age_date, employee, user_code, user_time, user_date, code, code_type, diag, med_pos, med_tos, mod1, mod2, descr, amount, units, extended, item_bal, bill_pat, bill_ins, bill_never, deduct, pat_resp, est_done, est_billed, taxable, posted, inventory, inv_posted, paid, note_ins, note_stmt, emg, notes) VALUES (1, 1,'S','KENA000002','KENA000002',76964,'2007-11-06','2007-11-06','2007-11 -06','','','12:02 PM','2007-11-06','11100','CH','1234', '', '01', '', '', 'BX, SKIN, SUBQ/MUCOUS MEMBRANE (SEP PROC', 150.00, 1, 150.00, 150.00, FALSE, FALSE, FALSE, TRUE, 0.00, FALSE, FALSE, FALSE, FALSE, 1.00, FALSE, FALSE, FALSE, FALSE, 'N', 'Imported From SOAPware') Error Number: 1526 Error: Connectivity error: ERROR: duplicate key violates unique constraint "billing_detail_pkey";Error while executing the query 12:02:39.452 PM What's more interesting is if I exit everyone out of the program or run this on a not shared version of the program the command works fine!? Only one constraint: -- Constraint: billing_detail_pkey -- ALTER TABLE billing_detail DROP CONSTRAINT billing_detail_pkey; ALTER TABLE billing_detail ADD CONSTRAINT billing_detail_pkey PRIMARY KEY(rec_no); Any help is appreciated!=20 Thanks, Shahid Khan=20 ------_=_NextPart_001_01C82098.7B9D7576 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Error Number: 1526

Hello,

Having a little = issue, and can’t seem to figure it out!

Every time I = try to run = this insert command I get this error:

 select code, name, fee, med_tos, cpt_code FROM = billing_code WHERE code =3D '11100'

SELECT = bill_code, fee_code, amount, med_tos, cpt_code FROM fee_detail WHERE = bill_code =3D '11100' and fee_code =3D 'STANDARD'

insert into = billing_detail (item, sub_item, clienttype, client, patient, invoice, = date, end_date, age_date, employee, user_code, user_time, user_date, = code, code_type, diag, med_pos, med_tos, mod1, mod2, descr, amount, = units, extended, item_bal, bill_pat, bill_ins, bill_never, deduct, = pat_resp, est_done, est_billed, taxable, posted, inventory, inv_posted, = paid, note_ins, note_stmt, emg, notes) VALUES (1, = 1,'S','KENA000002','KENA000002',76964,'2007-11-06','2007-11-06','2007-11-= 06','','','12:02 PM','2007-11-06','11100','CH','1234', '', '01', '', '', = 'BX, SKIN, SUBQ/MUCOUS MEMBRANE (SEP PROC', 150.00, 1, 150.00, 150.00, = FALSE, FALSE, FALSE, TRUE, 0.00, FALSE, FALSE, FALSE, FALSE, 1.00, = FALSE, FALSE, FALSE, FALSE, 'N', 'Imported From = SOAPware')

Error Number: = 1526

Error: = Connectivity error: ERROR: duplicate key violates unique constraint = "billing_detail_pkey";Error while executing the = query

12:02:39.452 = PM

What’s more interesting is if I exit everyone out of the = program or run this on a not shared version of the program the command = works fine!?

Only = one constraint:

-- Constraint: = billing_detail_pkey

-- ALTER TABLE = billing_detail DROP CONSTRAINT billing_detail_pkey;

ALTER TABLE = billing_detail

  ADD = CONSTRAINT billing_detail_pkey PRIMARY KEY(rec_no);

Any help is = appreciated!

Thanks,

Shahid Khan

------_=_NextPart_001_01C82098.7B9D7576--