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 |  Local Variables  | All
Print Page as PDF
Routine: PRCPAWI0

Package: IFCAP

Routine: PRCPAWI0


Information

PRCPAWI0 ;WISC/RFJ-adjust inventory level - issue adjustment ;11 Mar 94

Source Information

Source file <PRCPAWI0.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
IFCAP 8 SHOWDATA^PRCPAWA0  ISUECONT^PRCPAWI1  ($$QTY,$$REASON,$$VALUE)^PRCPAWU0  IVDATA^PRCPSFIU  (ADD,CLEAR,SHOWWHO)^PRCPULOC  $$INVNAME^PRCPUX1  $$YN^PRCPUYN  $$SELECTIB^PRCPWPLM  
VA FileMan 1 ^DIC  

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

Package Total Caller Graph
IFCAP 1 PRCPAWA0  

Entry Points

Name Comments DBIA/ICR reference
ISUEBOOK ; issue book adjustment
Q
UNLOCK ; unlock issue book lock
LINEITEM()
LINEADJ ; enter line adjustment

External References

Name Field # of Occurrence
^DIC LINEITEM+4
SHOWDATA^PRCPAWA0 LINEADJ+5
ISUECONT^PRCPAWI1 ISUEBOOK+30
$$QTY^PRCPAWU0 LINEADJ+19
$$REASON^PRCPAWU0 LINEADJ+23
$$VALUE^PRCPAWU0 LINEADJ+20, LINEADJ+21
IVDATA^PRCPSFIU ISUEBOOK+27
ADD^PRCPULOC ISUEBOOK+5
CLEAR^PRCPULOC UNLOCK+1
SHOWWHO^PRCPULOC ISUEBOOK+4
$$INVNAME^PRCPUX1 ISUEBOOK+16
$$YN^PRCPUYN ISUEBOOK+29, LINEADJ+16
$$SELECTIB^PRCPWPLM ISUEBOOK+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"THERE IS NOT A VENDOR IN THE VENDOR FILE (#440) DESIGNATED AS A SUPPLY WHSE."
  • Line Location: ISUEBOOK+2
Function Call: WRITE
  • Prompt: !,"CANNOT FIND THE TRANSACTION NUMBER FOR THIS ISSUE BOOK."
  • Line Location: ISUEBOOK+8
Function Call: WRITE
  • Prompt: !,"THIS ISSUE BOOK HAS NOT BEEN POSTED (NO FMS LINE NUMBER) AND CANNOT BE ADJUSTED."
  • Line Location: ISUEBOOK+10
Function Call: WRITE
  • Prompt: !,"THIS ISSUE BOOK DOES NOT HAVE A REFERENCE VOUCHER NUMBER AND CANNOT BE ADJUSTED."
  • Line Location: ISUEBOOK+12
Function Call: WRITE
  • Prompt: !!,">> Reference Voucher Number: ",VOUCHER
  • Line Location: ISUEBOOK+13
Function Call: WRITE
  • Prompt: !!,">> Distribution to: ",$$INVNAME^PRCPUX1(DISTRPT)," inventory point."
  • Line Location: ISUEBOOK+16
Function Call: WRITE
  • Prompt: !,"NOTE: Primary is NOT keeping a PERPETUAL INVENTORY."
  • Line Location: ISUEBOOK+18
Function Call: WRITE
  • Prompt: !,"NOTE: Primary is NOT keeping a DETAILED TRANSACTION REGISTER."
  • Line Location: ISUEBOOK+19
Function Call: WRITE
  • Prompt: !,"NOTE: Primary set up so it will NOT be updated by the warehouse."
  • Line Location: ISUEBOOK+20
Function Call: WRITE
  • Prompt: !,">> PRIMARY inventory point will NOT be updated."
  • Line Location: ISUEBOOK+21
Function Call: WRITE
  • Prompt: !!?10,">> NO LINE ITEMS HAVE BEEN SELECTED <<"
  • Line Location: ISUEBOOK+24
Function Call: WRITE
  • Prompt: !,"MISSING ITEM MASTER NUMBER."
  • Line Location: LINEADJ+4
Function Call: WRITE
  • Prompt: !!,"======================= I S S U E B O O K D A T A ======================="
  • Line Location: LINEADJ+6
Function Call: WRITE
  • Prompt: !?5,"QUANTITY ORDERED: ",+$P(LINEDATA,"^",2)
  • Line Location: LINEADJ+8
Function Call: WRITE
  • Prompt: !?5,"QUANTITY POSTED : ",+$P(POSTDATA,"^",3)
  • Line Location: LINEADJ+9
Function Call: WRITE
  • Prompt: !?5,"INVENTORY VALUE : ",$J(+$P(POSTDATA,"^",4),0,2)
  • Line Location: LINEADJ+10
Function Call: WRITE
  • Prompt: !?5,"SELLING VALUE : ",$J(+$P(POSTDATA,"^",5),0,2),!
  • Line Location: LINEADJ+11
Function Call: WRITE
  • Prompt: !,"THIS LINE ITEM HAS NOT BEEN POSTED AND CANNOT BE ADJUSTED."
  • Line Location: LINEADJ+12
Function Call: WRITE
  • Prompt: !,"THIS ITEM IS NOT STORED IN THE INVENTORY POINT."
  • Line Location: LINEADJ+14
Function Call: WRITE
  • Prompt: !!,"**************** E N T E R A D J U S T M E N T D A T A ****************",!
  • Line Location: LINEADJ+18
Function Call: WRITE
  • Prompt: !!?10,">> EITHER QUANTITY OR VALUE NEEDS TO BE ENTERED FOR AN ADJUSTMENT <<"
  • Line Location: LINEADJ+22
Function Call: WRITE
  • Prompt: !
  • Line Location: LINEADJ+23
Routine Call
  • DIC
  • Line Location:
    • LINEITEM+4

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRC(440 - [#440] ISUEBOOK+2
^PRCP(445 - [#445] ISUEBOOK+17, LINEADJ+14
^PRCS(410 - [#410] ISUEBOOK+4, ISUEBOOK+7, ISUEBOOK+9, ISUEBOOK+14, UNLOCK+2, LINEADJ+4, LINEADJ+7
^TMP($J ISUEBOOK+24, Q!, LINEADJ+2!, LINEADJ+16, LINEADJ+17!, LINEADJ+24*

Label References

Name Line Occurrences
$$LINEITEM LINEADJ+3
LINEADJ ISUEBOOK+23
UNLOCK ISUEBOOK+8, ISUEBOOK+10, ISUEBOOK+12, ISUEBOOK+24, ISUEBOOK+29, ISUEBOOK+31

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% ISUEBOOK+6~, ISUEBOOK+9*, ISUEBOOK+10, ISUEBOOK+11, ISUEBOOK+17*, ISUEBOOK+18, ISUEBOOK+19, ISUEBOOK+20
DA LINEITEM+1~
DA(1 LINEITEM+2*
DIC LINEITEM+1~, LINEITEM+2*
DIC("A" LINEITEM+2*
DIC("W" LINEITEM+3*
DIC(0 LINEITEM+2*
DISTRPT ISUEBOOK+6~, ISUEBOOK+14*, ISUEBOOK+15, ISUEBOOK+16, ISUEBOOK+17, ISUEBOOK+18*, ISUEBOOK+19*, ISUEBOOK+20*, ISUEBOOK+21
INVVALUE LINEADJ+1~, LINEADJ+20*, LINEADJ+22, LINEADJ+24
ITEMDA LINEADJ+1~, LINEADJ+4*, LINEADJ+5, LINEADJ+14, LINEADJ+24
ITEMDATA LINEADJ+1~, LINEADJ+14*
LINEDA LINEADJ+1~, LINEADJ+3*, LINEADJ+4, LINEADJ+7, LINEADJ+16, LINEADJ+17, LINEADJ+24
LINEDATA LINEADJ+1~, LINEADJ+4*, LINEADJ+8
OTHERPT ISUEBOOK+6~, ISUEBOOK+14*
POSTDATA LINEADJ+1~, LINEADJ+7*, LINEADJ+9, LINEADJ+10, LINEADJ+11, LINEADJ+12, LINEADJ+19, LINEADJ+20, LINEADJ+21
>> PRCP("I" ISUEBOOK+27, LINEADJ+5, LINEADJ+14
PRCPDA ISUEBOOK+1~, ISUEBOOK+3*, ISUEBOOK+4, ISUEBOOK+5, ISUEBOOK+7, ISUEBOOK+9, ISUEBOOK+14, ISUEBOOK+27, UNLOCK+1, UNLOCK+2
, LINEITEM+2, LINEADJ+4, LINEADJ+7
PRCPPBFY ISUEBOOK+26~
PRCPPFCP ISUEBOOK+26~
PRCPPSTA ISUEBOOK+26~
PRCPPVNO ISUEBOOK+1~, ISUEBOOK+2*
PRCPWBFY ISUEBOOK+26~
PRCPWFCP ISUEBOOK+26~
PRCPWSTA ISUEBOOK+26~
QTY LINEADJ+1~, LINEADJ+19*, LINEADJ+22, LINEADJ+24
REASON LINEADJ+1~, LINEADJ+23*, LINEADJ+24
SELVALUE LINEADJ+1~, LINEADJ+21*, LINEADJ+22, LINEADJ+24
TRANNO ISUEBOOK+6~, ISUEBOOK+7*, ISUEBOOK+8
VOUCHER ISUEBOOK+6~, ISUEBOOK+11*, ISUEBOOK+12, ISUEBOOK+13
X LINEITEM+1~
>> XH ISUEBOOK+28*
>> XP ISUEBOOK+28*, LINEADJ+16*
>> XP(1 LINEADJ+16*
Y LINEITEM+1~, LINEITEM+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All