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

Package: IHS Accounts Receivable

Routine: BARRQ1


Information

BARRQ1 ; IHS/SD/TPF - RE-QUEU A/R TRANSACTIONS SEARCH UTILITIES

Source Information

Source file <BARRQ1.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 3 NOW^%DTC  ^DIC  ^DIR  
IHS Accounts Receivable 2 EN1^BARRQ  ($$CURSTAT,$$SETSESS)^BARUFUT  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
IHS Accounts Receivable 2 BARRQ  BARRQ2  

Entry Points

Name Comments DBIA/ICR reference
FNSEARCH(FN) ;EP - SEARCH FOR FILENAME IN NODE 6 OF BARTR
SESS ;EP - ASK FOR A SESSION
PROCESS ;EP - PROCESS DATA FOUND FROM SEARCHES
SETRQTYP(DIR) ;EP - SET REQTYP HELP IN BARRQ
MSG1(BARMSG1,BARERR) ;EP - MESSAGE
OPENSESS(REJECT,ESC) ;EP - ENTER NEW OPEN SESSION FOR RE-QUEUING
CBSEARCH(CB) ;EP - SEARCH FOR A GIVEN COL BATCH WHERE THE TX IS IN A SESSION BUT HAS NO NODE 6
ASKSESS ;EP -
SAVE ; - EP SAVE ORIGINAL DATA
SSEARCH(SS) ;EP - SEARCH FOR A TX IN A SESSION WHERE THE SESSION HAS

External References

Name Field # of Occurrence
NOW^%DTC ASKSESS+23, SAVE+1
EN1^BARRQ PROCESS+16
$$CURSTAT^BARUFUT ASKSESS+37
$$SETSESS^BARUFUT ASKSESS+33
^DIC ASKSESS+11, ASKSESS+30, CBSEARCH+11, SESS+5, SESS+12
^DIR ASKSESS+41, FNSEARCH+12, PROCESS+6, PROCESS+13

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"SESSION COULD NOT BE CREATED!!"
  • Line Location: ASKSESS+31
Function Call: WRITE
  • Prompt: !!,"STATUS COULD NOT BE SET!!"
  • Line Location: ASKSESS+34
Function Call: WRITE
  • Prompt: !!!,"A NEW SESSION HAS BEEN OPENED FOR "_NEWUSRNM_" TO BE USED FOR RE-QUEUING"
  • Line Location: ASKSESS+36
Function Call: WRITE
  • Prompt: !!,"SESSION: ",NEWSESS,?30,"STATUS: ",$$CURSTAT^BARUFUT(NEWDUZ,NEWSESS,"E")
  • Line Location: ASKSESS+37
Function Call: WRITE
  • Prompt: !
  • Line Location: ASKSESS+38
Function Call: WRITE
  • Prompt: !!,"USE THIS SEARCH OPTION TO FIND TX THAT APPARENTLY WERE IN A SESSION"
  • Line Location: CBSEARCH+6
Function Call: WRITE
  • Prompt: !,"THE SESSION WAS TRANSMITTED BUT THE SITE AND HUB CLAIM"
  • Line Location: CBSEARCH+7
Function Call: WRITE
  • Prompt: !,"THE TX IS NO WHERE TO BE FOUND"
  • Line Location: CBSEARCH+8
Function Call: WRITE
  • Prompt: ?25,TXDT,?35,TXFILE,!?25,"BY: ",$P($G(^VA(200,TXBY,0)),U)
  • Line Location: CBSEARCH+47
Function Call: WRITE
  • Prompt: !,25,TXDT,?35,TXFILE,!?25,"BY: ",$P($G(^VA(200,TXBY,0)),U)
  • Line Location: CBSEARCH+48
Function Call: WRITE
  • Prompt: !!,"SESSION ",SESSID," OF CASHIER ",$P($G(^VA(200,UDUZ,0)),U)
  • Line Location: SESS+15
Function Call: WRITE
  • Prompt: !,"WILL BE SEARCHED FOR TRANSACTIONS"
  • Line Location: SESS+16
Function Call: WRITE
  • Prompt: !,"THIS WILL ONLY BE DONE IF THE SESSION HAS BEEN TRANSMITTED."
  • Line Location: SESS+18
Function Call: WRITE
  • Prompt: !!,"SESSION CASHIER ",$P($G(^VA(200,UDUZ,0)),U)
  • Line Location: SESS+23
Function Call: WRITE
  • Prompt: !,"SESSION ",SESSID," HAS BEEN TRANSMITTED..."
  • Line Location: SESS+24
Function Call: WRITE
  • Prompt: ?17,"HAS NODE 6"
  • Line Location: SESS+33
Function Call: WRITE
  • Prompt: ?17,TX_" MISSING NODE 6"
  • Line Location: SESS+45
Function Call: WRITE
  • Prompt: !,"A TOTAL OF ",TRCNT," TRANSACTIONS WERE PROCESSED"
  • Line Location: SESS+50
Function Call: WRITE
  • Prompt: !,"THERE WERE "_$S(NO6=0:"NO",1:NO6)_" TRANSACTION"_$S(NO6=0!(NO6>1):"S",1:"")_" FOUND WITHOUT NODE 6"
  • Line Location: SESS+51
Function Call: WRITE
  • Prompt: !,"THERE WERE "_$S(FOUND6=0:"NO",1:FOUND6)_" TRANSACTION"_$S(FOUND6=0!(FOUND6>1):"S",1:"")_" FOUND WITH NODE 6"
  • Line Location: SESS+52
Function Call: WRITE
  • Prompt: !!,"THERE ARE "_$G(^TMP($J,BARRNAM,$J))_" TRANSACTIONS TO PROCESS."
  • Line Location: PROCESS+7
Function Call: WRITE
  • Prompt: !,?6,"# OF A/R TX'S PROCESSED FOR ",$G(TPBILL),":",?37,BARCNT3X
  • Line Location: MSG1+17
Routine Call
  • DIC
  • Line Location:
    • ASKSESS+11
    • ASKSESS+30
    • CBSEARCH+11
    • SESS+5
    • SESS+12
Routine Call
  • DIR
  • Line Location:
    • ASKSESS+41
    • FNSEARCH+12
    • PROCESS+6
    • PROCESS+13

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BARBL( FNSEARCH+39
^BARCOL( FNSEARCH+40
^BARSESS( FNSEARCH+25, CBSEARCH+25, CBSEARCH+28, CBSEARCH+32, CBSEARCH+34, CBSEARCH+39, CBSEARCH+42, CBSEARCH+43, SESS+26, SESS+28
, SAVE+9, SAVE+10
^BARTR( CBSEARCH+17, CBSEARCH+18, CBSEARCH+51, SESS+32, SESS+34, SAVE+4, SAVE+5, SAVE+6
^DD(90057 ASKSESS+28
^TMP($J FNSEARCH+41, FNSEARCH+43*, CBSEARCH+55, CBSEARCH+57*, SESS+49*, PROCESS+1, PROCESS+7, PROCESS+9, MSG1+2, MSG1+3*
, MSG1+4*, MSG1+5*, MSG1+6*, SAVE+2*, SAVE+3*, SAVE+4*, SAVE+5*, SAVE+6*, SAVE+8*, SAVE+9*
, SAVE+10*
^VA(200 - [#200] ASKSESS+35, FNSEARCH+37, CBSEARCH+47, CBSEARCH+48, SESS+15, SESS+23, SESS+38, MSG1+15

Label References

Name Line Occurrences
ASKSESS ASKSESS+31, ASKSESS+34
SESS SESS+13

Naked Globals

Name Field # of Occurrence
^(0 FNSEARCH+29, FNSEARCH+30
^(1 FNSEARCH+22
^(6 FNSEARCH+31, FNSEARCH+32, FNSEARCH+33, FNSEARCH+34

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % ASKSESS+24, SAVE+3, SAVE+8
>> BAR3PB MSG1+17
>> BARBILL MSG1+5, MSG1+14
>> BARCNT PROCESS+15*
>> BARCNT3X MSG1+17
>> BARCNTE MSG1+10*, MSG1+18
>> BARCNTS MSG1+8, MSG1+9*, MSG1+12
BARERR MSG1~, MSG1+7
BARMSG1 MSG1~, MSG1+4, MSG1+8, MSG1+12
>> BARRNAM FNSEARCH+41, FNSEARCH+43, CBSEARCH+55, CBSEARCH+57, SESS+49, PROCESS+1, PROCESS+7, PROCESS+9, MSG1+2, MSG1+3
, MSG1+4, MSG1+5, MSG1+6, SAVE+2, SAVE+3, SAVE+4, SAVE+5, SAVE+6, SAVE+8, SAVE+9
, SAVE+10
>> BARRQDT MSG1+2, MSG1+3, MSG1+4, MSG1+5, MSG1+6, SAVE+2, SAVE+3, SAVE+4, SAVE+5, SAVE+6
, SAVE+8, SAVE+9, SAVE+10
>> BARSAVE MSG1+19*, SAVE+11*
>> BARTMP MSG1+2*, MSG1+3, MSG1+4, MSG1+5, MSG1+6
>> BARTRIEN PROCESS+8*, PROCESS+9*, PROCESS+12, MSG1+1*, MSG1+2, MSG1+3, MSG1+4, MSG1+5, MSG1+6, MSG1+13
, SAVE+2, SAVE+3, SAVE+4, SAVE+5, SAVE+6, SAVE+8, SAVE+9, SAVE+10
>> BILL FNSEARCH+29*, FNSEARCH+39
>> BY SESS+37*, SESS+38*, SESS+42
>> BYUSER FNSEARCH+33*, FNSEARCH+37
CB CBSEARCH~, CBSEARCH+57*
CBATTAR CBSEARCH+4~
>> COLBAT FNSEARCH+30*, FNSEARCH+40, CBSEARCH+13*, CBSEARCH+17
>> COLBATTAR CBSEARCH+14*
DA ASKSESS+6!, ASKSESS+22!, CBSEARCH+5!, SESS+2!, SESS+8!
DA(1 ASKSESS+25*, ASKSESS+29, SESS+9*, SESS+10
>> DASHLINE MSG1+11
DIC ASKSESS+6!, ASKSESS+8*, ASKSESS+22!, ASKSESS+29*, CBSEARCH+5!, CBSEARCH+10*, SESS+2!, SESS+3*, SESS+8!, SESS+10*
DIC("A" ASKSESS+7*
DIC("P" ASKSESS+28*
DIC(0 ASKSESS+9*, ASKSESS+27*, CBSEARCH+9*, SESS+4*, SESS+11*
DIE ASKSESS+6!, ASKSESS+22!, CBSEARCH+5!, SESS+2!, SESS+8!
DIR ASKSESS+6!, ASKSESS+22!, ASKSESS+39!, FNSEARCH+6!, CBSEARCH+5!, SESS+2!, SESS+8!, PROCESS+4!, PROCESS+10!, SETRQTYP~
DIR("?" FNSEARCH+9*, FNSEARCH+10*, FNSEARCH+11*, SETRQTYP+1*, SETRQTYP+2*, SETRQTYP+3*, SETRQTYP+4*, SETRQTYP+5*, SETRQTYP+6*, SETRQTYP+7*
, SETRQTYP+8*, SETRQTYP+9*, SETRQTYP+10*, SETRQTYP+11*, SETRQTYP+12*, SETRQTYP+13*, SETRQTYP+14*, SETRQTYP+15*, SETRQTYP+16*, SETRQTYP+17*
, SETRQTYP+18*, SETRQTYP+19*, SETRQTYP+20*, SETRQTYP+21*, SETRQTYP+22*, SETRQTYP+23*, SETRQTYP+24*, SETRQTYP+25*, SETRQTYP+26*, SETRQTYP+27*
, SETRQTYP+28*, SETRQTYP+29*
DIR("A" FNSEARCH+8*, PROCESS+12*
DIR(0 ASKSESS+40*, FNSEARCH+7*, PROCESS+5*, PROCESS+11*
>> DIROUT FNSEARCH+13
>> DIRUT FNSEARCH+13
DR ASKSESS+6!, ASKSESS+22!, CBSEARCH+5!, SESS+2!, SESS+8!
>> DTOUT FNSEARCH+13
>> DUOUT FNSEARCH+13, PROCESS+14
DUZ(2 ASKSESS+8, FNSEARCH+25, FNSEARCH+39, FNSEARCH+40, CBSEARCH+17, CBSEARCH+18, CBSEARCH+25, CBSEARCH+28, CBSEARCH+32, CBSEARCH+34
, CBSEARCH+39, CBSEARCH+42, CBSEARCH+43, CBSEARCH+51, SESS+26, SESS+28, SESS+32, SESS+34, SAVE+4, SAVE+5
, SAVE+6, SAVE+9, SAVE+10
ESC OPENSESS~, ASKSESS+12*
FILENAME FNSEARCH+4~
FLAG PROCESS+17!
FN FNSEARCH~, FNSEARCH+43*
>> FNAME FNSEARCH+31*, FNSEARCH+36
FNFILE CBSEARCH+4~, CBSEARCH+18*, CBSEARCH+25
FOUND6 SESS+1~, SESS+19*, SESS+33*, SESS+52
>> GLO FNSEARCH+15*, FNSEARCH+17*, FNSEARCH+18, FNSEARCH+19, FNSEARCH+20, FNSEARCH+21, FNSEARCH+24, FNSEARCH+28
>> I CBSEARCH+42*, CBSEARCH+47
INSESS CBSEARCH+4~
>> NEWDUZ ASKSESS+4*, ASKSESS+21*, ASKSESS+25, ASKSESS+33, ASKSESS+35, ASKSESS+37
>> NEWSESS ASKSESS+4*, ASKSESS+32*, ASKSESS+37, MSG1+6, SAVE+8
>> NEWUSR MSG1+6
>> NEWUSRNM ASKSESS+4*, ASKSESS+35*, ASKSESS+36, MSG1+6
>> NO6 SESS+19*, SESS+45*, SESS+51
NODE6 FNSEARCH+21*, FNSEARCH+28*, SESS+1~, SESS+34*, SESS+35, SESS+36, SESS+37, SESS+39
REJECT OPENSESS~, ASKSESS+5*
RQLIST SESS+1~
SESSFOUN CBSEARCH+4~, CBSEARCH+22!, CBSEARCH+23*, CBSEARCH+35*, CBSEARCH+50
SESSFOUN( CBSEARCH+36*
SESSID ASKSESS+24*, ASKSESS+26, FNSEARCH+32*, FNSEARCH+38, SESS+1~, SESS+14*, SESS+15, SESS+24, SESS+26, MSG1+5
, MSG1+13, SAVE+7, SAVE+8, SAVE+9, SAVE+10
>> SESSION CBSEARCH+33*, CBSEARCH+34*, CBSEARCH+36, CBSEARCH+37, CBSEARCH+39, CBSEARCH+42, CBSEARCH+43
>> SID SESS+36*, SESS+41
SS SSEARCH~, SESS+49*
>> TARGFILE FNSEARCH+14*, FNSEARCH+19
>> TPBILL MSG1+5, MSG1+16, MSG1+17
TRANS SESS+1~
>> TRANTYPE FNSEARCH+22*, FNSEARCH+23, CBSEARCH+51*, CBSEARCH+52, CBSEARCH+53
TRCNT SESS+1~, SESS+19*, SESS+31*, SESS+50
>> TRDT CBSEARCH+41*, CBSEARCH+42*, CBSEARCH+43
>> TX FNSEARCH+24*, FNSEARCH+25, FNSEARCH+35, FNSEARCH+41, FNSEARCH+42, FNSEARCH+43, CBSEARCH+16*, CBSEARCH+17*, CBSEARCH+18, CBSEARCH+25
, CBSEARCH+28, CBSEARCH+32, CBSEARCH+34, CBSEARCH+51, CBSEARCH+54, CBSEARCH+55, CBSEARCH+56, CBSEARCH+57, SESS+25*, SESS+26*
, SESS+27, SESS+28, SESS+32, SESS+34, SESS+45, SESS+49
>> TXBY CBSEARCH+46*, CBSEARCH+47, CBSEARCH+48
TXCNT FNSEARCH+4~, FNSEARCH+5*
>> TXDATA CBSEARCH+43*, CBSEARCH+44, CBSEARCH+45, CBSEARCH+46
>> TXDT CBSEARCH+44*, CBSEARCH+47, CBSEARCH+48
>> TXFILE CBSEARCH+45*, CBSEARCH+47, CBSEARCH+48
U ASKSESS+28, ASKSESS+33, ASKSESS+35, FNSEARCH+22, FNSEARCH+29, FNSEARCH+30, FNSEARCH+31, FNSEARCH+32, FNSEARCH+33, FNSEARCH+34
, FNSEARCH+37, FNSEARCH+39, FNSEARCH+40, CBSEARCH+14, CBSEARCH+18, CBSEARCH+44, CBSEARCH+45, CBSEARCH+46, CBSEARCH+47, CBSEARCH+48
, CBSEARCH+51, SESS+15, SESS+23, SESS+35, SESS+36, SESS+37, SESS+38, SESS+39, MSG1+5, MSG1+6
, MSG1+15, SAVE+8
UDUZ CBSEARCH+31*, CBSEARCH+32*, CBSEARCH+34, CBSEARCH+39, CBSEARCH+42, CBSEARCH+43, SESS+1~, SESS+7*, SESS+9, SESS+15
, SESS+23, SESS+26, MSG1+5, MSG1+15, SAVE+7, SAVE+8, SAVE+9, SAVE+10
UFMSFN SESS+1~, SESS+35*, SESS+40
UNIQID FNSEARCH+34*, SESS+1~, SESS+39*, SESS+43
>> X ASKSESS+12, ASKSESS+26*, ASKSESS+33*, ASKSESS+34
>> Y ASKSESS+12, ASKSESS+21, ASKSESS+31, ASKSESS+32, ASKSESS+33, FNSEARCH+13, FNSEARCH+14, CBSEARCH+12, CBSEARCH+13, CBSEARCH+14
, SESS+6, SESS+7, SESS+13, SESS+14
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All