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: PSDNTT1

Package: Controlled Substances

Routine: PSDNTT1


Information

PSDNTT1 ;BIR/BJW - Transfer Green Sheet - Receive this NAOU ;17 JUL 97

Source Information

Source file <PSDNTT1.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 5 NOW^%DTC  ^DIC  FILE^DICN  ^DIE  IX^DIK  
MailMan 1 ^XMD  

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
Controlled Substances 1 PSDNTT  

Entry Points

Name Comments DBIA/ICR reference
COM ;complete order and transaction
DIE ;create the order request in 58.8
DIE2
ADD ;find entry number in 58.81
FIND
EDIT ;edit new transaction in 58.81
BAL ;update naou to balance
COMP ;completed msg
MSG ;send mail message
END
DRUG ;add drug and inactivate it

External References

Name Field # of Occurrence
NOW^%DTC COM+1
^DIC FIND+1
FILE^DICN DIE2+2, DRUG+2
^DIE DIE2+6, DRUG+3
IX^DIK EDIT+10
^XMD MSG+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Accessing ",PSDRGN," information...",!!
  • Line Location: COM+2
Function Call: WRITE
  • Prompt: !!,"Updating your records now..."
  • Line Location: COM+4
Function Call: WRITE
  • Prompt: "order..."
  • Line Location: DIE2+1
Function Call: WRITE
  • Prompt: "transaction..."
  • Line Location: DIE2+8
Function Call: WRITE
  • Prompt: "done.",!!
  • Line Location: COMP+1
Function Call: WRITE
  • Prompt: ?2,!,"*** The status of your Green Sheet #"_PSDPN_" is now",!,?2,$S($P($G(^PSD(58.82,STAT,0)),"^")]"":$P(^(0),"^"),1:"UNKNOWN")_" ***",!
  • Line Location: COMP+3
Routine Call
  • DIC
  • Line Location:
    • FIND+1
Routine Call
  • DIE
  • Line Location:
    • DIE2+6
    • DRUG+3

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" COM+1
^PSD(58.8 - [#58.8] COM+3, DIE+3, DIE+4, DIE2*, DIE2+4, DIE2+7, EDIT+5, EDIT+12*, BAL+1, BAL+3*
BAL+4, DRUG+1
^PSD(58.81 - [#58.81] ADD+1, FIND*, FIND+2, EDIT+4, EDIT+6*, EDIT+7*, EDIT+8*, EDIT+9*, EDIT+13*, COMP+2
^PSD(58.82 - [#58.82] COMP+3
^TMP("PSDNTMSG" MSG+1!*, MSG+2*, MSG+3*, MSG+4*, MSG+5*, MSG+8!
^XUSEC("PSDMGR" MSG+7

Label References

Name Line Occurrences
DIE2 DIE2
DRUG COM+3
END COMP+4
FIND FIND

Naked Globals

Name Field # of Occurrence
^(0 DIE+4*, COMP+3, DRUG+1*
^(7 EDIT+13*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % COM+1
>> AOU COM+3, DIE+3, DIE+4, DIE2DIE2+2, DIE2+3, DIE2+4, DIE2+7, EDIT+5, EDIT+6
EDIT+12, EDIT+13, BAL+1, BAL+3, BAL+4, DRUG+1, DRUG+2, DRUG+3
>> AOUN MSG+4
DA DIE2+2!, DIE2+3*, EDIT+10!*, DRUG+2!, DRUG+3!*
DA(1 DIE2+2*, DIE2+3*, DRUG+2*, DRUG+3*
DA(2 DIE2+2*, DIE2+3*
DD DIE2+2!, DRUG+2!
DIC DIE2+2!*, FIND+1!*, DRUG+2!*
DIC(0 DIE2+2*, FIND+1*, DRUG+2*
DIE DIE2+2!*, DIE2+6!, DRUG+2!*, DRUG+3!
DIK EDIT+10!*
>> DILOCKTM DIE+3, ADD+1, BAL+1
>> DINUM DIE2+2*, FIND+1*, DRUG+2*
DLAYGO FIND+1!*
DO DIE2+2!, DRUG+2!
DR DIE2+2!, DIE2+5*, DIE2+6!, DRUG+3!*
>> EXP DIE2+5, EDIT+6
>> FLAG COM+1*, COMP+4, DRUG+4*
>> JJ MSG+7*
>> LOT DIE2+5, EDIT+6
>> MFG DIE2+5, EDIT+6
>> PAT EDIT+8
>> PSDA EDIT+8, EDIT+13
>> PSDOUT DRUG+2*
>> PSDPN DIE2+5, EDIT+6, COMP+3, MSG+3
>> PSDREC FIND*, FIND+1, EDIT+4, EDIT+6, EDIT+7, EDIT+8, EDIT+9, EDIT+10, EDIT+12, COMP+2
>> PSDRG COM+3, DIE+3, DIE+4, DIE2DIE2+2, DIE2+3, DIE2+7, EDIT+6, EDIT+12, BAL+1
BAL+3, BAL+4, DRUG+2, DRUG+3
>> PSDRGN COM+2, MSG+3
>> PSDRN DIE2*, DIE2+2, DIE2+3, EDIT+6, EDIT+12
>> PSDS DIE2+5, EDIT+6
>> PSDSP DIE2+5
>> PSDT COM+1*, DRUG+3
>> PSDUZ DIE2+5, EDIT+7, EDIT+13
>> QTY DIE2+5
>> RECD COM+1*, DIE2+5, EDIT+6, EDIT+7, EDIT+13
>> RECDT COM+1*, MSG+1
>> RQTY DIE2+5, EDIT+6, EDIT+7, BAL+3
>> STAT DIE2+4*, DIE2+5, EDIT+5*, EDIT+6, COMP+2*, COMP+3
U DIE2+4, EDIT+5
>> X COM+1, DIE2+2*, FIND+1*, DRUG+2*
>> XMDUZ MSG+6*
>> XMSUB MSG+6*
>> XMTEXT MSG+6*
XMY MSG+1!, MSG+8!
XMY( MSG+7*, MSG+8*
>> Y COM+1*, DRUG+2
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