Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSAREC1

Package: Drug Accountability

Routine: PSAREC1


Information

PSAREC1 ;BIR/LTL,JMB-Receiving Directly into Drug Accountability - CONT'D ;7/23/97

Source Information

Source file <PSAREC1.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 4 ^%DT  NOW^%DTC  ^DIC  ^DIE  
Drug Accountability 1 PSANDC1^PSAHELP  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Drug Accountability 1 PSAREC  

Entry Points

Name Comments DBIA/ICR reference
POST ;Posts the data in 58.8, 58.81, and 50
MONTHLY
TR
FIND
ACT
50
NEXT
SYNONYM
PRICEHLP ;Extended help for price per order unit

External References

Name Field # of Occurrence
^%DT MONTHLY+4
NOW^%DTC POST+1
^DIC POST+6, MONTHLY+3, MONTHLY+5, FIND+1, ACT+2, SYNONYM+7
^DIE MONTHLY+6, MONTHLY+7, FIND+2, 50+12, 50+20, 50+24, 50+28, SYNONYM+11
PSANDC1^PSAHELP SYNONYM

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"There were ",$S($P($G(^PSD(58.8,PSALOC,1,PSADRG,0)),"^",4):$P($G(^(0)),"^",4),1:0)," on hand.",?40,"There are now ",$P($G(^(0)),"^",4)+PSAREC," on hand.",!
  • Line Location: POST+7
Function Call: WRITE
  • Prompt: !,"Updating monthly receipts and transaction history.",!
  • Line Location: MONTHLY+8
Function Call: WRITE
  • Prompt: !?5,"Enter the cost for each order unit."
  • Line Location: PRICEHLP+1
Routine Call
  • DIC
  • Line Location:
    • POST+6
    • MONTHLY+3
    • MONTHLY+5
    • FIND+1
    • ACT+2
    • SYNONYM+7
Routine Call
  • DIE
  • Line Location:
    • MONTHLY+6
    • MONTHLY+7
    • FIND+2
    • 50+12
    • 50+20
    • 50+24
    • 50+28
    • SYNONYM+11

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSDRUG - [#50] Classic Fileman Calls
^PSD(58.8 - [#58.8] Classic Fileman Calls
^PSD(58.81 - [#58.81] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(50 SYNONYM+2
^DD(58.8 POST+3
^DD(58.8001 MONTHLY+2, FIND+4
^PSD(58.8 - [#58.8] POST+2, POST+3, POST+5, POST+6, POST+7, POST+8, POST+9*, POST+10, MONTHLYMONTHLY+2
FIND+4, ACT+1, ACT+3, 5050+2, 50+3, 50+4
^PSD(58.81 - [#58.81] TR, FIND*, FIND+3
^PSDRUG - [#50] 50+5, 50+10, 50+11, 50+12, 50+13, 50+19, 50+20, 50+23, 50+24, 50+27
50+28, SYNONYM+2, SYNONYM+4, SYNONYM+6, SYNONYM+7, SYNONYM+10, SYNONYM+11
^PSDRUG("C" SYNONYM+1

Label References

Name Line Occurrences
FIND FIND
NEXT 50+15

Naked Globals

Name Field # of Occurrence
^(0 POST+7, MONTHLY+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% POST+1!
DA POST+4*, POST+6!, MONTHLY+5*, MONTHLY+7*, FIND+2*, ACT+3!, 50+10*, 50+11, 50+12!, 50+18*
50+19, 50+20!, 50+22*, 50+23, 50+24!, 50+26*, 50+27, 50+28!, SYNONYM+2!, SYNONYM+8*
DA(1 POST+4*, MONTHLY+3*, MONTHLY+5*, MONTHLY+6*, MONTHLY+7*, ACT*, SYNONYM+3*, SYNONYM+5, SYNONYM+8
DA(2 MONTHLY+3*, MONTHLY+5*, MONTHLY+6*, MONTHLY+7*, ACT*
DIC POST+4*, POST+6!, MONTHLY+3*!, MONTHLY+5*!, FIND+1*!, ACT*, ACT+3!, SYNONYM+5*, SYNONYM+7!
DIC("DR" MONTHLY+3*
DIC("P" POST+3*, MONTHLY+2*, FIND+4*, SYNONYM+2*
DIC(0 POST+4*, MONTHLY+3*, MONTHLY+5*, FIND+1*, ACT*, SYNONYM+5*
DIE MONTHLY+6*!, MONTHLY+7*, FIND+2*, 50+10*, 50+12!, 50+18*, 50+20!, 50+22*, 50+24!, 50+26*
50+28!, SYNONYM+8*, SYNONYM+12!
>> DILOCKTM POST+5, POST+8, TRACT+1, 50+11, 50+19, 50+23, 50+27, SYNONYM+6, SYNONYM+10
DINUM MONTHLY+3*!, MONTHLY+5*!, FIND+1*!, ACT*, ACT+3!
DLAYGO POST+4*, MONTHLY+3*!, MONTHLY+5*!, FIND+1*!, ACT*, ACT+3!, SYNONYM+5*, SYNONYM+7!
DR MONTHLY+6*, MONTHLY+7*, FIND+2*, 50+10*, 50+18*, 50+22*, 50+26*, SYNONYM+2!, SYNONYM+9*, SYNONYM+12!
DT MONTHLYMONTHLY+3, MONTHLY+7, 50+2
>> PSA 50*, 50+1, 50+2, 50+3, 50+4
>> PSA50SYN SYNONYM+1*, SYNONYM+4, SYNONYM+7*, SYNONYM+8
>> PSACBAL POST+9, 50+1, 50+6, 50+9
>> PSACOST 50+7*
>> PSADASH SYNONYM*
>> PSADRG POST+2, POST+4, POST+7, POST+8, POST+9, POST+10, MONTHLYMONTHLY+2, MONTHLY+3, MONTHLY+5
MONTHLY+6, MONTHLY+7, FIND+4, ACT5050+4, 50+5, 50+10, 50+13, 50+18
50+22, 50+26, SYNONYM+1, SYNONYM+2, SYNONYM+3, SYNONYM+4, SYNONYM+6, SYNONYM+7, SYNONYM+10, SYNONYM+11
>> PSADT POST+1*
>> PSADUOU 50+7, 50+16, 50+25
>> PSALEN 50+8*
>> PSALOC POST+2, POST+3, POST+4, POST+5, POST+6, POST+7, POST+8, POST+9, POST+10, MONTHLY
MONTHLY+2, MONTHLY+3, MONTHLY+5, MONTHLY+6, MONTHLY+7, FIND+4, ACTACT+1, ACT+3, 50+1
>> PSANDC 50+15, 50+17, NEXTSYNONYM+1, SYNONYM+5
PSANDCX SYNONYM!
>> PSANODE 50+5*, 50+7, 50+15, 50+16, 50+21, 50+25
>> PSANPDU 50+7*, 50+9*, 50+15, 50+21
>> PSANPOU 50+7*, 50+8*, 50+9*, 50+21, 50+22
>> PSAODASH 50+13*, 50+14
>> PSAONDC 50+14*, 50+15, 50+17
>> PSAOU 50+16, 50+25, SYNONYM+9
>> PSAPDU 50+9, SYNONYM+9
>> PSAPOU 50+9, SYNONYM+9
>> PSAREC POST+7, POST+9, MONTHLY+7, 50+7, 50+10
>> PSAT FIND*, FIND+1, FIND+2, ACT
>> PSATDRG 50*, 50+1*, 50+4*, 50+6, 50+7*, 50+9*
>> PSAVEND SYNONYM+9
>> X POST+4*, MONTHLY+3*, MONTHLY+4*, MONTHLY+5*, FIND+1*, ACT*, SYNONYM+5*
>> Y MONTHLY+5, SYNONYM+4, SYNONYM+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All