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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PRCPAGS0

Package: IFCAP

Routine: PRCPAGS0


Information

PRCPAGS0 ;WISC/RFJ-autogenerate secondary order ;01 Dec 92

Source Information

Source file <PRCPAGS0.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
IFCAP 5 START^PRCPAGS1  ($$FROM,$$FROMCHEK)^PRCPUDPT  ^PRCPUSEL  $$INVNAME^PRCPUX1  $$YN^PRCPUYN  

Entry Points

Name Comments DBIA/ICR reference
AUTOGEN ; start autogen with selected distribution points
Q
ALL ; select all distribution inventory points

External References

Name Field # of Occurrence
START^PRCPAGS1 AUTOGEN+14
$$FROM^PRCPUDPT PRCPAGS0+20
$$FROMCHEK^PRCPUDPT PRCPAGS0+9
^PRCPUSEL PRCPAGS0+3
$$INVNAME^PRCPUX1 PRCPAGS0+11, PRCPAGS0+24, AUTOGEN+10, ALL+5
$$YN^PRCPUYN AUTOGEN+14, ALL+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"THIS OPTION CAN ONLY BE USED BY SECONDARY INVENTORY POINTS."
  • Line Location: PRCPAGS0+4
Function Call: WRITE
  • Prompt: !!?(80-$L(%)\2),%
  • Line Location: PRCPAGS0+6
Function Call: WRITE
  • Prompt: !!,"Selected distribution inventory points will be used to auto-generate the order."
  • Line Location: PRCPAGS0+7
Function Call: WRITE
  • Prompt: !!,"THIS INVENTORY POINT IS NOT STOCKED BY A PRIMARY INVENTORY POINT."
  • Line Location: PRCPAGS0+10
Function Call: WRITE
  • Prompt: !!,"This inventory point is only stocked by: ",%
  • Line Location: PRCPAGS0+11
Function Call: WRITE
  • Prompt: !!!," Currently selected distribution inventory points:",!," "
  • Line Location: PRCPAGS0+15
Function Call: WRITE
  • Prompt: !," "
  • Condition for execution: $X>70
  • Line Location: PRCPAGS0+16
Function Call: WRITE
  • Prompt: %," "
  • Line Location: PRCPAGS0+16
Function Call: WRITE
  • Prompt: !," You can DE-select one of the above distribution points by reselecting it."
  • Line Location: PRCPAGS0+17
Function Call: WRITE
  • Prompt: !!,"Select the name of the inventory point that stocks your secondary, '^' to exit."
  • Line Location: PRCPAGS0+18
Function Call: WRITE
  • Prompt: !,"Press return without a selection to select ALL distribution inventory points."
  • Line Location: PRCPAGS0+19
Function Call: WRITE
  • Prompt: !?10,"DE-selected !"
  • Line Location: PRCPAGS0+23
Function Call: WRITE
  • Prompt: !?10,"selected !"
  • Line Location: PRCPAGS0+24
Function Call: WRITE
  • Prompt: !!?(80-$L(%)\2),%
  • Line Location: AUTOGEN+1
Function Call: WRITE
  • Prompt: !!,"NO DISTRIBUTION INVENTORY POINTS SELECTED."
  • Line Location: AUTOGEN+2
Function Call: WRITE
  • Prompt: !!,"Auto-generating from the following distribution inventory points:",!
  • Line Location: AUTOGEN+3
Function Call: WRITE
  • Prompt: !
  • Condition for execution: $X>70
  • Line Location: AUTOGEN+4
Function Call: WRITE
  • Prompt: %," "
  • Line Location: AUTOGEN+4
Function Call: WRITE
  • Prompt: !!,"The following distribution orders have not been released for filling:"
  • Line Location: AUTOGEN+9
Function Call: WRITE
  • Prompt: !?5,$P(D,"^"),?15,"primary ",$$INVNAME^PRCPUX1(+$P(D,"^",2)),?50,"Date: ",$E($P(D,"^",4),4,5),"-",$E($P(D,"^",4),6,7),"-",$E($P(D,"^",4),2,3)
  • Line Location: AUTOGEN+10
Function Call: WRITE
  • Prompt: !,"Since the DUE-INS have not been created for the above orders, you may want to",!,"check them before continuing with auto-generating the new distribution order."
  • Line Location: AUTOGEN+12
Function Call: WRITE
  • Prompt: !!
  • Line Location: AUTOGEN+14
Function Call: WRITE
  • Prompt: !
  • Line Location: ALL+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRCP(445 - [#445] ALL+5
^PRCP(445.3 - [#445.3] AUTOGEN+8
^TMP($J PRCPAGS0+8!, PRCPAGS0+11*, PRCPAGS0+14, PRCPAGS0+16, PRCPAGS0+19, PRCPAGS0+21, PRCPAGS0+23, PRCPAGS0+24*, AUTOGEN+2, AUTOGEN+4
, Q!, ALL+5*

Label References

Name Line Occurrences
ALL PRCPAGS0+12, PRCPAGS0+21
AUTOGEN PRCPAGS0+11
Q PRCPAGS0+25

Naked Globals

Name Field # of Occurrence
^( PRCPAGS0+16, PRCPAGS0+23!, AUTOGEN+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% PRCPAGS0+5~, PRCPAGS0+6*, PRCPAGS0+11*, PRCPAGS0+16*, AUTOGEN+1*, AUTOGEN+4*, AUTOGEN+12*, AUTOGEN+14, ALL+2*, ALL+3
ALL+4
D PRCPAGS0+5~, AUTOGEN+8*, AUTOGEN+10
INVPT PRCPAGS0+5~, PRCPAGS0+9*, PRCPAGS0+11
>> PRCP("DPTYPE" PRCPAGS0+4
>> PRCP("I" PRCPAGS0+3, PRCPAGS0+9, PRCPAGS0+20, AUTOGEN+8, ALL+5
PRCPEXIT PRCPAGS0+5~, PRCPAGS0+20*, PRCPAGS0+21*, PRCPAGS0+25
PRCPFLAG PRCPAGS0+5~, PRCPAGS0+12!, PRCPAGS0+13, PRCPAGS0+20*, PRCPAGS0+21, PRCPAGS0+22*, AUTOGEN+8!, AUTOGEN+9, AUTOGEN+11*, AUTOGEN+12
ALL+6*
PRCPFNON PRCPAGS0+5~, PRCPAGS0+10
PRCPFONE PRCPAGS0+5~, PRCPAGS0+11
V PRCPAGS0+5~, PRCPAGS0+16*, AUTOGEN+4*
X PRCPAGS0+5~, AUTOGEN+8*, ALL+5*
>> XH AUTOGEN+13*, ALL+1*
>> XH(1 ALL+1*
>> XP AUTOGEN+13*, ALL+1*
Y PRCPAGS0+5~, PRCPAGS0+20*, PRCPAGS0+21, PRCPAGS0+22, PRCPAGS0+23, PRCPAGS0+24
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All