PSAVER3 ;BIR/JMB-Verify Invoices - CONT'D ;9/5/97
Source file <PSAVER3.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Drug Accountability | 2 | PSAVER PSAVER1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
SETLINE | ;Set line as verified if all data is present.
|
|
SUPPLY | ;If it is a supply, automatically verify it.
|
|
NEWDRUG | ;Store in array if drug is new to location/vault
|
|
NOTSUP | ;If it is not a supply, look for drug, qty, dispense units, dispense
|
|
GOOD | ;If no errors found, verify invoice.
|
|
;Prints verification error list
|
||
PRN | ;Entry point to print verification errors
|
|
NOVER | ;Prints errors
|
|
HDR | ;Prints header
|
|
STATUS | ;Sets invoice's status to Verified
|
|
VERIFY | ;Set line item to verified
|
|
VERIFY1 | ;NEW CODE - Set adjs if entire invioce was verified
|
|
DDQOR | ;Extended help for 'Edit field'
|
|
LNHELP | ;Extended help for 'Line Number"
|
|
PRINTYN | ;Extended help for 'Print verification report'
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(51.5 - [#51.5] | SETLINE+22 |
^PSD(58.8 - [#58.8] | SETLINE+29, SETLINE+30, NEWDRUG+2, NEWDRUG+4 |
^PSD(58.811 - [#58.811] | SETLINE+2, SETLINE+3, SETLINE+4, SETLINE+5, SETLINE+6, SETLINE+7, SETLINE+16, SETLINE+27, NEWDRUG+3*, NEWDRUG+5* , NOTSUP+10*, NOTSUP+15*, PRN+3, PRN+5, NOVER+2, STATUS+4, STATUS+5, VERIFY+4, VERIFY+5, VERIFY1+1 , VERIFY1+2, VERIFY1+3, VERIFY1+4, VERIFY1+5 |
^PSDRUG - [#50] | SETLINE+23, SETLINE+28, NEWDRUG+2, NEWDRUG+3, NEWDRUG+4, NEWDRUG+5, NOTSUP+4, NOTSUP+5, NOTSUP+8, NOTSUP+13 , VERIFY+1 |
^PSDRUG("C" | SETLINE+19 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> %ZIS | PRINT+5* |
DA | STATUS+3*, VERIFY+3!*, VERIFY1+1*, VERIFY1+2, VERIFY1+3, VERIFY1+4, VERIFY1+5 |
DA(1 | STATUS+3*, VERIFY+3* |
DA(2 | VERIFY+3* |
DIE | STATUS+3*, STATUS+6!, VERIFY+3*, VERIFY+6! |
>> DILOCKTM | STATUS+4, VERIFY+4 |
DIR | PRINT+3! |
DIR("?" | PRINT+2* |
DIR("??" | PRINT+2* |
DIR("A" | PRINT+1* |
DIR("B" | PRINT+1* |
DIR(0 | PRINT+1* |
>> DR | STATUS+3*, VERIFY+3* |
DT | VERIFY+3 |
>> DTOUT | PRINT+3 |
>> DUOUT | PRINT+3 |
DUZ | STATUS+3, VERIFY+3, VERIFY1+3 |
IO("Q" | PRINT+6 |
IOF | PRN+10, HDR+1, HDR+2 |
IOSL | NOVER+3, NOVER+4 |
IOST | PRN+10, NOVER+3, NOVER+4, HDR+1, HDR+2 |
>> POP | PRINT+5 |
>> PSAA | SETLINE+4* |
>> PSACSLN | VERIFY+1*, VERIFY+2* |
>> PSADATA | SETLINE+2*, SETLINE+13, SETLINE+16, SETLINE+22, NOTSUP+2, NOTSUP+3, NOTSUP+6, NOTSUP+10*, NOTSUP+15* |
>> PSADJ | SETLINE+1*, SETLINE+5*, SETLINE+6, SETLINE+7, VERIFY1+4*, VERIFY1+5* |
>> PSADJN | SETLINE+1*, SETLINE+7*, SETLINE+8, SETLINE+9, SETLINE+10, SETLINE+11, SETLINE+12 |
PSADRG | SETLINE+1!, SETLINE+9*, SETLINE+10*, SETLINE+13*, SETLINE+15, SETLINE+19, SETLINE+23, SETLINE+28, SETLINE+29, SETLINE+30 , NEWDRUG+1, NEWDRUG+2, NEWDRUG+3, NEWDRUG+4, NEWDRUG+5, NOTSUP+2, NOTSUP+4, NOTSUP+5, NOTSUP+8, NOTSUP+13 , VERIFY+1 |
>> PSADUOU | SETLINE+20*, SETLINE+28*, NOTSUP+5 |
>> PSAERR | SUPPLY+1, SUPPLY+2, NOTSUP+18*, NOTSUP+19, PRN+1*, HDR+4, HDR+5 |
PSAHOLD | GOOD+5! |
PSAHOLD( | NEWDRUG+3*, NEWDRUG+5*, GOOD+2, GOOD+3, GOOD+4 |
>> PSAIEN | SETLINE+2, SETLINE+3, SETLINE+4, SETLINE+5, SETLINE+6, SETLINE+7, SETLINE+16, SETLINE+27, NEWDRUG+3, NEWDRUG+5 , NOTSUP+2, NOTSUP+3, NOTSUP+4, NOTSUP+5, NOTSUP+6, NOTSUP+9, NOTSUP+10, NOTSUP+11, NOTSUP+14, NOTSUP+15 , NOTSUP+16, NOTSUP+18, GOOD+3, GOOD+4, PRN+2*, PRN+3, PRN+4, PRN+5, PRN+6, PRN+8 , NOVER+1, NOVER+2, STATUS+3, STATUS+4, STATUS+5, VERIFY+3, VERIFY+4, VERIFY+5, VERIFY1+1, VERIFY1+2 , VERIFY1+3, VERIFY1+4, VERIFY1+5 |
>> PSAIEN1 | SETLINE+2, SETLINE+3, SETLINE+4, SETLINE+5, SETLINE+6, SETLINE+7, SETLINE+16, SETLINE+27, NEWDRUG+3, NEWDRUG+5 , NOTSUP+2, NOTSUP+3, NOTSUP+4, NOTSUP+5, NOTSUP+6, NOTSUP+9, NOTSUP+10, NOTSUP+11, NOTSUP+14, NOTSUP+15 , NOTSUP+16, NOTSUP+18, GOOD+3, GOOD+4, PRN+4*, PRN+5, PRN+6, NOVER+1, NOVER+2, STATUS+3 , STATUS+4, STATUS+5, VERIFY+3, VERIFY+4, VERIFY+5, VERIFY1+1, VERIFY1+2, VERIFY1+3, VERIFY1+4, VERIFY1+5 |
>> PSAIN | NEWDRUG+2, NEWDRUG+3, NEWDRUG+4, NEWDRUG+5, NOTSUP+9, NOTSUP+11, NOTSUP+14, NOTSUP+16, PRN+5*, HDR+4 |
>> PSAINV | PRN+5* |
>> PSAL | GOOD+2*, GOOD+3, GOOD+4 |
>> PSALEN | NOVER+1*, NOVER+3, NOVER+4 |
>> PSALINE | SETLINE+2, SETLINE+3, SETLINE+4, SETLINE+5, SETLINE+6, SETLINE+7, SETLINE+16, NEWDRUG+3, NEWDRUG+5, NOTSUP+2 , NOTSUP+3, NOTSUP+4, NOTSUP+5, NOTSUP+6, NOTSUP+9, NOTSUP+10, NOTSUP+11, NOTSUP+14, NOTSUP+15, NOTSUP+16 , NOTSUP+18, PRN+1*, PRN+6*, NOVER+1, NOVER+2, VERIFY+3, VERIFY1+1, VERIFY1+2, VERIFY1+3, VERIFY1+4 , VERIFY1+5 |
>> PSALINEN | NOVER+2*, NOVER+5 |
>> PSALNERR | NOTSUP+18* |
>> PSALNSU | SETLINE+9*, SETLINE+15, SUPPLY+1 |
>> PSALOC | SETLINE+27*, SETLINE+29, SETLINE+30 |
>> PSANAME | GOOD+3*, GOOD+4 |
>> PSANDC | SETLINE+16*, SETLINE+19 |
>> PSANEWD( | GOOD+4* |
>> PSANO | NOVER+1*, NOVER+6, NOVER+7, NOVER+8, NOVER+9, NOVER+10, NOVER+11, NOVER+12 |
>> PSANOVER( | NOTSUP+2*, NOTSUP+3*, NOTSUP+4*, NOTSUP+5*, NOTSUP+6*, NOTSUP+9*, NOTSUP+11*, NOTSUP+14*, NOTSUP+16*, NOTSUP+18 , PRN+2, PRN+4, PRN+6, PRN+8!, NOVER+1 |
>> PSANOVER(0 | PRINT+8 |
>> PSAORD | PRN+3*, HDR+4 |
PSAOU | SETLINE+1!, SETLINE+11*, SETLINE+21, SETLINE+22*, SETLINE+23*, SETLINE+24*, NOTSUP+6 |
>> PSAOUT | PRINT+3*, PRN+1*, PRN+2, PRN+4, PRN+6, NOVER+3 |
>> PSAPG | PRN+1*, NOVER+3, NOVER+4, HDR+2, HDR+3* |
>> PSAPRINT | SUPPLY+1, PRN+1* |
PSAQTY | SETLINE+1!, SETLINE+12*, SETLINE+13*, NOTSUP+3 |
>> PSAREA | VERIFY1+6* |
>> PSAREORD | SETLINE+20*, SETLINE+30* |
>> PSASAVE | PRINT+9* |
>> PSASLN | HDR+4, HDR+5 |
>> PSASTOCK | SETLINE+20*, SETLINE+29* |
>> PSASUB | SETLINE+18*, SETLINE+19*, SETLINE+23, SETLINE+25, SETLINE+28, NOTSUP+5 |
>> PSASUP | SETLINE+9*, SETLINE+15, SUPPLY+2 |
>> PSATAB | NOVER+2*, NOVER+6, NOVER+7, NOVER+8, NOVER+9, NOVER+10, NOVER+11, NOVER+12 |
>> PSATEMP | SETLINE+16*, SETLINE+18, SETLINE+20, SETLINE+24 |
>> Y | PRINT+4 |
>> ZTDESC | PRINT+7* |
>> ZTRTN | PRINT+7* |
>> ZTSAVE( | PRINT+9* |
>> ZTSAVE("PSANOVER(" | PRINT+8* |