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

Package: IFCAP

Routine: PRCPAWU0


Information

PRCPAWU0 ;WISC/RFJ-adjustment utilities ;11 Mar 94

Source Information

Source file <PRCPAWU0.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
IFCAP 2 P^PRCPUREP  ($$DESCR,$$NSN)^PRCPUX1  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
IFCAP 6 PRCPAWAP  PRCPAWI0  PRCPAWN0  PRCPAWO0  PRCPAWS0  PRCPEIQT  

Entry Points

Name Comments DBIA/ICR reference
ITEM() ; select item from tmp($j,"prcpawap","item",*itemnumber*) global
VOUCHER() ; enter reference voucher number
QTY(LOW,HIGH) ; adjust quantity from low to high
; return qty, qty=^ for ^ entered
VALUE(LOW,HIGH,PROMPT,DEFAULT) ; adjust value from low to high
; ask in prompt with default value
REASON(DEFAULT,NODISV) ; enter reason text

External References

Name Field # of Occurrence
^DIR VOUCHER+3, QTY+5, VALUE+5, REASON+6
P^PRCPUREP ITEM+10
$$DESCR^PRCPUX1 ITEM+9
$$NSN^PRCPUX1 ITEM+9

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !," Select ITEM: "
  • Line Location: ITEM+3
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: ITEM+4
Function Call: WRITE
  • Prompt: !,"Select the ITEM NUMBER from the list below:",!
  • Line Location: ITEM+7
Function Call: WRITE
  • Prompt: " ITEM NUMBER: ",X,?23,$E($$DESCR^PRCPUX1(PRCP("I"),+X),1,30),?58,"NSN: ",$$NSN^PRCPUX1(+X)
  • Line Location: ITEM+9
Function Call: WRITE
  • Prompt: $C(13),%
  • Line Location: ITEM+10
Function Call: WRITE
  • Prompt: !
  • Line Location: ITEM+11
Routine Call
  • DIR
  • Line Location:
    • VOUCHER+3
    • QTY+5
    • VALUE+5
    • REASON+6

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DISV( REASON+3, REASON+7*
^TMP($J ITEM+5, ITEM+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ITEM+1~, ITEM+10*
COUNT ITEM+1~, ITEM+8*, ITEM+9*, ITEM+10
DEFAULT VALUE~, VALUE+3, REASON~, REASON+3, REASON+4, REASON+7
DIR VOUCHER+1~, QTY+2~, VALUE+2~, REASON+2~
DIR("A" VOUCHER+2*, QTY+3*, QTY+4*, VALUE+3*, VALUE+4*, REASON+4*, REASON+5*
DIR("B" QTY+3*, VALUE+3*, REASON+4*
DIR(0 VOUCHER+2*, QTY+3*, VALUE+3*, REASON+4*
DTIME ITEM+4
DUZ REASON+3, REASON+7
HIGH QTY~, QTY+3, QTY+4, VALUE~, VALUE+3, VALUE+4
ITEMDA ITEM+1~, ITEM+2, ITEM+4*, ITEM+5*, ITEM+6*, ITEM+12
LOW QTY~, QTY+3, QTY+4, VALUE~, VALUE+3, VALUE+4
NODISV REASON~, REASON+3, REASON+4, REASON+7
>> PRCP("I" ITEM+9
PRCPFLAG ITEM+1~, ITEM+8
PROMPT VALUE~, VALUE+3
REASON REASON+2~, REASON+3*, REASON+4
X ITEM+1~, ITEM+4*, ITEM+5, ITEM+8*, ITEM+9, VOUCHER+1~, QTY+2~, VALUE+2~, REASON+2~
Y VOUCHER+1~, VOUCHER+4, QTY+2~, QTY+6, VALUE+2~, VALUE+6, REASON+2~, REASON+7, REASON+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Local Variables  | All