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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PRCHPNT2

Package: IFCAP

Routine: PRCHPNT2


Information

PRCHPNT2 ;ID/RSD/RHD-CONT. OF PRINT ;5/4/98 14:17

Source Information

Source file <PRCHPNT2.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
IFCAP 4 PSNO^PRCHFPNT  ^PRCHPNT1  EDISTAT^PRCHUTL  DIWP^PRCUTL  

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

Package Total Caller Graph
IFCAP 2 PRCHPNT  PRCHPNT1  

Entry Points

Name Comments DBIA/ICR reference
V ;;5.1;IFCAP;;Oct 20, 2000
ITEM
AMT
FOB ;
FA
DIS
CON
CNTI
CNTD
REQ
P
P1
DT

External References

Name Field # of Occurrence
PSNO^PRCHFPNT ITEM+7
^PRCHPNT1 REQ+1
EDISTAT^PRCHUTL ITEM+9
DIWP^PRCUTL ITEM+1, FA+1, CNTD+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !?2,$J($P(PRCHI2,U,5)_+$P(PRCHI0,U,1),3),?8,$G(^(1,1,0))
  • Line Location: ITEM+2
Function Call: WRITE
  • Prompt: ?48,$J($P(PRCHI0,U,2),7),?57,$P($G(^PRCD(420.5,+$P(PRCHI0,U,3),0)),U,1)
  • Line Location: ITEM+3
Function Call: WRITE
  • Prompt: ?59,$S($L(X)>3:$J($P(PRCHI0,U,9),8,4),$L(X)>2:$J($P(PRCHI0,U,9),8,3),$P(PRCHI0,U,9)="N/C":" N/C",1:$J($P(PRCHI0,U,9),8,2))
  • Line Location: ITEM+4
Function Call: WRITE
  • Prompt: !
  • Line Location: ITEM+6
Function Call: WRITE
  • Prompt: ?8,"STK#: ",$P(PRCHI0,U,6),!
  • Line Location: ITEM+6
Function Call: WRITE
  • Prompt: ?8,"NSN: ",$P(PRCHI0,U,13)
  • Line Location: ITEM+7
Function Call: WRITE
  • Prompt: !
  • Line Location: ITEM+7
Function Call: WRITE
  • Prompt: ?8,"FOOD GROUP: ",$P(^(4),U,12),!
  • Line Location: ITEM+8
Function Call: WRITE
  • Prompt: ?8,"Items per ",$P($G(^PRCD(420.5,+$P(PRCHI0,U,3),0)),U,1),": ",$P(PRCHI0,U,12),!
  • Line Location: ITEM+10
Function Call: WRITE
  • Prompt: ?67,$J($P(PRCHI2,U,1),8,2)
  • Line Location: AMT+0
Function Call: WRITE
  • Prompt: !!?2,$S("O"=$E($P(PRCH1,U,6)):"ORIGIN","D"=$E($P(PRCH1,U,6)):"DESTINATION",1:""),?30,$J($P(PRCH1,U,14),3),?33,$S("2B"[PRCHSC:"X",1:"")
  • Line Location: FA+0
Function Call: WRITE
  • Prompt: ?48,$G(^UTILITY($J,"W",1,1,0)),?69,PRCHINV(1),!?48,$G(^UTILITY($J,"W",1,2,0)),?69,PRCHINV(2)
  • Line Location: FA+2
Function Call: WRITE
  • Prompt: !?2,$P(PRCH12,U,7),?48,$G(^UTILITY($J,"W",1,3,0)),?69,PRCHINV(3)
  • Line Location: FA+3
Function Call: WRITE
  • Prompt: $P(^(PRCH,0),U,4),$P(^(0),U,1)
  • Line Location: DIS+1
Function Call: WRITE
  • Prompt: "%"
  • Condition for execution: $P(^(0),U,1)=+$P(^(0),U,1)
  • Line Location: DIS+1
Function Call: WRITE
  • Prompt: $P(^(0),U,2)," "
  • Line Location: DIS+1
Function Call: WRITE
  • Prompt: ?14,"BEFORE",?23
  • Line Location: DIS+2
Function Call: WRITE
  • Prompt: ?2,$P(PRCH12,U,8)
  • Condition for execution: I=2
  • Line Location: CON+0
Function Call: WRITE
  • Prompt: ?45,$J(^(Y),3)
  • Condition for execution: ^(Y)]""
  • Line Location: CON+0
Function Call: WRITE
  • Prompt: ?49,PRCH
  • Line Location: CON+0
Function Call: WRITE
  • Prompt: ?69,PRCHINV(5)
  • Condition for execution: I=0
  • Line Location: CON+0
Function Call: WRITE
  • Prompt: !
  • Line Location: CON+0
Function Call: WRITE
  • Prompt: ?69,PRCHINV(5)
  • Condition for execution: Y=0
  • Line Location: CON+1
Function Call: WRITE
  • Prompt: ?2,$P(PRCH12,U,8)
  • Condition for execution: Y=2
  • Line Location: CON+1
Function Call: WRITE
  • Prompt: !
  • Line Location: CON+1
Function Call: WRITE
  • Prompt: Y\100#100,"/",Y#100\1,"/",Y\10000+1700
  • Line Location: DT+0

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(5 - [#5] FOB+11
^PRC(440.5 - [#440.5] FOB+5
^PRC(442 - [#442] ITEM+1, ITEM+8, FOB+1, FOB+4, DIS+1, CONCNTICNTI+1, CNTDCNTD+2
CNTD+3, REQ
^PRCD(420.5 - [#420.5] ITEM+3, ITEM+10
^PRCD(420.8 - [#420.8] FA
^TMP($J ITEM+5, CNTI+2*, CNTD*, CNTD+1*, CNTD+2*, CNTD+4*, REQ*, P+1*
^UTILITY($J ITEM!, ITEM+2, FA+1!, FA+2, FA+3, CNTD+3!, CNTD+4
^VA(200 - [#200] FOB+6

Label References

Name Line Occurrences
AMT ITEM+4, ITEM+5, ITEM+11
CNTD CNTI
CNTI CNTI+3
DT DIS+2
FA FOB+1
P CNTI+2, CNTD+2, CNTD+4
P1 CNTDCNTD+1, REQ
REQ CNTD+3

Naked Globals

Name Field # of Occurrence
^( ITEM+1, DIS+1, CONCNTICNTD+2, CNTD+3
^(0 ITEM+5, DIS+1, CNTICNTI+1
^(1 ITEM+2
^(4 ITEM+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> D0 ITEM+1, ITEM+8, ITEM+9, FOB+1, FOB+4, DIS+1, CONCNTICNTI+1, CNTD
CNTD+2, CNTD+3, REQ
>> DA ITEM+1, FA+1, CNTD+3
>> DIWF ITEM*, FA+1*, CNTD+3*
>> DIWL ITEM*, FA+1*, CNTD+3*
>> DIWR ITEM*, FA+1*, CNTD+3*
>> I DIS+1*, CON*, CON+1, REQ*
>> J CNTD*, CNTD+2*, REQ*
>> K ITEM+1*, ITEM+5*
>> P ITEM+5, CON+2*, CNTI+2, CNTDCNTD+1, CNTD+2, CNTD+4, REQ, P*, P+1*
, P1*
PRCA FOB+2~, FOB+4*, FOB+5, FOB+7*, FOB+9
PRCB FOB+2~, FOB+5*, FOB+6, FOB+7
PRCC FOB+2~, FOB+6*, FOB+8
>> PRCH ITEM+1, ITEM+5, ITEM+8, ITEM+9, DIS+1*, DIS+2*, CON*, CON+2*, CNTI*, CNTI+1
CNTI+2, CNTD*, CNTD+2*, CNTD+3*, REQ*, P+1
>> PRCH0 DIS+2, CNTD+1
>> PRCH1 FAFA+1
>> PRCH12 FA+3, CONCON+1
>> PRCHC ITEM+4*, ITEM+5, ITEM+11, AMT*
>> PRCHCNT ITEM+2*, ITEM+5
>> PRCHD ITEM*, ITEM+1*
PRCHHSP CON+2!
>> PRCHI0 ITEM+2, ITEM+3, ITEM+4, ITEM+6, ITEM+7, ITEM+10
>> PRCHI2 ITEM+2, ITEM+4, AMT
PRCHINV FOB+10, FOB+11, CON+2!
PRCHINV( FOB+10*, FOB+11*
PRCHINV(1 FOB+3*, FOB+7*, FOB+10*, FA+2
PRCHINV(2 FOB+3*, FOB+8*, FOB+10*, FA+2
PRCHINV(3 FOB+3*, FOB+8*, FA+3
PRCHINV(4 FOB+3*, FOB+9*, DIS
PRCHINV(5 FOB+3*, FOB+9*, CONCON+1
>> PRCHJ CNTD+2*, CNTD+3*
>> PRCHL ITEM+2*, ITEM+6*, ITEM+7*, ITEM+8*, ITEM+9, ITEM+10*, CON+2*, CNTI+2*, CNTD*, CNTD+1*
CNTD+2*, CNTD+4*, REQ*, P*, P+1*, P1*
>> PRCHL1 CNTI*, CNTI+1*, CNTI+2, CNTD+2*, CNTD+4*
>> PRCHLB CNTI*, CNTI+2, CNTD*, CNTD+2*, CNTD+4*, REQ*, P+1*, P1*
>> PRCHLE CNTD*, REQ*, P+1*, P1
>> PRCHNRQ ITEM+7
>> PRCHPT AMT*
>> PRCHSC FA*, DIS
PRCHSHP CON+2!
PRCHST CON+2!
S CON+2!
U ITEM+2, ITEM+3, ITEM+4, ITEM+5, ITEM+6, ITEM+7, ITEM+8, ITEM+10, AMTFOB+1
FOB+4, FOB+6, FOB+7, FOB+10, FOB+11, FAFA+1, FA+3, DIS+1, DIS+2
CONCON+1, CNTICNTI+1, CNTI+2, CNTDCNTD+1, CNTD+2, CNTD+4, REQ
P+1
V CON+2!
>> X ITEM+1*, ITEM+4*, FOB+10*, FOB+11*, FA+1*, CNTD+3*
>> Y DIS+2*, CON*, CON+1*, DT
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All