BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: SV_Phichit ที่ กันยายน 23, 2011, 09:13:08 AM
-
ยกเลิกใบเสร็จแล้วจำนวนเงินในใบหน้างบผู้ป่วยในเพิ่มขึ้นทุกรายการ
เช่น ค่ายากลับบ้าน เดิมราคา 300 ยกเลิกใบเสร็จแล้วมาพิมพ์ใบหน้างบใหม่ ค่ายาจะเพิ่มเป็น 600
เป็นทุกรายการ จะเพิ่มตอนยกเลิกใบเสร็จรับเงินเท่านั้นครับ..จะต้องแก้ไขอย่างไรครับ :-[
-
ใช้ ver ไหนอ่ะ
-
ใช้ Ver 3.54.7.12 ครับ
-
รอคำตอบครับ :'(
-
ใช้สิทธิอะไรหรือครับ
-
เป็นทุกสิทธิการรักษาเลยครับ ส่วนมากจะใช้เช่นพวกบริษัทประกัน ครับ
-
ลองตรวจสอบในชุดคำสั่ง report ยังครับ..ว่าคลาดเคลื่อนหรือไม่ เกี่ยวกับสิทธิที่มีประเภทชำระเงินหลายแบบในรายการค่ารักษาบางรายการ..ที่ไม่แปรตามสิทธิบริษัทประกัน
fcds3.close;
fcds3.datarequest('select r.group_id,r.group_name,sum(h1.rcptamt) as total1,sum(h2.rcptamt) as total2, '+
' sum(h3.rcptamt) as discount '+
' from income_report2 r '+
' left outer join income i on i.group2=r.group_id '+
' left outer join incith h1 on h1.income=i.income and h1.an="'+fan+'" and h1.paidst in ("01","00","02") '+
' left outer join incith h2 on h2.income=i.income and h2.an="'+fan+'" and h2.paidst in ("03") '+
' left outer join rcpt_print_detail h3 on h3.income=i.income and h3.vn="'+fan+'" and h3.paidst in ("04") '+
' group by r.group_id, r.group_name '+
' order by r.group_id ');
fcds3.open;
fcds3.first;
while not fcds3.eof do