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

Package: Controlled Substances

Routine: PSDNTTP1


Information

PSDNTTP1 ;BIR/BJW - Transfer Green Sheet - Receive this NAOU ;7/9/07 10:02am

Source Information

Source file <PSDNTTP1.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 PSDNTTPC  

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 ; *64 - balance will not change
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+7
^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+1, DIE+2, DIE2*, DIE2+4, DIE2+7, EDIT+2, EDIT+9*, DRUG+1
^PSD(58.81 - [#58.81] ADD+1, FIND*, FIND+2, EDIT+1, EDIT+3*, EDIT+4*, EDIT+5*, EDIT+6*, EDIT+10*, 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+2*, COMP+3, DRUG+1*
^(7 EDIT+10*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % COM+1
>> AOU COM+3, DIE+1, DIE+2, DIE2DIE2+2, DIE2+3, DIE2+4, DIE2+7, EDIT+2, EDIT+3
EDIT+9, EDIT+10, DRUG+1, DRUG+2, DRUG+3
>> AOUN MSG+4
DA DIE2+2!, DIE2+3*, EDIT+7!*, 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+7!*
>> DILOCKTM DIE+1, ADD+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+3
>> FLAG COM+1*, COMP+4, DRUG+4*
>> JJ MSG+7*
>> LOT DIE2+5, EDIT+3
>> MFG DIE2+5, EDIT+3
>> PAT EDIT+5
>> PSDA EDIT+5, EDIT+10
>> PSDOUT DRUG+2*
>> PSDPN DIE2+5, EDIT+3, COMP+3, MSG+3
>> PSDREC FIND*, FIND+1, EDIT+1, EDIT+3, EDIT+4, EDIT+5, EDIT+6, EDIT+7, EDIT+9, COMP+2
>> PSDRG COM+3, DIE+1, DIE+2, DIE2DIE2+2, DIE2+3, DIE2+7, EDIT+3, EDIT+9, DRUG+2
DRUG+3
>> PSDRGN COM+2, MSG+3
>> PSDRN DIE2*, DIE2+2, DIE2+3, EDIT+3, EDIT+9
>> PSDS DIE2+5, EDIT+3
>> PSDSP DIE2+5
>> PSDT COM+1*, DRUG+3
>> PSDUZ DIE2+5, EDIT+4, EDIT+10
>> QTY DIE2+5
>> RECD COM+1*, DIE2+5, EDIT+3, EDIT+4, EDIT+10
>> RECDT COM+1*, MSG+1
>> RQTY DIE2+5, EDIT+3, EDIT+4
>> STAT DIE2+4*, DIE2+5, EDIT+2*, EDIT+3, COMP+2*, COMP+3
U DIE2+4, EDIT+2
>> 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