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 |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PRCPOPPP

Package: IFCAP

Routine: PRCPOPPP


Information

PRCPOPPP ;WISC/RFJ/DWA-move item from prim to seco to patient ;27 Sep 93

Source Information

Source file <PRCPOPPP.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
IFCAP 6 BALANCE^PRCPUBAL  COSTCNTR^PRCPUCC  (SETIN,SETOUT)^PRCPUDUE  DISTITEM^PRCPUPAT  (ADDUSAG,RECEIPTS)^PRCPUSAG  ADDTRAN^PRCPUTRX  
VA FileMan 1 DD^%DT  

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

Package Total Caller Graph
IFCAP 2 PRCPOPP  PRCPOPP3  

Entry Points

Name Comments DBIA/ICR reference
SALE(PRCPPRIM,ITEMDA,TRANORDR,PRCPOPPP) ; post item for primary sale
; tranordr=transaction register #
; prcpoppp("qty") = qty to sale (include minus for sale)
; prcpoppp("invval") = inv value sold (include minus for sale)
; prcpoppp("orderda")= ien of ordernumber in 445.3 (used for type)
; prcpoppp("otherpt") = inv pt sold to
; prcpoppp("dueout") = dueout qty to add (- to subtract)
; prcpoppp("reason") = 0:reason for transaction register
; prcpoppp("noinvpt") = set to 1 to prevent from updating invpt
; locks to inventory pt prcpprim need to be applied before entry
  • ICR #6573
    • Status: Active
    • Usage: Private
    RECEIPT(PRCPSECO,ITEMDA,TRANORDR,PRCPOPPP) ; receive items
    ; tranordr=transaction register #
    ; prcpoppp("qty") = qty to receive
    ; prcpoppp("invval") = inv value received
    ; prcpoppp("otherpt") = inv pt received from
    ; prcpoppp("duein") = duein qty to add (- to subtract)
    ; prcpoppp("reason") = 0:reason for transaction register
    ; for patient distributions:
    ; prcpoppp("prcpptda") = ptr to file 446.1 (patient distribution)
    ; locks to inventory pt prcpseco need to be applied before entry
  • ICR #6573
    • Status: Active
    • Usage: Private
    INVPT(PRCPINPT,ITEMDA,TRANTYPE,TRANORDR,PRCPOPPP) ; update inventory point data
    ; trantype=type of transaction; tranordr=transaction register #
    ; prcpoppp("qty") = qty to add to inventory point
    ; prcpoppp("invval") = value to add to inventory point
    ; prcpoppp("otherpt") = inv pt sold to (for transaction register)
    ; prcpoppp("dueout") = qty to add to dueout
    ; prcpoppp("duein") = qty to add to duein
    ; prcpoppp("reason") = 0:reason for transaction register
    ; locks to inventory pt prcpinpt need to be applied before entry

    External References

    Name Field # of Occurrence
    DD^%DT RECEIPT+30
    BALANCE^PRCPUBAL INVPT+15
    COSTCNTR^PRCPUCC SALE+15
    SETIN^PRCPUDUE INVPT+30
    SETOUT^PRCPUDUE INVPT+29
    DISTITEM^PRCPUPAT RECEIPT+35
    ADDUSAG^PRCPUSAG SALE+18, RECEIPT+23
    RECEIPTS^PRCPUSAG RECEIPT+12
    ADDTRAN^PRCPUTRX INVPT+35

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^PRCP(445 - [#445] SALE+14, INVPT+11, INVPT+12, INVPT+26*
    ^PRCP(445.1 - [#445.1] INVPT+15
    ^PRCP(445.3 - [#445.3] SALE+24

    Label References

    Name Line Occurrences
    INVPT SALE+25, RECEIPT+15, RECEIPT+32

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    COST RECEIPT+26~, RECEIPT+27*, RECEIPT+28, RECEIPT+35
    COSTCNTR SALE+12~, SALE+14*, SALE+15
    DT INVPT+15, INVPT+25
    ITEMDA SALE~, SALE+18, SALE+25, RECEIPT~, RECEIPT+12, RECEIPT+15, RECEIPT+23, RECEIPT+32, RECEIPT+35, INVPT~
    , INVPT+12, INVPT+15, INVPT+26, INVPT+29, INVPT+30, INVPT+35
    ITEMDATA INVPT+10~, INVPT+12*, INVPT+18*, INVPT+19*, INVPT+20*, INVPT+23*, INVPT+24*, INVPT+25*, INVPT+26
    PRCPINPT INVPT~, INVPT+11, INVPT+12, INVPT+15, INVPT+26, INVPT+29, INVPT+30, INVPT+35
    PRCPOPPP SALE~, SALE+25, RECEIPT~, RECEIPT+15, RECEIPT+32, INVPT~, INVPT+35
    PRCPOPPP("DUEIN" RECEIPT+29!, INVPT+30
    PRCPOPPP("DUEOUT" INVPT+29
    PRCPOPPP("INVVAL" SALE+15, SALE+18, RECEIPT+23, RECEIPT+27, RECEIPT+28*, INVPT+11*, INVPT+20, INVPT+34
    PRCPOPPP("NOINVPT" SALE+21
    PRCPOPPP("ORDERDA" SALE+24
    PRCPOPPP("OTHERPT" SALE+15, RECEIPT+29!
    PRCPOPPP("PRCPPTDA" RECEIPT+18
    PRCPOPPP("QTY" SALE+18, RECEIPT+12, RECEIPT+23, RECEIPT+27, RECEIPT+28*, INVPT+11*, INVPT+19
    PRCPOPPP("REASON" RECEIPT+31*
    PRCPOPPP("SELVAL" RECEIPT+28*, INVPT+34*
    PRCPPRIM SALE~, SALE+14, SALE+15, SALE+18, SALE+25
    >> PRCPPTDA RECEIPT+30, RECEIPT+35
    PRCPSECO RECEIPT~, RECEIPT+12, RECEIPT+15, RECEIPT+23, RECEIPT+32
    QTY RECEIPT+26~, RECEIPT+27*, RECEIPT+28, RECEIPT+35
    QUANTITY INVPT+10~, INVPT+23*, INVPT+24
    TRANORDR SALE~, SALE+25, RECEIPT~, RECEIPT+15, RECEIPT+32, INVPT~, INVPT+35
    TRANTYPE INVPT~, INVPT+25, INVPT+35
    TYPE SALE+12~, SALE+24*, SALE+25
    Y RECEIPT+26~, RECEIPT+30*, RECEIPT+31
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All