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

Package: IFCAP

Routine: PRCPOPUS


Information

PRCPOPUS ;WISC/RFJ-utility: distribution order selection ; 5/5/99 10:25am

Source Information

Source file <PRCPOPUS.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 5 EN^DDIOL  ^DIC  FILE^DICN  ^DIE  ^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: 8

Package Total Caller Graph
IFCAP 8 PRCPAGS2  PRCPCSO1  PRCPCSOR  PRCPOPD  PRCPOPEE  PRCPOPL  PRCPOPR  PRCPRINQ  

Entry Points

Name Comments DBIA/ICR reference
V ;;5.1;IFCAP;**1**;Oct 20, 2000
ADDNEW(ORDER,PRCPPRIM,PRCPSECO)
  • ICR #6574
    • Status: Active
    • Usage: Private
    NEWORDER(PRCPPRIM) ; get next order number for primary
    ; called from 445.3,.01 input transform when entering 'new'.
    ; returns variable x = new order
  • ICR #6574
    • Status: Active
    • Usage: Private
    ORDERSEL(PRCPPRIM,PRCPSECO,PRCPSTAT,ADDNEW) ; select distribution order
    ; prcpprim=primary inventory point screen
    ; prcpseco=secondary inventory point screen
    ; prcpstat=status for screen (set to * to eliminate screen on status)
    ; addnew=1 to add new orders
    ; returns selected distribution order da number
    ; returns variable prcpfnew if its a newly created order
    TYPE(ORDERDA) ; ask order type for orderda
    ; returns 1 if unsuccessful
    TYPEQ
    REMARKS(ORDERDA) ; ask remarks for orderda
    ; returns 1 if unsuccessful
    ITEMSEL(ORDERDA,PRCPPRIM,PRCPADD) ; select item from distribution order
    ; returns item number selected
    ITEMEDIT(ORDERDA,ITEMDA,ASKCOST) ; edit item on distribution order
    ITEMADD(ORDERDA,ITEMDA,QTY) ; automatically add items to distribution order
    ; return item number added or 0 if unsuccessful

    External References

    Name Field # of Occurrence
    EN^DDIOL TYPE+12, TYPE+13
    ^DIC ORDERSEL+26, ITEMSEL+17
    FILE^DICN ADDNEW+3, ITEMADD+9
    ^DIE TYPE+25, REMARKS+5, ITEMEDIT+3
    ^DIR TYPE+20

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !!?10,"YOU NEED TO DELETE SOME OF THE OLD ORDERS FIRST!"
    • Line Location: NEWORDER+11
    Function Call: WRITE
    • Prompt: !
    • Line Location: ITEMSEL+17
    Routine Call
    • DIC
    • Line Location:
      • ORDERSEL+26
      • ITEMSEL+17
    Routine Call
    • DIE
    • Line Location:
      • TYPE+25
      • REMARKS+5
      • ITEMEDIT+3
    Routine Call
    • DIR
    • Line Location:
      • TYPE+20

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PRCP(445.3 - [#445.3] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PRCP(445 - [#445] NEWORDER+3, TYPE+9, ITEMSEL+11, ITEMADD+5
    ^PRCP(445.3 - [#445.3] NEWORDER+5, NEWORDER+6, NEWORDER+7, NEWORDER+8, NEWORDER+9*, NEWORDER+10, ORDERSEL+29*, TYPE+2, TYPE+3, TYPE+8
    , TYPE+9, TYPE+10, REMARKS+2, REMARKS+3, ITEMSEL+3, ITEMSEL+4, ITEMSEL+11, ITEMSEL+12, ITEMEDIT+2, ITEMADD+3
    , ITEMADD+5, ITEMADD+7

    Label References

    Name Line Occurrences
    TYPEQ TYPE+9

    Naked Globals

    Name Field # of Occurrence
    ^(0 ORDERSEL+29*, ITEMSEL+4*, ITEMADD+7*

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    % ADDNEW+2~, ORDERSEL+7~, ORDERSEL+20*, TYPE+4~, REMARKS+4~, ITEMSEL+2~, ITEMADD+2~
    %DT ADDNEW+2~
    %H ORDERSEL+7~
    %I ORDERSEL+7~
    ADDNEW ORDERSEL~, ORDERSEL+24
    ASKCOST ITEMEDIT~, ITEMEDIT+3
    C ADDNEW+2~, ORDERSEL+7~, ITEMSEL+2~
    D TYPE+4~, REMARKS+4~, ITEMEDIT+1~
    D0 ADDNEW+2~, ORDERSEL+7~, TYPE+4~, REMARKS+4~, ITEMEDIT+1~, ITEMADD+2~
    DA ADDNEW+2~, ORDERSEL+7~, TYPE+4~, TYPE+23*, REMARKS+4~, REMARKS+5*, ITEMSEL+2~, ITEMEDIT+1~, ITEMEDIT+3*, ITEMADD+2~
    DA(1 ITEMSEL+15*, ITEMEDIT+3*, ITEMADD+9*
    DD ADDNEW+2~, ITEMADD+2~
    DDC ITEMSEL+2~
    DDH TYPE+4~, REMARKS+4~
    DG ORDERSEL+7~, ITEMSEL+2~
    DI ADDNEW+2~, ORDERSEL+7~, TYPE+4~, REMARKS+4~, ITEMEDIT+1~, ITEMADD+2~
    DIC ADDNEW+2~, ADDNEW+3*, ORDERSEL+7~, ORDERSEL+9*, TYPE+4~, TYPE+23*, REMARKS+4~, REMARKS+5*, ITEMSEL+2~, ITEMSEL+5*
    , ITEMEDIT+1~, ITEMEDIT+3*, ITEMADD+2~, ITEMADD+9*
    DIC("A" ORDERSEL+10*
    DIC("DR" ADDNEW+3*, ORDERSEL+24*, ITEMADD+8*
    DIC("S" ORDERSEL+14*, ORDERSEL+15*, ORDERSEL+17*, ORDERSEL+18*, ORDERSEL+21*, ITEMSEL+7*, ITEMSEL+14*
    DIC(0 ADDNEW+3*, ORDERSEL+9*, ORDERSEL+24*, ITEMSEL+5*, ITEMSEL+6*, ITEMADD+9*
    DIE ADDNEW+2~, ORDERSEL+7~, TYPE+4~, TYPE+23*, REMARKS+4~, REMARKS+5*, ITEMEDIT+1~, ITEMEDIT+3*, ITEMADD+2~
    >> DINUM ITEMADD+9*
    DIR TYPE+4~
    DIR("A" TYPE+15*, TYPE+16*, TYPE+17*
    DIR("B" TYPE+19*
    DIR(0 TYPE+18*
    DLAYGO ADDNEW+2~, ADDNEW+3*, ORDERSEL+7~, ORDERSEL+24*, ITEMSEL+2~, ITEMSEL+16*, ITEMADD+2~, ITEMADD+9*
    DQ ADDNEW+2~, ORDERSEL+7~, TYPE+4~, REMARKS+4~, ITEMEDIT+1~, ITEMADD+2~
    DR ADDNEW+2~, ORDERSEL+7~, TYPE+4~, TYPE+23*, TYPE+24*, REMARKS+4~, REMARKS+5*, ITEMEDIT+1~, ITEMEDIT+3*, ITEMADD+2~
    DT ORDERSEL+29
    >> DTOUT TYPE+21
    >> DUOUT TYPE+21
    DUZ ADDNEW+3, ORDERSEL+29
    DZ TYPE+4~, REMARKS+4~
    END NEWORDER+4~, NEWORDER+6*, NEWORDER+7, NEWORDER+11
    FLAG NEWORDER+4~, NEWORDER+7, NEWORDER+8!*
    I ITEMSEL+2~
    ITEMDA ITEMEDIT~, ITEMEDIT+2, ITEMEDIT+3, ITEMADD~, ITEMADD+4, ITEMADD+5, ITEMADD+9
    ORD TYPE+4~, TYPE+7*, TYPE+10*, TYPE+11, TYPE+19, TYPE+22*, TYPE+24
    ORDER ADDNEW~, ADDNEW+3
    ORDERDA ORDERSEL+7~, ORDERSEL+27*, ORDERSEL+29, ORDERSEL+30, TYPE~, TYPE+2, TYPE+3, TYPE+8, TYPE+9, TYPE+10
    , TYPE+23, REMARKS~, REMARKS+2, REMARKS+3, REMARKS+5, ITEMSEL~, ITEMSEL+3, ITEMSEL+4, ITEMSEL+5, ITEMSEL+11
    , ITEMSEL+12, ITEMSEL+15, ITEMEDIT~, ITEMEDIT+2, ITEMEDIT+3, ITEMADD~, ITEMADD+3, ITEMADD+5, ITEMADD+7, ITEMADD+9
    PRCPADD ITEMSEL~, ITEMSEL+6, ITEMSEL+11
    PRCPEXIT TYPE+4~, TYPE+7*, TYPE+9, TYPE+14*, TYPE+21*
    PRCPFNEW ORDERSEL+8!, ORDERSEL+28*, ORDERSEL+29
    PRCPNEW ORDERSEL+7~
    PRCPPRIM ADDNEW~, ADDNEW+3, NEWORDER~, NEWORDER+3, NEWORDER+5, NEWORDER+6, NEWORDER+8, NEWORDER+9, NEWORDER+10, ORDERSEL~
    , ORDERSEL+14, ORDERSEL+24, ITEMSEL~, ITEMADD+2~, ITEMADD+5*, ITEMADD+6
    PRCPPRIV ADDNEW+3*!, ORDERSEL+7~, ORDERSEL+11*, TYPE+4~, TYPE+25*, REMARKS+4~, REMARKS+5*, ITEMADD+2~, ITEMADD+9*
    PRCPSEC TYPE+4~, TYPE+8*, TYPE+9, ITEMSEL+12*
    PRCPSECO ADDNEW~, ADDNEW+3, ORDERSEL~, ORDERSEL+15, ORDERSEL+24
    PRCPSET ITEMSEL+2~, ITEMSEL+7*, ITEMSEL+14*
    PRCPSTAT ORDERSEL~, ORDERSEL+16, ORDERSEL+18, ORDERSEL+20
    QTY ITEMADD~, ITEMADD+6, ITEMADD+8
    SCREEN ORDERSEL+7~, ORDERSEL+19*, ORDERSEL+20*, ORDERSEL+21
    STATUS ORDERSEL+7~, ORDERSEL+20*
    U ITEMSEL+13*
    UNITCOST ITEMADD+2~, ITEMADD+5*, ITEMADD+8
    X ADDNEW+2~, ADDNEW+3*, NEWORDER+3!, NEWORDER+6*, NEWORDER+7*, NEWORDER+8, NEWORDER+9, NEWORDER+11!, ORDERSEL+7~, TYPE+4~
    , REMARKS+4~, ITEMSEL+2~, ITEMEDIT+1~, ITEMADD+2~, ITEMADD+9*
    Y ADDNEW+2~, ADDNEW+4, ORDERSEL+7~, ORDERSEL+26, ORDERSEL+27, ORDERSEL+28, TYPE+4~, TYPE+22, TYPE+26, REMARKS+4~
    , REMARKS+6, ITEMSEL+2~, ITEMSEL+18, ITEMEDIT+1~, ITEMADD+2~, ITEMADD+10, ITEMADD+11
    Z NEWORDER+4~, NEWORDER+8*
    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