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

Package: IFCAP

Routine: PRCPAGRO


Information

PRCPAGRO ;WISC/RFJ,DXH/VAC - autogenerate print suggested distribution order ; 2/19/07 12:46pm

Source Information

Source file <PRCPAGRO.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
IFCAP 3 ($$SCRPAUSE,END,P)^PRCPUREP  ($$DESCR,$$NSN,$$UNIT)^PRCPUX1  $$ODITEM^PRCPUX2  
VA FileMan 2 DD^%DT  NOW^%DTC  

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
IFCAP 1 PRCPAGU1  

Entry Points

Name Comments DBIA/ICR reference
ORDER ; print order to create
; for ^tmp($j,"prcpag","ok",vendorname,vendorda,groupname,
; xxx,itemda) where xxx equals whse:nsn; prim or seco:descr
H

External References

Name Field # of Occurrence
DD^%DT ORDER+4
NOW^%DTC ORDER+4
$$SCRPAUSE^PRCPUREP ORDER+4
END^PRCPUREP ORDER+32
P^PRCPUREP ORDER+6, ORDER+9, ORDER+27, ORDER+29
$$DESCR^PRCPUX1 ORDER+13
$$NSN^PRCPUX1 ORDER+16, ORDER+22
$$UNIT^PRCPUX1 ORDER+16, ORDER+22
$$ODITEM^PRCPUX2 ORDER+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?12,"GROUP CATEGORY: ",$S(GNM=" ":"<< NOT SPECIFIED >>",1:GNM)
  • Line Location: ORDER+10
Function Call: WRITE
  • Prompt: $E(%,1,20),?31,$$NSN^PRCPUX1(ITEMDA)
  • Condition for execution: PRCP("DPTYPE")="W"
  • Line Location: ORDER+16
Function Call: WRITE
  • Prompt: ?50,$J($$UNIT^PRCPUX1(PRCP("I"),ITEMDA,"/"),9),$J($P(D,"^",12),9),$J($P(D,"^",15),6),$J($P(D,"^",16),6)
  • Line Location: ORDER+16
Function Call: WRITE
  • Prompt: !!,ITEMDA
  • Line Location: ORDER+18
Function Call: WRITE
  • Prompt: ?8,"D "
  • Line Location: ORDER+19
Function Call: WRITE
  • Prompt: ?8," "
  • Line Location: ORDER+20
Function Call: WRITE
  • Prompt: ?31,$$NSN^PRCPUX1(ITEMDA)
  • Line Location: ORDER+22
Function Call: WRITE
  • Prompt: ?50,$J($$UNIT^PRCPUX1(PRCP("I"),ITEMDA,"/"),9),$J($P(D,"^",12),9),$J($P(D,"^",15),6),$J($P(D,"^",16),6)
  • Line Location: ORDER+22
Function Call: WRITE
  • Prompt: !,$J("ONHAND",8),$J("+DUEIN",8),$J("-DUEOUT",8),$J("=AVAIL",8),$J("STAND",7),$J("OPTN",8),$J("LEVEL",8),$J("CONV",7),$J("ORDER",8),$J("UNIT$",10)
  • Line Location: ORDER+23
Function Call: WRITE
  • Prompt: !,$J(+$P(D,"^"),8),$J(+$P(D,"^",2),8),$J(+$P(D,"^",3),8),$J(+$P(D,"^",4),8),$J(+$P(D,"^",5),7),$S($P(D,"^",7)="STA":"*",1:" "),$J(+$P(D,"^",6),7),$S($P(D,"^",7)="OPT":"*",1:" ")
  • Line Location: ORDER+24
Function Call: WRITE
  • Prompt: $J(+$P(D,"^",8),7),$S($P(D,"^",9)="*":"*",1:" "),$J(+$P(D,"^",10),6),$J(+$P(D,"^",11),8),$J(+$P(D,"^",14),10,3)
  • Line Location: ORDER+25
Function Call: WRITE
  • Prompt: !!?12,"GROUP CATEGORY: ",$S(GNM=" ":"<< NOT SPECIFIED >>",1:GNM)
  • Line Location: ORDER+27
Function Call: WRITE
  • Prompt: !!,"TOTAL COST OF ORDER: ",TOTCOST
  • Line Location: ORDER+30
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: H+0
Function Call: WRITE
  • Prompt: $C(13),"AUTO-GEN: SUGGESTED ORDERS FOR ",$E(PRCP("IN"),1,20),?(80-$L(%)),%
  • Line Location: H+1
Function Call: WRITE
  • Prompt: !?5,"ORDERING FROM ",$S(PRCP("DPTYPE")="S":"PRIMARY INVENTORY POINT",1:"VENDOR"),": ",VNM
  • Line Location: H+2
Function Call: WRITE
  • Prompt: !?5,$S(PRCP("DPTYPE")="S":"DISTRIBUTION ORDER",1:"REPETITIVE ITEM LIST")," NUMBER: ",ORDER
  • Line Location: H+3
Function Call: WRITE
  • Prompt: !?50,$J($S(PRCP("DPTYPE")="S":"SECONDARY",PRCP("DPTYPE")="P":"PRIMARY",1:"WHSE"),9),$J($S(PRCP("DPTYPE")="S":"PRIMARY",1:"VENDOR"),9),$J("ISSUE",6),$J("ISSUE",6)
  • Line Location: H+4
Function Call: WRITE
  • Prompt: !,"IM#"
  • Line Location: H+5
Function Call: WRITE
  • Prompt: ?7,"DESCRIPTION"
  • Line Location: H+7
Function Call: WRITE
  • Prompt: ?8,"OD",?11,"DESCRIPTION"
  • Line Location: H+9
Function Call: WRITE
  • Prompt: ?31,"NSN"
  • Condition for execution: PRCP("DPTYPE")
  • Line Location: H+10
Function Call: WRITE
  • Prompt: ?50,$J("UNIT/ISS",9),$J("UNIT/ISS",9),$J("MINIM",6),$J("MULT",6)
  • Line Location: H+10
Function Call: WRITE
  • Prompt: !,%
  • Line Location: H+11

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J ORDER+5, ORDER+7, ORDER+8, ORDER+11, ORDER+12

Label References

Name Line Occurrences
H ORDER+7, ORDER+9, ORDER+27, ORDER+29

Naked Globals

Name Field # of Occurrence
^( ORDER+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ORDER+3~, ORDER+4, ORDER+13*, ORDER+16, ORDER+21, H*, H+1, H+11*
%H ORDER+3~
%I ORDER+3~
D ORDER+3~, ORDER+12*, ORDER+16, ORDER+22, ORDER+24, ORDER+25, ORDER+26
DESCNSN ORDER+3~, ORDER+11*, ORDER+12
GNM ORDER+3~, ORDER+8*, ORDER+10, ORDER+11, ORDER+12, ORDER+27
IO ORDER+4
IOF H
IOSL ORDER+9, ORDER+27, ORDER+29
ITEMDA ORDER+3~, ORDER+12*, ORDER+13, ORDER+14, ORDER+16, ORDER+18, ORDER+22
NOW ORDER+3~, ORDER+4*, H
ODITEM ORDER+3~, ORDER+14*, ORDER+19, ORDER+20
ORDER ORDER+3~, ORDER+7*, H+3
PAGE ORDER+3~, ORDER+4*, ORDER+6, H*
>> PRCP("DPTYPE" ORDER+15, ORDER+16, ORDER+17, ORDER+21, H+2, H+3, H+4, H+6, H+8, H+10
>> PRCP("I" ORDER+13, ORDER+14, ORDER+16, ORDER+22
>> PRCP("IN" H+1
>> PRCPFLAG ORDER+5, ORDER+6, ORDER+8, ORDER+9, ORDER+11, ORDER+12, ORDER+27, ORDER+28, ORDER+29, ORDER+31
SCREEN ORDER+3~, ORDER+4*, ORDER+6, ORDER+9, ORDER+27, ORDER+29, H
TOTCOST ORDER+3~, ORDER+7*, ORDER+26*, ORDER+30
VDA ORDER+3~, ORDER+5*, ORDER+7, ORDER+8, ORDER+11, ORDER+12
VNM ORDER+3~, ORDER+5*, ORDER+8, ORDER+11, ORDER+12, H+2
X ORDER+3~
Y ORDER+3~, ORDER+4*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All