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

Package: IHS Accounts Receivable

Routine: BARRPTD2


Information

BARRPTD2 ; IHS/SD/pkd - Payment Summary Report by TDN or Date Range ;06/09/2010

Source Information

Source file <BARRPTD2.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
IHS Accounts Receivable 3 $$SDT^BARDUTL  HDB^BARRPSRB  PAZ^BARRUTL  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
IHS Accounts Receivable 1 BARRPTD  

Entry Points

Name Comments DBIA/ICR reference
SETHDR ;
; Build header array
TDNSUB ; print TDN subtotal
TDNDET
DETLN
FILEOUT ; Delimited output to file
DETAIL
FILEHDR
DTDET
TOTFIL
TOTOUT
PRINT ;
LOCTOT ;
TOTAL ;
LOCTOTF ; File Output

External References

Name Field # of Occurrence
$$SDT^BARDUTL SETHDR+11
HDB^BARRPSRB PRINT+7, DTDET+4, TDNDET+2, DETLN+8
PAZ^BARRUTL PRINT+9, DETLN+8, TOTOUT+10

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!!!!?25,"*** NO DATA TO PRINT ***"
  • Line Location: PRINT+8
Function Call: WRITE
  • Prompt: !,HDR
  • Line Location: FILEHDR+6
Function Call: WRITE
  • Prompt: !,@SORTKEY,?21,BATCH,?52
  • Line Location: DETLN+6
Function Call: WRITE
  • Prompt: $J($P(LINE,",",PC),11,2)
  • Line Location: DETLN+7
Function Call: WRITE
  • Prompt: !,LOCANAME,U,@SORTKEY,U,BATCH,U
  • Line Location: FILEOUT+1
Function Call: WRITE
  • Prompt: LINE
  • Line Location: FILEOUT+3
Function Call: WRITE
  • Prompt: !
  • Line Location: LOCTOT+2
Function Call: WRITE
  • Prompt: !?2,"LOCATION TOTAL"
  • Line Location: LOCTOT+3
Function Call: WRITE
  • Prompt: !,"LOCATION TOTAL",U,^TMP($J,"BAR-PTD",LOC)
  • Line Location: LOCTOTF+2
Function Call: WRITE
  • Prompt: BARDSH1
  • Line Location: TOTOUT+5
Function Call: WRITE
  • Prompt: !,?21,$J($P(BARLTOT,U),4)
  • Line Location: TOTOUT+6
Function Call: WRITE
  • Prompt: ?53,$J($FN($P(BARLTOT,U,2),",",2),10)
  • Line Location: TOTOUT+7
Function Call: WRITE
  • Prompt: $J($FN($P(BARLTOT,U,PC),",",2),11)
  • Line Location: TOTOUT+8
Function Call: WRITE
  • Prompt: !
  • Line Location: TOTAL+1
Function Call: WRITE
  • Prompt: !?5,"REPORT TOTAL"
  • Line Location: TOTAL+3
Function Call: WRITE
  • Prompt: !,"TOTALS: ",U,^TMP($J,"BAR-PTD")
  • Line Location: TOTFIL+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BAR(90052.05 SETHDR+16, DETAIL+2
^TMP($J PRINT+2, PRINT+4, PRINT+6, PRINT+12!, SETHDR+2, SETHDR+19, DETAIL+1, DTDET+6, DTDET+7, DTDET+8
, TDNDET+3, TDNDET+4, TDNDET+5, DETLN+2, LOCTOT+4, LOCTOTF+2, TOTOUT+10, TOTAL+2, TOTFIL+2

Label References

Name Line Occurrences
DETAIL PRINT+10
DETLN DTDET+9, TDNDET+6
DTDET DETAIL+4
FILEHDR PRINT+4, SETHDR+2
FILEOUT DETLN+5
LOCTOT DETAIL+6
LOCTOTF LOCTOT+1
SETHDR PRINT+5, DETAIL+3
TDNDET DETAIL+5
TDNSUB DTDET+10, TDNDET+7
TOTAL DETAIL+7
TOTFIL TOTOUT+1
TOTOUT LOCTOT+5, TOTAL+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BAR("COL" SETHDR+21*, SETHDR+22*
>> BAR("F1" PRINT+11
>> BAR("HD" SETHDR+7*, SETHDR+11*, SETHDR+14*, SETHDR+16*, SETHDR+19*
>> BAR("LVL" SETHDR+6*, SETHDR+10*, SETHDR+11, SETHDR+13*, SETHDR+14, SETHDR+16, SETHDR+18*, SETHDR+19
>> BAR("OPT" SETHDR+4*
>> BAR("PG" SETHDR+3*
>> BAR(132 PRINT+1*
>> BAR(133 PRINT+1*, SETHDR+3*
>> BARASK LOCTOT+2
>> BARDASH SETHDR+23*, TOTOUT+2
>> BARDSH1 TOTOUT+3*, TOTOUT+5
>> BAREND SETHDR+11
>> BARLTOT LOCTOT+4*, TOTOUT+6, TOTOUT+7, TOTOUT+8, TOTAL+2*
>> BARSRT SETHDR+9, SETHDR+12, DETAIL+4, DETAIL+5, DETLN+4
>> BARSTART SETHDR+11
>> BARTEXT PRINT+4, SETHDR+2, DTDET+4, TDNDET+2, DETLN+5, LOCTOT+1, TOTOUT+1
>> BARY("DT" SETHDR+5*
>> BATCH DTDET+8*, TDNDET+5*, DETLN+2, DETLN+6, FILEOUT+1
DUZ(2 PRINT+3, SETHDR+15*, SETHDR+16, DETAIL+2, TOTAL+5*
>> DUZ2 TOTAL+5
FILEHDR FILEHDR+1*, TOTFIL+3!
>> FILEWRITE TOTOUT+9
>> HDR FILEHDR+4*, FILEHDR+5*, FILEHDR+6
IO LOCTOTF+1, TOTFIL+1
IOM PRINT+7*
IOSL DETLN+8
>> LINE DETLN+2*, DETLN+7, FILEOUT+2*, FILEOUT+3
LOC PRINT+2~*, PRINT+3*, SETHDR+15, SETHDR+16, DETAIL+1*, DETAIL+2, DTDET+6, DTDET+7, DTDET+8, TDNDET+3
, TDNDET+4, TDNDET+5, DETLN+2, LOCTOT+4, LOCTOTF+2, TOTOUT+10
>> LOCANAME DETAIL+2*, FILEOUT+1
PC DETLN+1~, DETLN+7*, TOTOUT+4~, TOTOUT+5*, TOTOUT+8*
>> QUIT PRINT+9*, DETAIL+1, DTDET+6, DTDET+7, DTDET+8, TDNDET+3, TDNDET+4, TDNDET+5, DETLN+8*
>> SORT1 DTDET+5*, DTDET+6*, DTDET+7, DTDET+8, TDNDET+3*, TDNDET+4, TDNDET+5, DETLN+2
>> SORT2 DTDET+7*, DTDET+8, TDNDET+4*, TDNDET+5, DETLN+2
>> SORTKEY DETLN+4*, DETLN+6, FILEOUT+1
>> TCT DTDET+8*, DTDET+10, TDNDET+5*, TDNDET+7
TP PRINT+14~*, FILEHDR+3~*, TOTAL+6~*, TOTFIL+4~*
U SETHDR+16, SETHDR+19, DETAIL+2, FILEOUT+1, LOCTOTF+2, TOTOUT+6, TOTOUT+7, TOTOUT+8, TOTFIL+2
>> Y PRINT+9, DETLN+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All