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 |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BARRPAY2

Package: IHS Accounts Receivable

Routine: BARRPAY2


Information

BARRPAY2 ; IHS/SD/PKD - TOP PAYERS REPORT ; 07/2/2010

Source Information

Source file <BARRPAY2.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
IHS Accounts Receivable 2 (HD,HDB)^BARRPSRB  PAZ^BARRUTL  

Entry Points

Name Comments DBIA/ICR reference
SORT
SUBSORT
PRTSBTL
GRTOT
PRINT ; EP -
; Need to resort ^TMP($J,"BAR-PAY" by Amount Paid
SORTSUB

External References

Name Field # of Occurrence
HD^BARRPSRB GRTOT+3, GRTOT+8, PRTSBTL+3, PRTSBTL+12, SORTSUB+4
HDB^BARRPSRB SUBSORT+12, PRTSBTL+17
PAZ^BARRUTL GRTOT+14, PRTSBTL+17

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,$P(PAYER,U),?32,$J($P(DATA,U),7),?40,$J($FN(-AMT,",",2),16),?59,$J($FN($P(DATA,U,2),",",2),16)
  • Line Location: GRTOT+4
Function Call: WRITE
  • Prompt: !!,"GRAND TOTALS",?33,$J($FN($G(SUBTOT("CNT")),","),6)
  • Line Location: GRTOT+11
Function Call: WRITE
  • Prompt: ?40,$J($FN($G(SUBTOT("AMT")),",",2),16),?59,$J($FN($G(SUBTOT("ALLOW")),",",2),16),!!
  • Line Location: GRTOT+12
Function Call: WRITE
  • Prompt: !!!,"Nothing to report",!!!
  • Line Location: GRTOT+13
Function Call: WRITE
  • Prompt: !,?10,SUBNM,SORT(1)
  • Line Location: PRTSBTL+4
Function Call: WRITE
  • Prompt: !,$P(PAYER,U),?32,$J($FN($P(DATA,U),","),7),?40,$J($FN(-AMT,",",2),16),?59,$J($FN($P(DATA,U,2),",",2),16)
  • Line Location: PRTSBTL+8
Function Call: WRITE
  • Prompt: !!,"TOTALS",?33,$J($FN($G(SUBTOTG("GRCNT")),","),6)
  • Line Location: PRTSBTL+15
Function Call: WRITE
  • Prompt: ?40,$J($FN($G(SUBTOTG("GRAMT")),",",2),16),?59,$J($FN($G(SUBTOTG("GRALLOW")),",",2),16),!!
  • Line Location: PRTSBTL+16
Function Call: WRITE
  • Prompt: !,?5,"SUB-TOTALS",?33,$J($FN($G(SUBTOT("CNT")),","),6),?40,$J($FN($G(SUBTOT("AMT")),",",2),16),?59,$J($FN($G(SUBTOT("ALLOW")),",",2),16),!
  • Line Location: SORTSUB+2

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTNINS - [#9999999.18] SORT+5, SUBSORT+8
^BAR(90052.05 SORT+6, SUBSORT+9
^BARAC( SORT+4, SUBSORT+6
^TMP($J PRINT+3!, SORT+2, SORT+3, SORT+8*, SUBSORT+2, SUBSORT+3, SUBSORT+4, SUBSORT+5, SUBSORT+10*, GRTOT
, GRTOT+1, GRTOT+2, PRTSBTL+2, PRTSBTL+5, PRTSBTL+6, PRTSBTL+7

Label References

Name Line Occurrences
PRTSBTL SUBSORT+15
SORTSUB PRTSBTL+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALLOW PRINT+5~, SORT+7*, SORT+8, SUBSORT+7*, SUBSORT+10
AMT PRINT+5~, SORT+7*, SORT+8, SUBSORT+7*, SUBSORT+10, SUBSORT+14~, GRTOT*, GRTOT+1, GRTOT+2, GRTOT+4
, GRTOT+6, PRTSBTL+5*, PRTSBTL+6, PRTSBTL+7, PRTSBTL+8, PRTSBTL+10
ARACCT PRINT+5~, SORT+3*, SORT+4, SORT+5, SUBSORT+5*, SUBSORT+6, SUBSORT+8
>> BAR("COL" PRINT+2*
>> BAR("F1" SUBSORT+2, SUBSORT+3, SUBSORT+4, SUBSORT+5, SUBSORT+16, GRTOT, GRTOT+1, GRTOT+2, GRTOT+3, GRTOT+8
, GRTOT+9, PRTSBTL+2, PRTSBTL+3, PRTSBTL+5, PRTSBTL+6, PRTSBTL+7, PRTSBTL+12, PRTSBTL+13, SORTSUB+4
>> BAR("NBR TO P RINT" , GRTOT, PRTSBTL+5
>> BAR("PG" SUBSORT+11*
>> BARACX SORT+4*, SORT+5, SUBSORT+6*, SUBSORT+8
>> BARTAG SUBSORT+2*, SUBSORT+3, SUBSORT+4, SUBSORT+5
CNT PRINT+5~, SORT+7*, SORT+8, SUBSORT+7*, SUBSORT+10
DATA PRINT+5~, SUBSORT+5, SUBSORT+7, GRTOT+2, GRTOT+4, GRTOT+5, GRTOT+7, PRTSBTL+7, PRTSBTL+8, PRTSBTL+9
, PRTSBTL+11
DUZ(2 SORT+4, SORT+6, SUBSORT+6, SUBSORT+9
IOSL GRTOT+3, GRTOT+8, PRTSBTL+3, PRTSBTL+12, PRTSBTL+17, SORTSUB+4
LIMIT SUBSORT+14~, GRTOT*, PRTSBTL+5*
LOC PRINT+5~, SORT+2*, SORT+3, SORT+6, SUBSORT+3*, SUBSORT+4, SUBSORT+5, SUBSORT+9
LOCNM PRINT+5~, SORT+6*, SORT+8, SUBSORT+9*, SUBSORT+10, GRTOT+1*, GRTOT+2
PAYER PRINT+5~, SORT+5*, SORT+8, SUBSORT+8*, SUBSORT+10, GRTOT+2*, GRTOT+4, PRTSBTL+7*, PRTSBTL+8
>> SORT(1 SUBSORT+4*, SUBSORT+5, SUBSORT+10, PRTSBTL+2*, PRTSBTL+4, PRTSBTL+5, PRTSBTL+6, PRTSBTL+7
>> SUBNM SUBSORT+15, PRTSBTL+4
SUBTOT PRINT+4!, PRINT+5~, SUBSORT+16!, GRTOT+10, SORTSUB+1, SORTSUB+3!
SUBTOT("ALLOW" GRTOT+7, GRTOT+12, PRTSBTL+11, SORTSUB+2
SUBTOT("AMT" GRTOT+6, GRTOT+12, PRTSBTL+10, SORTSUB+2
SUBTOT("CNT" GRTOT+5, GRTOT+11, PRTSBTL+9, SORTSUB+2
SUBTOTG PRTSBTL+1~, PRTSBTL+14
SUBTOTG("GRALLOW" PRTSBTL+11, PRTSBTL+16
SUBTOTG("GRAMT" PRTSBTL+10, PRTSBTL+16
SUBTOTG("GRCNT" PRTSBTL+9, PRTSBTL+15
TMP PRINT+5~, SORT+3, SORT+7
U SORT+4, SORT+5, SORT+6, SORT+7, SORT+8, SUBSORT+6, SUBSORT+7, SUBSORT+8, SUBSORT+9, SUBSORT+10
, GRTOT+4, GRTOT+5, GRTOT+7, PRTSBTL+8, PRTSBTL+9, PRTSBTL+11
>> VLOC PRTSBTL+6*, PRTSBTL+7
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All