FBAAEPI ;AISC/GRR - EDIT PREVIOUSLY ENTERED PHARMACY INVOICE ;11/20/2014
Source file <FBAAEPI.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
RD | ||
LASTRXDT | ;Look up last RX FILL DATE in selected invoice, for use in validating Invoice Received Date if it is edited.
|
|
BADDATE(LASTRXDT,INVRCVDT) | ;Reject entry if InvRcvDt is Prior to the last Rx Fill Date on the Invoice
|
|
END | ||
GETIPAC(FBDA,FBVEN,FBIA,FBDODINV) | ; Get vendor/IPAC data for Pharmacy (FB*3.5*123)
; All parameters required and assumed to exist ; Called by $$IPACEDIT^FBAAPET1 |
|
DELIPAC(FBDA) | ; Delete all IPAC data on file for Pharmacy (FB*3.5*123)
; Called by $$IPACEDIT^FBAAPET1 |
|
SAVEIPAC(FBDA,FBIA,FBDODINV,WHICH) | ; Store IPAC data into the database for Pharmacy (FB*3.5*123)
; Called by $$IPACEDIT^FBAAPET1 |
|
SODPINV(FBDA) | ; check separation of duty for pharmacy invoice
; checks all prescriptions on invoice for separation of duty issue ; input ; FBDA (required) IEN of pharmacy invoice in file 162.1 ; DUZ (current user) ; result ; = 0 if user did not enter or edit any associated authorization ; = 1 if user did enter or edit at least one associated authorization ; and thus should be prevented from processing the payment |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
FileNo | Call Tags |
---|---|
^FBAA(162.1 - [#162.1] | Classic Fileman Calls |