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

Package: IHS Accounts Receivable

Routine: BARRNEG2


Information

BARRNEG2 ; IHS/SD/LSL - Print Large Balance Report ;08/20/2008

Source Information

Source file <BARRNEG2.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
IHS Accounts Receivable 3 $$SHDT^BARDUTL  (HD,HDB)^BARRPSRB  EOP^BARUTL  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS Accounts Receivable 1 BARRNEGB  

Entry Points

Name Comments DBIA/ICR reference
CVACCT ;
; For Each CV AR Account
LOC ; For each visit location
TOTAL ;
; Report total
STNDTOT ;
; Write total lines
CVLOOP ;
; For Each Clinic / Visit type
STNDLINE ;
; Write Data line
ALLCTOT ;
; Allowance Category total
CVACTOT ;
; CV AR Account Total
CVTOT ;
; Clinic / Visit type total
APPR ;
; For each 3P Approval Date
LOCTOT ;
; Visit Location total
ALLCAT ;
ACCT ;
; For each AR Account
NEGB ;EP
; Print Negative Balance Report
CLINVIS ; For Clinic / Visit Type Sort
STND ;
; For not Clinic / Visit Type Sort
CVAPPR ;
; For each CV 3P Approval Date
ACTOT ;
; AR Account Total

External References

Name Field # of Occurrence
$$SHDT^BARDUTL STNDLINE+3, STNDLINE+4
HD^BARRPSRB CVAPPR+4, APPR+4
HDB^BARRPSRB NEGB+9
EOP^BARUTL NEGB+12

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: NEGB+11
Function Call: WRITE
  • Prompt: !,"VISIT LOCATION: ",BARL
  • Line Location: LOC+1
Function Call: WRITE
  • Prompt: !?3,"CLINIC: ",BAR2
  • Line Location: CVLOOP+2
Function Call: WRITE
  • Prompt: !?3,"VISIT TYPE: ",BAR2
  • Line Location: CVLOOP+3
Function Call: WRITE
  • Prompt: !?6,"A/R ACCOUNT: ",BARACT,!
  • Line Location: CVACCT+2
Function Call: WRITE
  • Prompt: !
  • Line Location: CVACTOT+2
Function Call: WRITE
  • Prompt: !?1,"AR Account Subtotal ($):"
  • Line Location: CVACTOT+4
Function Call: WRITE
  • Prompt: !
  • Line Location: CVACTOT+7
Function Call: WRITE
  • Prompt: !?5,"Clinic Subtotal ($):"
  • Line Location: CVTOT+3
Function Call: WRITE
  • Prompt: !?1,"Visit Type Subtotal ($):"
  • Line Location: CVTOT+4
Function Call: WRITE
  • Prompt: !
  • Line Location: CVTOT+7
Function Call: WRITE
  • Prompt: !?3,"A/R ACCOUNT: ",BARACT,!
  • Line Location: ACCT+2
Function Call: WRITE
  • Prompt: !,$P(BARBL,"-")
  • Line Location: STNDLINE+2
Function Call: WRITE
  • Prompt: ?12,$$SHDT^BARDUTL($P(BARHOLD,U))
  • Line Location: STNDLINE+3
Function Call: WRITE
  • Prompt: ?22,$$SHDT^BARDUTL(BAR3P)
  • Line Location: STNDLINE+4
Function Call: WRITE
  • Prompt: ?31,$J($FN($P(BARHOLD,U,2),",",2),11)
  • Line Location: STNDLINE+5
Function Call: WRITE
  • Prompt: ?43,$J($FN($P(BARHOLD,U,3),",",2),10)
  • Line Location: STNDLINE+6
Function Call: WRITE
  • Prompt: ?54,$J($FN($P(BARHOLD,U,4),",",2),10)
  • Line Location: STNDLINE+7
Function Call: WRITE
  • Prompt: ?68,$J($FN($P(BARHOLD,U,5),",",2),11)
  • Line Location: STNDLINE+8
Function Call: WRITE
  • Prompt: !
  • Line Location: ACTOT+2
Function Call: WRITE
  • Prompt: !?1,"AR Account Subtotal ($):"
  • Line Location: ACTOT+4
Function Call: WRITE
  • Prompt: !
  • Line Location: ACTOT+7
Function Call: WRITE
  • Prompt: !?2,"All. Cat. Subtotal ($):"
  • Line Location: ALLCTOT+3
Function Call: WRITE
  • Prompt: !
  • Line Location: ALLCTOT+6
Function Call: WRITE
  • Prompt: !?2,"Visit Loc Subtotal ($):"
  • Line Location: LOCTOT+3
Function Call: WRITE
  • Prompt: !
  • Line Location: LOCTOT+6
Function Call: WRITE
  • Prompt: !?7,"Report Total ($):"
  • Line Location: TOTAL+3
Function Call: WRITE
  • Prompt: ?31,$J($FN($P(BARHOLD,U,2),",",2),11)
  • Line Location: STNDTOT+2
Function Call: WRITE
  • Prompt: ?43,$J($FN($P(BARHOLD,U,3),",",2),10)
  • Line Location: STNDTOT+3
Function Call: WRITE
  • Prompt: ?54,$J($FN($P(BARHOLD,U,4),",",2),10)
  • Line Location: STNDTOT+4
Function Call: WRITE
  • Prompt: ?68,$J($FN($P(BARHOLD,U,5),",",2),11)
  • Line Location: STNDTOT+5

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J NEGB+10, NEGB+15, ALLCAT+2, CLINVIS+2, CVLOOP+5, CVACCT+4, CVAPPR+3, CVAPPR+5, CVACTOT+5, CVTOT+5
, STND+3, ACCT+4, APPR+3, APPR+5, ACTOT+5, ALLCTOT+4, LOCTOT+4, TOTAL+4

Label References

Name Line Occurrences
ACCT STND+3
ACTOT ACCT+5
ALLCAT LOC+2
ALLCTOT ALLCAT+6
APPR ACCT+4
CLINVIS ALLCAT+4
CVACCT CVLOOP+5
CVACTOT CVACCT+5
CVAPPR CVACCT+4
CVLOOP CLINVIS+2
CVTOT CVLOOP+6
LOC NEGB+15
LOCTOT LOC+3
STND ALLCAT+5
STNDLINE CVAPPR+6, APPR+6
STNDTOT CVACTOT+6, CVTOT+6, ACTOT+6, ALLCTOT+5, LOCTOT+5, TOTAL+5
TOTAL NEGB+16

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BAR("COL" NEGB+4*, NEGB+5*
>> BAR("F1" NEGB+15, CLINVIS+2, CVLOOP+5, CVACCT+4, CVAPPR+3, CVAPPR+4, STND+3, ACCT+4, APPR+3, APPR+4
>> BAR("PG" NEGB+3*
>> BAR2 CLINVIS+1*, CLINVIS+2*, CVLOOP+2, CVLOOP+3, CVLOOP+5, CVACCT+4, CVAPPR+3, CVAPPR+5, CVACTOT+5, CVTOT+5
>> BAR3P CVACCT+3*, CVACCT+4*, CVAPPR+3, CVAPPR+5, ACCT+3*, ACCT+4*, APPR+3, APPR+5, STNDLINE+4
>> BARACT CVLOOP+4*, CVLOOP+5*, CVACCT+2, CVACCT+4, CVAPPR+3, CVAPPR+5, CVACTOT+5, STND+2*, STND+3*, ACCT+2
, ACCT+4, APPR+3, APPR+5, ACTOT+5
>> BARALLC ALLCAT+1*, ALLCAT+2*, ALLCAT+3, CLINVIS+2, CVLOOP+5, CVACCT+4, CVAPPR+3, CVAPPR+5, CVACTOT+5, CVTOT+5
, STND+3, ACCT+4, APPR+3, APPR+5, ACTOT+5, ALLCTOT+4
>> BARBL CVAPPR+2*, CVAPPR+3*, CVAPPR+5, APPR+2*, APPR+3*, APPR+5, STNDLINE+2
>> BARDASH NEGB+6*, CVACTOT+3, CVTOT+2, ACTOT+3, ALLCTOT+2, LOCTOT+2
>> BAREQUAL NEGB+7*, TOTAL+2
>> BARHOLD CVAPPR+5*, CVACTOT+5*, CVTOT+5*, APPR+5*, STNDLINE+3, STNDLINE+5, STNDLINE+6, STNDLINE+7, STNDLINE+8, ACTOT+5*
, ALLCTOT+4*, LOCTOT+4*, TOTAL+4*, STNDTOT+2, STNDTOT+3, STNDTOT+4, STNDTOT+5
>> BARL NEGB+14*, NEGB+15*, LOC+1, ALLCAT+2, CLINVIS+2, CVLOOP+5, CVACCT+4, CVAPPR+3, CVAPPR+5, CVACTOT+5
, CVTOT+5, STND+3, ACCT+4, APPR+3, APPR+5, ACTOT+5, ALLCTOT+4, LOCTOT+4
>> BARY("SORT" ALLCAT+4, ALLCAT+5, CVLOOP+2, CVTOT+3
IOSL CVAPPR+4, APPR+4
U STNDLINE+3, STNDLINE+5, STNDLINE+6, STNDLINE+7, STNDLINE+8, STNDTOT+2, STNDTOT+3, STNDTOT+4, STNDTOT+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All