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

Package: Auto Replenishment Ward Stock

Routine: PSGWEDI


Information

PSGWEDI ;BHAM ISC/GRK,CML-Enter/Edit of AOU Inventory Values ; 17 Jun 93 / 10:35 AM

Source Information

Source file <PSGWEDI.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Auto Replenishment Ward Stock 3 (EN1,EN3)^PSGWEDI1  ^PSGWFLBO  ^PSGWSET  
VA Fileman 1 ^DIC  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Auto Replenishment Ward Stock 1 PSGW AOU INVENTORY INPUT  

Entry Points

Name Comments DBIA/ICR reference
P2
P3
ONH
P1
END
DUMP
CHKGLOB ;Set piece 4 of global to 0 if null.
TYP
WLOOP
DRUG
PSGDR
EN1 ; PSGWIDA = DA of inventory being edited
AOU
DISP ;CALCULATE DISPENSE AMT
WENT
PSGTYP
PSG2
PSG3
PSG1

External References

Name Field # of Occurrence
^DIC PSGWEDI+4, WENT+1
EN1^PSGWEDI1 ONH
EN3^PSGWEDI1 PSGDR+3
^PSGWFLBO DUMP+4
^PSGWSET PSGWEDI+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!?5,"You may not enter on-hand amounts because you have the ""Merge",!?5,"Inventory Sheet and Pick List"" site parameter set to ""YES""."
  • Line Location: PSGWEDI+3
Function Call: WRITE
  • Prompt: !!," ITEM: ",PSGDR
  • Line Location: PSGDR+1
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: ONH+0
Function Call: WRITE
  • Prompt: PSGX(2)
  • Condition for execution: PSGX(6)=""&(X="")
  • Line Location: ONH+0
Function Call: WRITE
  • Prompt: *7,!,"Enter quantity presently on-hand in the ward at the time of inventory.",!,"Must be a number between 0 and 9999."
  • Line Location: ONH+1
Routine Call
  • DIC
  • Line Location:
    • PSGWEDI+4
    • WENT+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSI(58.19 - [#58.19] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSI(58.1 - [#58.1] WENT, WENT+1, PSGDR+2, ONH+2, DUMP+3
^PSI(58.19 - [#58.19] EN1+2, EN1+3, PSG1, PSG2, PSG3, PSGTYP, PSGDR, DUMP+1, AOU, P1
, P2, P3, TYP, DRUG
^PSI(58.5 - [#58.5] DUMP*

Label References

Name Line Occurrences
CHKGLOB END
DISP ONH+2
DRUG TYP
ONH ONH, ONH+1
P1 AOU
P2 P1
P3 P2
PSG1 PSG2
PSG2 PSG3
PSG3 PSGTYP
PSGDR ONH, DUMP+4
PSGTYP PSGDR
TYP P3
WENT WLOOP

Naked Globals

Name Field # of Occurrence
^( PSGDR, DUMP+1*, DRUG*
^(0 WENT, PSGDR+2, ONH+2, DUMP+3*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% END+1!
%Y END+1!
A END!, PSGDR+2*, PSGDR+4, DUMP+2*, DUMP+3
AMISFL EN1+3*, WLOOP*, END+1!, WENT+1*, DUMP
C END+1!
DA END+1!, WENT+1*, ONH
DIC PSGWEDI+4*!, END!, WENT+1*!
DIC("A" PSGWEDI+4*
DIC("B" WENT*
DIC(0 PSGWEDI+4*, WENT+1*
DRUG END!, AOU*, DRUG*
DTIME ONH
FLG EN1+3*, WLOOP, END!, WENT+1*, ONH*
GRP END+1!
I END!, AOU*, P1, P2, P3, TYP, DRUG
J EN1+2*, END!, PSGDR+4*, DUMP+2*, P1*
K END!, P2*
K1 END+1!
KEY END+1!
L END!, P3*
LP END+1!
M END!, TYP*
MIN END!, ONH+2*, DISP+3
N END!, DRUG*
P1 END!, AOU*, P1*, P2, P3, TYP, DRUG
P2 END!, AOU*, P2*, P3, TYP, DRUG
P3 END!, AOU*, P3*, TYP, DRUG
PC END+1!
PSG1 END!, WENT+2*, PSG1*, PSG2, PSG3, PSGTYP, PSGDR, DUMP+1
PSG2 END!, PSG1*, PSG2*, PSG3, PSGTYP, PSGDR, DUMP+1
PSG3 END!, PSG2*, PSG3*, PSGTYP, PSGDR, DUMP+1
PSGDA WLOOP*, END!, WENT
PSGDDA END!, PSGDR*, PSGDR+2, ONH+2, DUMP+3
PSGDR END!, PSGTYP*, PSGDR*, PSGDR+1, DUMP+1
PSGSORTK WLOOP*, END!
PSGTYP END!, PSG3*, PSGTYP*, PSGDR, DUMP+1
>> PSGW("PO" EN1+1!, EN1+2*, WLOOP, END!
PSGWACT END!, DUMP*
PSGWADT EN1+3*, END!, DUMP
PSGWAOU END+1!, WENT+1*, DUMP
PSGWAOUN END!, WENT+1*
PSGWCAT EN1+3*, END!, DUMP
PSGWDA END!, WENT+1*, PSG1, PSG2, PSG3, PSGTYP, PSGDR, PSGDR+2, ONH+2, DUMP+1
, DUMP+3
PSGWDN END!, PSGDR*, DUMP
PSGWDRG END!, ONH*
PSGWFLG PSGWEDI+2*, END+1!
PSGWIDA PSGWEDI+4*, EN1+2, EN1+3, END!, PSG1, PSG2, PSG3, PSGTYP, PSGDR, PSGDR+2
, DUMP+1, DUMP+3, AOU, P1, P2, P3, TYP, DRUG
PSGWIN EN1+3*, END!
PSGWN END!, WENT*
PSGWOD END!, DUMP*
PSGWQD END!, DUMP*
PSGWSITE PSGWEDI+2, PSGWEDI+3, END+1!, WENT+1
PSGWV EN1+1*, END!
PSGX END!
PSGX( PSGDR+4*, DUMP+2
PSGX(2 ONH, DISP+1
PSGX(5 DUMP, DUMP+1, DUMP+4, DISP+1*, DISP+2*, DISP+3*
PSGX(6 ONH, ONH+2*, DISP+1, DISP+2
RELEV END!, ONH+2*, DISP+1, DISP+2
SK EN1+2*, END!
TYP END!, AOU*, TYP*, DRUG
WN END!
X END!, ONH*, ONH+1, ONH+2
Y PSGWEDI+4, END!, WENT+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