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

Package: Accounts Receivable

Routine: RCDPRPL2


Information

RCDPRPL2 ;WISC/RFJ-receipt profile List Manager options ;1 Nov 2018 13:02:23

Source Information

Source file <RCDPRPL2.m>

Call Graph

Call Graph

Call Graph Total: 14

Package Total Call Graph
Accounts Receivable 6 $$SELACCT^RCDPAPLM  DISP^RCDPEDS  ($$GETTYPE,DQ)^RCDPR215  $$DEVICE^RCDPRECT  $$SELPAY^RCDPRPL1  (INIT,SET)^RCDPRPLM  
Kernel 3 ^%ZIS  ^%ZISC  ^%ZTLOAD  
VA FileMan 3 FILE^DICN  ^DIE  ^DIR  
List Manager 2 EN^VALM  FULL^VALM1  

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
Accounts Receivable 7 RCDP RECEIPT PROFILE 215 REPORT  RCDP RECEIPT PROFILE ACCOUNT PROFILE  RCDP RECEIPT PROFILE CUSTOMIZE  RCDP RECEIPT PROFILE PRINT RECEIPT  RCDPRECT  RCDPRPLM  RCDPURE1  
Kernel 1 ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
ACCTPROF ;EP from protocol RCDP RECEIPT PROFILE ACCOUNT PROFILE
; Account Profile action
PRINRECT ;EP from protocol action RCDP RECEIPT PROFILE PRINT RECEIPT
; Print a receipt
PRINT215 ;EP from protocol action RCDP RECEIPT PROFILE 215 REPORT
; Print 215 report
; Input: RCRECTDA - IEN of the selected receipt (#344)
CUSTOMIZ ;EP from protocol RCDP RECEIPT PROFILE CUSTOMIZE
; Option to customize display and printing of the receipt
; Input: None
; Output: Receipt Profile display and printing options customized
RCSET(RCSNPT,RCSLDV) ; File the selected parameter & device as the user's preference
; RCSNPT - Name of the user's preference parameter to file
; RCSLDV - User's preference^Name of the device selected by the user
OPTCK(RCSNPT,RCSLDV) ; function, return user's preference for AR USER CUSTOMIZE parameter (if defined)
; Input: RCSNPT - Name of the AR USER CUSTOMIZE (#342.3) parameter to check
; RCLSDV - Piece to be retrieved off of the 342.3 record
; Returns: user's preference for RCSNPT or null if no preference in file
ASKCUST(OPT,QUES) ; Ask one of the customize questions from the CUSTOMIZ action
; Input: OPT - Name of customize option to set
; QUES - Question for the user
; Returns: 1 if answer 'YES', 0 if answer 'NO', -1 if timed out or '^'
ASKRECT() ; function, ask user when they want to print the receipt
; Returns: 0 (never), 1 (always), 2 (ask), -1 (timed out or '^')
ASKDEVIC(RCTYPE) ; Ask for the default printer for receipts and for 215 report
; Input: RCTYPE - 1 for receipts, 2 for 215 report
; Returns: Name of selected device or ""
SHEOB ; Show EEOB detail if switch on - moved from RCDPRPLM
; Input: RCLINE - Current line count
; Output: RCLINE - Updated line countt

External References

Name Field # of Occurrence
^%ZIS PRINT215+12, ASKDEVIC+10
^%ZISC PRINT215+14, ASKDEVIC+15
^%ZTLOAD PRINT215+14
FILE^DICN RCSET+9, RCSET+17
^DIE RCSET+23
^DIR ASKCUST+10, ASKRECT+9
$$SELACCT^RCDPAPLM ACCTPROF+15
DISP^RCDPEDS SHEOB+10
$$GETTYPE^RCDPR215 PRINT215+6
DQ^RCDPR215 PRINT215+18
$$DEVICE^RCDPRECT PRINRECT+14
$$SELPAY^RCDPRPL1 ACCTPROF+6, PRINRECT+7
INIT^RCDPRPLM CUSTOMIZ+19, CUSTOMIZ+23, CUSTOMIZ+28, CUSTOMIZ+33, CUSTOMIZ+36
SET^RCDPRPLM SHEOB+6, SHEOB+8, SHEOB+13
EN^VALM ACCTPROF+18
FULL^VALM1 ACCTPROF+2, PRINRECT+2, PRINT215+4, CUSTOMIZ+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PRINT215+10
Function Call: WRITE
  • Prompt: !!,"<*> please wait <*>"
  • Line Location: PRINT215+17
Function Call: WRITE
  • Prompt: !!,"This option will allow the user to customize the screen and options"
  • Line Location: CUSTOMIZ+8
Function Call: WRITE
  • Prompt: !,"used for receipt processing."
  • Line Location: CUSTOMIZ+9
Function Call: WRITE
  • Prompt: !!,"The next prompts will allow the user to individually set up the way receipts"
  • Line Location: CUSTOMIZ+38
Function Call: WRITE
  • Prompt: !,"should be printed when entering payment transactions. The user can set"
  • Line Location: CUSTOMIZ+39
Function Call: WRITE
  • Prompt: !,"the software up to automatically print a receipt to a device, never print"
  • Line Location: CUSTOMIZ+40
Function Call: WRITE
  • Prompt: !,"the receipt, or ask to print the receipt. The user can also specify the"
  • Line Location: CUSTOMIZ+41
Function Call: WRITE
  • Prompt: !,"printer used for printing receipts, preventing from having to re-enter it."
  • Line Location: CUSTOMIZ+42
Function Call: WRITE
  • Prompt: !
  • Line Location: CUSTOMIZ+47
Function Call: WRITE
  • Prompt: !,"Since you did not enter a default printer for printing receipts,"
  • Line Location: CUSTOMIZ+55
Function Call: WRITE
  • Prompt: !,"I will change it so the software will ask you to print the receipt"
  • Line Location: CUSTOMIZ+56
Function Call: WRITE
  • Prompt: !,"when entering a payment transaction."
  • Line Location: CUSTOMIZ+57
Function Call: WRITE
  • Prompt: !!!,"You now have the option of setting up the default printer for automatically"
  • Line Location: CUSTOMIZ+63
Function Call: WRITE
  • Prompt: !,"printing the 215 report when a receipt is processed.",!
  • Line Location: CUSTOMIZ+64
Function Call: WRITE
  • Prompt: !
  • Line Location: ASKCUST+9
Function Call: WRITE
  • Prompt: !,"You cannot select your current device as a default printer."
  • Line Location: ASKDEVIC+11
Routine Call
  • %ZIS
  • Line Location:
    • PRINT215+12
    • ASKDEVIC+10
Routine Call
  • DIE
  • Line Location:
    • RCSET+23
Routine Call
  • DIR
  • Line Location:
    • ASKCUST+10
    • ASKRECT+9
Routine Call
  • VALM
  • Line Location:
    • ACCTPROF+18

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^RC(342.3 - [#342.3] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(342.3 RCSET+14
^PRCA(430 - [#430] ACCTPROF+11
^RC(342.3 - [#342.3] RCSET+6, RCSET+12, RCSET+13, RCSET+20, OPTCK+7, OPTCK+10
^RCD(340 - [#340] ACCTPROF+10
^RCY(344 - [#344] ACCTPROF+9, PRINRECT+11
^RCY(344.4 - [#344.4] SHEOB+4
^TMP($J SHEOB+9!, SHEOB+11, SHEOB+13, SHEOB+14!

Label References

Name Line Occurrences
$$ASKCUST CUSTOMIZ+14, CUSTOMIZ+19, CUSTOMIZ+23, CUSTOMIZ+28, CUSTOMIZ+33
$$ASKDEVIC CUSTOMIZ+52, CUSTOMIZ+66
$$ASKRECT CUSTOMIZ+48
$$OPTCK ASKCUST+7, ASKRECT+4, ASKRECT+5, ASKDEVIC+8, ASKDEVIC+9, SHEOB+3
RCSET CUSTOMIZ+50, CUSTOMIZ+58, CUSTOMIZ+60, CUSTOMIZ+67, ASKCUST+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS PRINT215+3~, PRINT215+11*, ASKDEVIC+4*
%ZIS("A" ASKDEVIC+5*, ASKDEVIC+6*
%ZIS("B" ASKDEVIC+7*, ASKDEVIC+8*, ASKDEVIC+9*
ACCT ACCTPROF+5~, ACCTPROF+9*, ACCTPROF+10, ACCTPROF+11
DA RCSET+3~, RCSET+20*
DA(1 RCSET+12*, RCSET+13, RCSET+14, RCSET+20, RCSET+22
DD RCSET+7!, RCSET+16!
DEFAULT ASKRECT+2~, ASKRECT+3*, ASKRECT+5*, ASKRECT+8
DEVICE CUSTOMIZ+43~, CUSTOMIZ+52*, CUSTOMIZ+54, CUSTOMIZ+60, CUSTOMIZ+66*, CUSTOMIZ+67
DIC RCSET+3~, RCSET+8*, RCSET+14*
DIC("DR" RCSET+7!, RCSET+15*
DIC("P" RCSET+14*
DIC(0 RCSET+8*, RCSET+14*
DIE RCSET+3~, RCSET+22*
DIR ASKCUST+4~, ASKRECT+2~
DIR("A" ASKCUST+8*, ASKRECT+7*
DIR("B" ASKCUST+6*, ASKCUST+7*, ASKRECT+8*
DIR(0 ASKCUST+5*, ASKRECT+6*
DO RCSET+7!, RCSET+16!
DR RCSET+3~, RCSET+21*
DTOUT ASKCUST+4~, ASKCUST+11, ASKRECT+2~, ASKRECT+10
DUOUT ASKCUST+4~, ASKCUST+11, ASKRECT+2~, ASKRECT+10
DUZ RCSET+13, RCSET+14, RCSET+20, RCSET+21, OPTCK+7
IO ASKDEVIC+11
IO("Q" PRINT215+14!
IO(0 ASKDEVIC+11
ION ASKDEVIC+12
>> IOUOFF SHEOB+8
>> IOUON SHEOB+8
OPT CUSTOMIZ+4~, CUSTOMIZ+12*, CUSTOMIZ+14, CUSTOMIZ+17*, CUSTOMIZ+19, CUSTOMIZ+22*, CUSTOMIZ+23, CUSTOMIZ+26*, CUSTOMIZ+28, CUSTOMIZ+31*
CUSTOMIZ+33, ASKCUST~, ASKCUST+7, ASKCUST+12
POP PRINT215+3~, PRINT215+13
QUES CUSTOMIZ+4~, CUSTOMIZ+13*, CUSTOMIZ+14, CUSTOMIZ+18*, CUSTOMIZ+19, CUSTOMIZ+22*, CUSTOMIZ+23, CUSTOMIZ+27*, CUSTOMIZ+28, CUSTOMIZ+32*
CUSTOMIZ+33, ASKCUST~, ASKCUST+8
RCDA OPTCK+4~, OPTCK+7*, OPTCK+10*, OPTCK+11
RCDEBTDA ACCTPROF+5~, ACCTPROF+8*, ACCTPROF+10*, ACCTPROF+11*, ACCTPROF+12, ACCTPROF+15*, ACCTPROF+17
>> RCDPFXIT ACCTPROF+20
RCION ASKDEVIC+3~, ASKDEVIC+12*, ASKDEVIC+16
>> RCLINE SHEOB+5*, SHEOB+6, SHEOB+7*, SHEOB+8, SHEOB+12*, SHEOB+13
>> RCRECTDA ACCTPROF+6, ACCTPROF+9, PRINRECT+7, PRINRECT+11, PRINT215+5, SHEOB+4
RCSLDV RCSET~, RCSET+15, RCSET+21, OPTCK~, OPTCK+10
RCSNPT RCSET~, RCSET+6, RCSET+8, RCSET+12, OPTCK~, OPTCK+7, OPTCK+10
RCTRANDA ACCTPROF+5~, ACCTPROF+6*, ACCTPROF+7, ACCTPROF+9, PRINRECT+4~, PRINRECT+7*, PRINRECT+8, PRINRECT+11
RCTYPE PRINT215+3~, PRINT215+6*, PRINT215+7, ASKDEVIC~, ASKDEVIC+6, ASKDEVIC+8, ASKDEVIC+9
RECEIPDA PRINT215+3~, PRINT215+5*
TYPE CUSTOMIZ+43~, CUSTOMIZ+46, CUSTOMIZ+48*, CUSTOMIZ+50, CUSTOMIZ+54, CUSTOMIZ+60
U ACCTPROF+9, ACCTPROF+11, PRINRECT+11, CUSTOMIZ+60, CUSTOMIZ+67, RCSET+14, RCSET+15, RCSET+21, OPTCK+10
>> VALMBCK ACCTPROF+3*, ACCTPROF+19*, ACCTPROF+20*, PRINRECT+3*, PRINT215+5*, CUSTOMIZ+6*
>> VALMSG ACCTPROF+12*, PRINRECT+12*, PRINRECT+14*, PRINRECT+15*
X RCSET+3~, RCSET+8*, RCSET+14*, ASKCUST+4~, ASKRECT+2~
Y RCSET+3~, ASKCUST+4~, ASKCUST+11*, ASKCUST+12, ASKCUST+13, ASKRECT+2~, ASKRECT+10*, ASKRECT+11
Z SHEOB+4~*, SHEOB+10, SHEOB+11*, SHEOB+13
>> ZTDESC PRINT215+15*
>> ZTRTN PRINT215+15*
>> ZTSAVE("RCTYPE" PRINT215+16*
>> ZTSAVE("RECEIPDA" PRINT215+16*
>> ZTSAVE("ZTREQ" PRINT215+16*
ZTSK PRINT215+14!
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 |  Local Variables  | All