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 |  Local Variables |  All
Print Page as PDF
Routine: PRCNCNCL

Package: Equipment Turn-In Request

Routine: PRCNCNCL


Information

PRCNCNCL ;SSI/SEB-Cancel equipment request ;[ 02/26/97 5:59 PM ]

Source Information

Source file <PRCNCNCL.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 5 DD^%DT  ^DIC  YN^DICN  ^DIE  EN^DIQ1  
Equipment Turn-In Request 1 PRIMAX^PRCNCMRP  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
Equipment Turn-In Request 2 PRCN NX CANCEL  PRCN NX PPM CANCEL  
Kernel 1 ^DIC(19  

Entry Points

Name Comments DBIA/ICR reference
PR ; Prints the data for this transaction
QS
EN
REP ; If replacement, ask if user wants to cancel turn-in
REQ ; Requestor cancel
PPM ; PPM cancel
EXIT ; Kill variables and quit
ASK ; Ask if user is certain he/she wants to cancel request

External References

Name Field # of Occurrence
DD^%DT PR+5
^DIC EN+1
YN^DICN ASK+1, QS+1
^DIE ASK+5, QS+3
EN^DIQ1 PR+10
PRIMAX^PRCNCMRP ASK+7

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EN+0
Function Call: WRITE
  • Prompt: !!,"Service: ",$P(^DIC(49,$P(PRCNDATA,U,3),0),U),?41,"CMR Official: "
  • Line Location: PR+1
Function Call: WRITE
  • Prompt: $P(^VA(200,$P(PRCNDATA,U,6),0),U)
  • Line Location: PR+2
Function Call: WRITE
  • Prompt: !,"Requestor: ",$P(^VA(200,$P(PRCNDATA,U,2),0),U)
  • Line Location: PR+3
Function Call: WRITE
  • Prompt: ?41,"Date entered: "
  • Line Location: PR+4
Function Call: WRITE
  • Prompt: Y,!,"Line Items:"
  • Line Location: PR+5
Function Call: WRITE
  • Prompt: !,?5,$P($G(^PRCN(413,D0,1,D1,0)),U),?10,$G(^PRCN(413,D0,1,D1,1,1,0))
  • Line Location: PR+7
Function Call: WRITE
  • Prompt: ?55,"$",$J(X,9,2)
  • Line Location: PR+12
Function Call: WRITE
  • Prompt: !!,"Are you sure you want to cancel this transaction"
  • Line Location: ASK+1
Function Call: WRITE
  • Prompt: !,"Please enter 'Y' to cancel this transaction."
  • Line Location: ASK+2
Function Call: WRITE
  • Prompt: !!,"OK, the transaction was not cancelled."
  • Line Location: ASK+3
Function Call: WRITE
  • Prompt: !!,"Transaction #",NUM," has been cancelled."
  • Line Location: ASK+11
Function Call: WRITE
  • Prompt: !!,"Do you want to cancel the corresponding turn-in request"
  • Line Location: QS+0
Function Call: WRITE
  • Prompt: !!,"OK, the turn-in request was not cancelled."
  • Line Location: QS+1
Function Call: WRITE
  • Prompt: !,"Please enter 'Y' to cancel the corresponding Turn-in request."
  • Line Location: QS+2
Function Call: WRITE
  • Prompt: !!,"Turn-in request #",$P(^PRCN(413.1,DA,0),U)," cancelled."
  • Line Location: QS+8
Routine Call
  • DIE
  • Line Location:
    • ASK+5
    • QS+3
Routine Call
  • DIC
  • Line Location:
    • EN+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PRCN(413 - [#413] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(49 - [#49] PR+1
^PRCN(413 - [#413] EN+2, PR+6, PR+7, ASK+6, ASK+8!, ASK+10*, REP+1, REP+2
^PRCN(413.1 - [#413.1] QS+5, QS+6, QS+7!, QS+8
^VA(200 - [#200] PR+2, PR+3

Label References

Name Line Occurrences
ASK ASK+2
EXIT EN+2, ASK+3, REP+1, QS+1
QS QS+2
REP ASK+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % ASK+1*, ASK+2, ASK+3, QS*, QS+1, QS+2
C EXIT+1!
D0 EN+2*, PR+6, PR+7, PR+9~, ASK+5, REP+1, REP+2, EXIT+2!
D1 PR+5*, PR+6*, PR+7, PR+9~, QS+5*, QS+6, QS+7, EXIT+1!
DA PR+9*, PR+13!, ASK+5*, ASK+6, ASK+8, ASK+10, REP+2*, QS+5, QS+6, QS+7
, QS+8, EXIT+1!
DA( PR+9*, PR+11
DA(1 PR+9*
DIC EN*, PR+9*, PR+13!, EXIT+1!
DIC("A" EN*
DIC("S" REQ+1*, PPM+1*, EN+1!
DIC(0 EN*
DIE ASK+5*, QS+3*, EXIT+1!
DIQ PR+8*, PR+13!
DIQ(0 PR+8*
DR PR+8*, PR+13!, ASK+4*, QS+3*, EXIT+2!
DR( PR+8*
>> DUOUT EN+2
IOF EN
J EXIT+2!
LBTOT PR+13!
LBTOT( PR+11
LPRI EXIT+2!
NUM EN+2*, ASK+11, EXIT+1!
OLD EXIT+1!
OLDPRI EXIT+2!
PRCNDATA EN+2*, PR+1, PR+2, PR+3, PR+4, EXIT+1!
PRIMAX EXIT+1!
PSER ASK+7, ASK+8, ASK+9!, EXIT+1!
PTR QS+6*, QS+7, EXIT+1!
RNK ASK+8*, ASK+9!
SERV EXIT+1!
SK EXIT+2!
ST EXIT+1!
TEX1 EXIT+2!
TEX2 EXIT+2!
TEX3 EXIT+2!
TRN EXIT+1!
U EN+2, PR+1, PR+2, PR+3, PR+4, PR+7, ASK+6, ASK+10, REP+1, REP+2
, QS+6, QS+8
X EN+2, PR+11*, PR+12, PR+13!, ASK+6*, ASK+9!, EXIT+1!
Y EN+2, PR+4*, PR+5, EXIT+1!
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 |  Local Variables |  All