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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PRCPUITM

Package: IFCAP

Routine: PRCPUITM


Information

PRCPUITM ;WISC/RFJ-select items utility ;10 Dec 91

Source Information

Source file <PRCPUITM.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
IFCAP 6 BLDSEG^PRCPHLFM  CODESHT^PRCPSMGO  DELETE^PRCPSMS0  ($$GETIN,$$GETOUT)^PRCPUDUE  ($$DESCR,$$INVNAME)^PRCPUX1  $$YN^PRCPUYN  
VA FileMan 4 (C,NOW)^%DTC  ^DIC  ^DIK  EN^DIQ1  

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

Package Total Caller Graph
IFCAP 26 PRCPAGP1  PRCPAGS1  PRCPAWN0  PRCPAWO0  PRCPAWS0  PRCPCRLO  PRCPE441  PRCPECPP  
PRCPECPS  PRCPEIL1  PRCPEILM  PRCPEITD  PRCPEITE  PRCPENE1  PRCPENE2  PRCPRGRA  
PRCPRINQ  PRCPRIT0  PRCPRSTK  PRCPSMB0  PRCPSMSD  PRCPSMST  PRCPSSQT  PRCPUINV  
PRCPURS4  PRCPUX2  

Entry Points

Name Comments DBIA/ICR reference
V ;;5.1;IFCAP;**1**;Oct 20, 2000
ITEM(INVPT,ADDNEW,SCREEN,DEFAULT) ; select item in inventory point
; addnew=1 to add new items
; screen=additional screen
; default=default item master number
; return itemda; 0 no item selected; ^ for ^ entered or timeout
MASTITEM(SCREEN) ; select item from master item file
; screen=optional screen
; return itemda; 0 no item selected; ^ for ^ entered or timeout
GETITEM(INVPT,ITEMDA)
DELETE(PRCPINPT,ITEMDA) ; check for deleting item from inventory point
DELITEM(PRCPINPT,DA) ; delete item da from inventory point
  • ICR #6579
    • Status: Active
    • Usage: Private
    ORDCHK(ITEMDA,PRCPINPT,ORDTYP,ORDSTA) ; is the item on any outstanding orders
    ; ITEMDA = DA of item to be deleted, 0 if search is for any order
    ; for that inventory point.
    ; PRCPINT = DA of inventory point in the search
    ; ORDTYP = search for regular, emergency and/or call-in
    ; ORDSTA = Status of the outstanding order, if search is limited
    ; returns 0 if no outstanding order is found, 1 it it is
    LISTOO(ITEM,PRCPINPT,ORDSTA) ; list outstanding orders for this item
    ; ITEM = DA of item to be deleted
    ; PRCPINT = DA of inventory point housing the item
    ; ORDSTA = Status of the outstanding order, if search is limited

    External References

    Name Field # of Occurrence
    C^%DTC DELETE+7
    NOW^%DTC DELETE+7
    ^DIC ITEM+28, MASTITEM+6
    ^DIK DELITEM+4
    EN^DIQ1 GETITEM+9
    BLDSEG^PRCPHLFM DELITEM+3
    CODESHT^PRCPSMGO DELETE+28
    DELETE^PRCPSMS0 DELETE+26
    $$GETIN^PRCPUDUE DELETE+9
    $$GETOUT^PRCPUDUE DELETE+11
    $$DESCR^PRCPUX1 ITEM+27
    $$INVNAME^PRCPUX1 ITEM+10, DELETE+18, DELETE+30
    $$YN^PRCPUYN DELETE+22, DELETE+32

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !!,"QUANTITY ON HAND (",$P(DATA,"^",7),") NEEDS TO BE ADJUSTED TO ZERO."
    • Line Location: DELETE+4
    Function Call: WRITE
    • Prompt: !!,"QUANTITY NON-ISSUABLE (",$P(DATA,"^",19),") NEEDS TO BE ADJUSTED TO ZERO."
    • Line Location: DELETE+5
    Function Call: WRITE
    • Prompt: !!,"ITEM HAS HAD ACTIVITY DURING THE LAST ",INACTIVE," MONTHS."
    • Line Location: DELETE+8
    Function Call: WRITE
    • Prompt: !,"ITEM HAS DUE-INS: ",DUEIN
    • Line Location: DELETE+10
    Function Call: WRITE
    • Prompt: !,"ITEM HAS DUE-OUTS: ",DUEOUT
    • Line Location: DELETE+12
    Function Call: WRITE
    • Prompt: !,"Checking to see if this item is on an outstanding order...."
    • Line Location: DELETE+13
    Function Call: WRITE
    • Prompt: !,"This item cannot be deleted. You must first post, delete, or"
    • Line Location: DELETE+15
    Function Call: WRITE
    • Prompt: !,"remove the item from the following order(s):"
    • Line Location: DELETE+16
    Function Call: WRITE
    • Prompt: !!?5,"--Deleting Item from Inventory Point ..."
    • Line Location: DELETE+23
    Function Call: WRITE
    • Prompt: !," WARNING--UNABLE TO CREATE ISMS CODE SHEET!"
    • Line Location: DELETE+27
    Function Call: WRITE
    • Prompt: !!,"Checking Distribution Points (you will have the option to delete the item",!,"from the distribution points if the distribution point is NOT keeping a",!,"perpetual inventory) ..."
    • Line Location: DELETE+29
    Function Call: WRITE
    • Prompt: !!,"DISTRIBUTION POINT: ",$P($$INVNAME^PRCPUX1(DISTR),"-",2,99)
    • Line Location: DELETE+30
    Function Call: WRITE
    • Prompt: !!?5,"--Deleting Item from Distribution Point ..."
    • Line Location: DELETE+34
    Function Call: WRITE
    • Prompt: !?5,OUTORD
    • Line Location: LISTOO+17
    Function Call: WRITE
    • Prompt: !?5,OUTORD
    • Line Location: LISTOO+18
    Routine Call
    • DIC
    • Line Location:
      • ITEM+28
      • MASTITEM+6

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PRC(441 - [#441] Classic Fileman Calls
    ^PRCP(445 - [#445] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PRCP(445 - [#445] ITEM+6, ITEM+11, ITEM+23, GETITEM+3, DELETE+1, DELETE+3, DELETE+6, DELETE+7, DELETE+25, DELETE+30
    , DELITEM+3, ORDCHK+10, LISTOO+7
    ^PRCP(445.3 - [#445.3] ORDCHK+17, ORDCHK+18, ORDCHK+20, ORDCHK+21, ORDCHK+23, LISTOO+14, LISTOO+15, LISTOO+16, LISTOO+17
    ^TMP($J DELETE+28!*

    Label References

    Name Line Occurrences
    $$ORDCHK DELETE+14
    DELITEM DELETE+24, DELETE+34
    LISTOO DELETE+17

    Naked Globals

    Name Field # of Occurrence
    ^(0 ITEM+23*

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    % ITEM+7~, MASTITEM+4~, GETITEM+4~, DELETE+2~, DELETE+18*, DELETE+20, DELETE+32*, DELETE+33, DELITEM+1~
    %H DELETE+2~
    %I DELETE+2~
    ADDNEW ITEM~, ITEM+9
    C ITEM+7~
    D0 GETITEM+4~
    DA ITEM+7~, GETITEM+4~, GETITEM+7*, DELITEM~, DELITEM+2
    DA( GETITEM+7*
    DA(1 ITEM+26*, DELITEM+4*
    DATA DELETE+2~, DELETE+3*, DELETE+4, DELETE+5
    DDH MASTITEM+4~
    DEFAULT ITEM~, ITEM+27
    DG ITEM+7~
    DIC ITEM+7~, ITEM+8*, MASTITEM+4~, MASTITEM+6*, GETITEM+4~, GETITEM+5*, DELETE+2~, DELITEM+1~
    DIC("A" ITEM+10*
    DIC("B" ITEM+27*!
    DIC("S" ITEM+24*, MASTITEM+5*
    DIC("W" ITEM+25*
    DIC(0 ITEM+9*, MASTITEM+6*
    DIK DELITEM+1~, DELITEM+4*
    DIQ GETITEM+4~, GETITEM+8*
    DIQ(0 GETITEM+8*
    DIQ2 GETITEM+4~
    DISTR DELETE+2~, DELETE+30*, DELETE+32*, DELETE+34
    DISYS ITEM+7~, DELETE+2~
    DR GETITEM+4~, GETITEM+6*
    DR( GETITEM+6*
    DTOUT ITEM+7~, ITEM+29, MASTITEM+4~, MASTITEM+7
    DUEIN DELETE+2~, DELETE+9*, DELETE+10
    DUEOUT DELETE+2~, DELETE+11*, DELETE+12
    DUOUT ITEM+7~, ITEM+29, MASTITEM+4~, MASTITEM+7
    I ITEM+7~
    INACTIVE DELETE+2~, DELETE+6*, DELETE+7, DELETE+8
    INVPT ITEM~, ITEM+6, ITEM+8, ITEM+10, ITEM+11, ITEM+21, ITEM+23, ITEM+25, ITEM+26, ITEM+27
    , GETITEM~, GETITEM+3, GETITEM+7
    ITEM DELITEM+1~, DELITEM+2*, DELITEM+3, LISTOO~, LISTOO+15
    ITEMDA GETITEM~, GETITEM+3, GETITEM+7, DELETE~, DELETE+1, DELETE+3, DELETE+7, DELETE+9, DELETE+11, DELETE+14
    , DELETE+17, DELETE+24, DELETE+26, DELETE+30, DELETE+34, ORDCHK~, ORDCHK+18, ORDCHK+21
    ORD ORDCHK+8~, ORDCHK+16*, ORDCHK+17*, ORDCHK+18, ORDCHK+20, ORDCHK+21, ORDCHK+23, LISTOO+5~, LISTOO+13*, LISTOO+14*
    , LISTOO+15, LISTOO+16, LISTOO+17
    ORDSTA ORDCHK~, ORDCHK+9*, ORDCHK+19, ORDCHK+20, ORDCHK+22, ORDCHK+23, LISTOO~, LISTOO+6*, LISTOO+17, LISTOO+18
    ORDTYP ORDCHK~, ORDCHK+18, ORDCHK+21
    OUTORD DELETE+2~, DELETE+14*, ORDCHK+8~, ORDCHK+14*, ORDCHK+17, ORDCHK+19*, ORDCHK+20*, ORDCHK+22*, ORDCHK+23*, ORDCHK+24
    , LISTOO+5~, LISTOO+11*, LISTOO+16*, LISTOO+17, LISTOO+18
    PRCPDATA GETITEM+2!
    PRCPINPT DELETE~, DELETE+1, DELETE+3, DELETE+6, DELETE+7, DELETE+9, DELETE+11, DELETE+14, DELETE+17, DELETE+18
    , DELETE+24, DELETE+25, DELETE+30, DELITEM~, DELITEM+3, DELITEM+4, ORDCHK~, ORDCHK+10, ORDCHK+17, LISTOO~
    , LISTOO+7, LISTOO+14
    PRCPSET ITEM+7~, ITEM+12*, ITEM+15*, ITEM+18*, ITEM+21*, ITEM+24, MASTITEM+4~, MASTITEM+5*
    PRCPX ITEM+7~
    SCREEN ITEM~, ITEM+15, ITEM+18, ITEM+21, MASTITEM~, MASTITEM+5
    SITE DELETE+2~, DELETE+18*, DELETE+28
    STRING DELETE+2~
    STRING("ID" DELETE+27, DELETE+28
    TYPE ITEM+7~, ITEM+11*, ITEM+15, ITEM+18, ITEM+21, DELETE+2~, ORDCHK+8~, ORDCHK+10*, ORDCHK+12, ORDCHK+13
    , LISTOO+5~, LISTOO+7*, LISTOO+9, LISTOO+10
    X ITEM+7~, MASTITEM+4~, DELETE+2~, DELETE+7, DELITEM+1~
    >> X1 DELETE+7*
    >> X2 DELETE+7*
    >> XH DELETE+21*, DELETE+31*
    >> XP DELETE+19*, DELETE+31*
    >> XP(1 DELETE+20*
    XREF ORDCHK+8~, ORDCHK+11*, ORDCHK+12*, ORDCHK+13*, ORDCHK+15, ORDCHK+17, LISTOO+5~, LISTOO+8*, LISTOO+9*, LISTOO+10*
    , LISTOO+12, LISTOO+14
    Y ITEM+7~, ITEM+29, MASTITEM+4~, MASTITEM+7, DELETE+2~, DELITEM+1~
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All