BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: perzyboy ที่ มกราคม 13, 2016, 10:07:38 AM
-
อยากให้มี popup แจ้งเตือนการสั่งยา Analgesic cream 30g.(Flanil) และ A.F.Balm 500 gm.(กระปุก) ไม่เกิน 1 หลอด หรือ 1 กระปุก ต่อคน ต่อ1 เดือนครับ
-
SYS_VN_PRE_SCRIPT ยานวด
if getsqldata('select count(distinct(v.vn)) as cc from ovst v '+
' inner join opitemrece o on o.vn=v.vn '+
' where v.vstdate >= SYSDATE() - INTERVAL 30 DAY '+
' and o.icode="icode-ยานวด" and v.hn="'+fhn+'" ')>0 then
begin
showmessage('ระบบตรวจสอบพบว่ามีการสั่งใช้ ยานวด/balm ไปแล้วในช่วง 1 เดือนที่ผ่านมา');
end;
ส่วนเรื่องการสั่งใช้ก็ตั้งจำกัดจำนวนเอาก็ได้ครับ
-
SYS_VN_PRE_SCRIPT ยานวด
if getsqldata('select count(v.vn) as cc from ovst v '+
' inner join opitemrece o on o.vn=v.vn '+
' where v.vstdate >= SYSDATE() - INTERVAL 30 DAY '+
' and o.icode="icode-ยานวด" and v.hn="'+fhn+'" ')>0 then
begin
showmessage('ระบบตรวจสอบพบว่ามีการสั่งใช้ ยานวด/balm ไปแล้วในช่วง 1 เดือนที่ผ่านมา');
end;
ยาไม่มีในหลอดทำงัยครับ. อ.กอล์ฟ มีแต่หลอดไม่มียา เลยหมดไว
-
ต้องใช้แบบ refill ครับพี่เกื้อ