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

Package: IFCAP

Routine: PRCPWPL0


Information

PRCPWPL0 ;WISC/RFJ-whse post issue book (options) ;13 Jan 94

Source Information

Source file <PRCPWPL0.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
IFCAP 5 ^PRCPEILM  ($$DESCR,$$NSN,$$UNIT)^PRCPUX1  DISPLAY^PRCPUX2  $$YN^PRCPUYN  REBUILD^PRCPWPLB  
VA FileMan 2 ^DIC  ^DIR  
List Manager 1 FULL^VALM1  

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

Package Total Caller Graph
IFCAP 7 PRCP ISSUE BOOK E/E ITEMS  PRCP ISSUE BOOK QTY TO ENTER  PRCP ISSUE BOOK QTY TO ONHAND  PRCP ISSUE BOOK QTY TO REMAIN  PRCP ISSUE BOOK SHOW NSN  PRCPWPL1  PRCPWPL2  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
EEITEMS ; called from protocol file to enter/edit invpt items
SHOWNSN ; show nsn on list
REMAIN ; set qty to post to remaining (outstanding) qty
ONHAND ; set qty to post to onhand qty
ENTER ; enter quantity to post
LINEITEM()
DICW ; write identifier for item

External References

Name Field # of Occurrence
^DIC LINEITEM+4
^DIR ENTER+21
^PRCPEILM EEITEMS+4
$$DESCR^PRCPUX1 ENTER+10
$$NSN^PRCPUX1 ENTER+10
$$UNIT^PRCPUX1 ENTER+10
DISPLAY^PRCPUX2 REMAIN+5, ONHAND+6, ENTER+22, ENTER+23
$$YN^PRCPUYN REMAIN+7, ONHAND+8
REBUILD^PRCPWPLB EEITEMS+5, SHOWNSN+2, REMAIN+13, ONHAND+13, ENTER+24
FULL^VALM1 EEITEMS+1, REMAIN+1, ONHAND+1, ENTER+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: ENTER+4
Function Call: WRITE
  • Prompt: !,"CANNOT FIND LINE ITEM."
  • Line Location: ENTER+5
Function Call: WRITE
  • Prompt: !,"ITEM (#",ITEMDA,") NOT STORED IN THE INVENTORY POINT."
  • Line Location: ENTER+7
Function Call: WRITE
  • Prompt: !,"ITEM IS CANCELLED",$S(STATUS["S":" AND SUBSTITUTED WITH LINE #(S): "_$P(STATUS,",",2,99),1:"")
  • Line Location: ENTER+8
Function Call: WRITE
  • Prompt: !!,ITEMDA,?5,$E($$DESCR^PRCPUX1(PRCPINPT,ITEMDA),1,30)," ",$$NSN^PRCPUX1(ITEMDA)," U/I: ",$$UNIT^PRCPUX1(PRCPINPT,ITEMDA,"/")
  • Line Location: ENTER+10
Function Call: WRITE
  • Prompt: !?5,"AVERAGE COST : ",$J(+$P(INVDATA,"^",22),0,2)
  • Line Location: ENTER+11
Function Call: WRITE
  • Prompt: !?5,"LAST COST : ",$J(+$P(INVDATA,"^",15),0,2)
  • Line Location: ENTER+12
Function Call: WRITE
  • Prompt: !
  • Line Location: ENTER+13
Function Call: WRITE
  • Prompt: !?5,"QTY ON-HAND : ",ONHAND
  • Line Location: ENTER+14
Function Call: WRITE
  • Prompt: !?5,"QTY ORDERED : ",+$P(DATA,"^",2)
  • Line Location: ENTER+15
Function Call: WRITE
  • Prompt: !?5,"QTY POSTED : ",+$P(DATA,"^",12)
  • Line Location: ENTER+16
Function Call: WRITE
  • Prompt: !?5,"QTY OUTSTANDING: ",QTYOUT
  • Line Location: ENTER+17
Function Call: WRITE
  • Prompt: !?5,"QTY TO POST : ",+$G(^TMP($J,"PRCPWPLMPOST",LINEDA))
  • Line Location: ENTER+18
Function Call: WRITE
  • Prompt: !
  • Line Location: ENTER+21
Function Call: WRITE
  • Prompt: ?7," ",$P(B,"^",5)," (#",+$P(%,"^",5),")",?35," QTY.ORD: ",+$P(%,"^",2),?50," QTY.DIS: ",+$P(%,"^",PRCPNODE),?65
  • Line Location: DICW+4
Function Call: WRITE
  • Prompt: " QTY.OUT: ",A
  • Line Location: DICW+5
Function Call: WRITE
  • Prompt: A
  • Line Location: DICW+6
Function Call: WRITE
  • Prompt: !?7," ",$P(B,"^",2)
  • Line Location: DICW+7
Routine Call
  • DIC
  • Line Location:
    • LINEITEM+4
Routine Call
  • DIR
  • Line Location:
    • ENTER+21

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DISV( SHOWNSN+3*
^PRC(441 - [#441] DICW+3
^PRCP(445 - [#445] REMAIN+11, ONHAND+11, ENTER+6
^PRCS(410 - [#410] ENTER+5
^TMP($J REMAIN+8, REMAIN+12*, ONHAND+9, ONHAND+12*, ENTER+9, ENTER+18, ENTER+22*, ENTER+23

Label References

Name Line Occurrences
$$LINEITEM ENTER+4

Naked Globals

Name Field # of Occurrence
^( REMAIN+8, ONHAND+9
^(0 DICW+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% DICW+1~, DICW+3*, DICW+4, DICW+5, DICW+6*
A DICW+1~, DICW+5*, DICW+6*
B DICW+1~, DICW+3*, DICW+4, DICW+7
DA LINEITEM+1~
DA(1 LINEITEM+2*
DATA REMAIN+3~, REMAIN+8*, REMAIN+9, ONHAND+3~, ONHAND+9*, ONHAND+10, ENTER+3~, ENTER+5*, ENTER+6, ENTER+15
ENTER+16
DIC LINEITEM+1~, LINEITEM+2*
DIC("A" LINEITEM+2*
DIC("W" LINEITEM+3*
DIC(0 LINEITEM+2*
DIR ENTER+3~, ENTER+21!
DIR("A" ENTER+19*, ENTER+20*
DIR("B" ENTER+19*
DIR(0 ENTER+19*
DUZ SHOWNSN+3
>> DZ DICW+7
INVDATA ENTER+3~, ENTER+6*, ENTER+7, ENTER+9, ENTER+11, ENTER+12
ITEMDA REMAIN+3~, REMAIN+9*, REMAIN+11, ONHAND+3~, ONHAND+10*, ONHAND+11, ENTER+3~, ENTER+6*, ENTER+7, ENTER+10
LINEDA REMAIN+3~, REMAIN+8*, REMAIN+12, ONHAND+3~, ONHAND+9*, ONHAND+12, ENTER+3~, ENTER+4*, ENTER+5, ENTER+9
ENTER+18, ENTER+22, ENTER+23
ONHAND ONHAND+3~, ONHAND+11*, ENTER+3~, ENTER+9*, ENTER+14, ENTER+19, ENTER+20, ENTER+22
PRC EEITEMS+2~
PRCP EEITEMS+2~
PRCP("DPTYPE" EEITEMS+3*
>> PRCPDA ENTER+5, LINEITEM+2
>> PRCPFNSN SHOWNSN+1*, SHOWNSN+3, SHOWNSN+4
>> PRCPINPT REMAIN+11, ONHAND+11, ENTER+6, ENTER+10
>> PRCPNODE DICW+4, DICW+5
QTY REMAIN+3~, REMAIN+9*, REMAIN+10*, REMAIN+11*, REMAIN+12, ONHAND+3~, ONHAND+10*, ONHAND+11*, ONHAND+12
QTYOUT ENTER+3~, ENTER+9*, ENTER+17, ENTER+19
STATUS ENTER+3~, ENTER+6*, ENTER+8
>> VALMBCK EEITEMS+6*, SHOWNSN+5*, REMAIN+2*, ONHAND+2*, ENTER+2*
>> VALMSG SHOWNSN+4*, REMAIN+14*, ONHAND+14*
X REMAIN+3~, REMAIN+4!, REMAIN+5, ONHAND+3~, ONHAND+4!, ONHAND+6, ENTER+3~, ENTER+22!, ENTER+23!, LINEITEM+1~
X(1 REMAIN+4*, ONHAND+4*, ENTER+22*, ENTER+23*
X(2 ONHAND+5*
>> XH REMAIN+6*, ONHAND+7*
>> XH(1 REMAIN+6*, ONHAND+7*
>> XP REMAIN+6*, ONHAND+7*
Y ENTER+3~, ENTER+22, LINEITEM+1~, LINEITEM+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All