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

Package: IHS Accounts Receivable

Routine: BARFPST5


Information

BARFPST5 ; IHS/SD/LSL - A/R FLAT RATE POSTING ; 12/22/2008

Source Information

Source file <BARFPST5.m>

Call Graph

Call Graph Total: 19

Package Total Call Graph
IHS Accounts Receivable 12 EXIT^BARFPST  STOP^BARFPST1  FRPBILL^BARFPST3  REVIEW^BARFPST4  CKCOL^BARPSTU  EN^BARROLL  TR^BARTDO  $$NEW^BARTR  
($$IHS,$$NOTOPEN)^BARUFUT  EOP^BARUTL  $$EN^BARVDF  ^BARVKL0  
VA Fileman 5 ^DIC  ^DIE  ^DIK  $$GET1^DIQ  ^DIR  
IHS VA Utilities 1 $$VALI^XBDIQ1  
Kernel 1 $$CJ^XLFSTR  

Caller Graph

Caller Graph Total: 3

Package Total Caller Graph
IHS Accounts Receivable 3 BAR DELETE FRP BATCH  BARFPST  BARFPST3  

Entry Points

Name Comments DBIA/ICR reference
DELFRPD ;
; Delete FRP Batch
SELCOM ;
; Select command (P/R/E/C/Q)
DELFRPE ;
; Get Flat Rate Posting Entry
DELFRP ; EP
; EP - Called from MAN,FRD
PSTBIL ;
; Post bills
DOC ;
; LSL - 01/01/2000 - Created routine
; Contains code for POSTING, EDITING, CANCELLING, or QUITING
; Bills from A/R FLAT RATE POSTING
ROLFIX ;
; Mark bills for rollback that were posted before the code was
; changed to accomodate 6/29/00
CANCEL ;
; Cancel Entries
NOSESS
ERROR ;
ACTION ; EP
; EP - Posting and review bills section.
POST ;
; Post to A/R TRANSACTION/IHS File and bill's history
STOP(TYPE,BARDIF) ;EP; BAR*1.8*6 DD 4.2.5
CKBAL(BARA,BARPAY,BARCOL,BARITM) ;EP; CHECK IF TX'S WILL CREATE NEGATIVE BALANCE;BAR*1.8*6 DD 4.2.5

External References

Name Field # of Occurrence
EXIT^BARFPST DELFRP+3
STOP^BARFPST1 POST+6
FRPBILL^BARFPST3 ACTION+13
REVIEW^BARFPST4 ACTION+12
CKCOL^BARPSTU CKBAL+21, CKBAL+29
EN^BARROLL ACTION+11, ROLFIX+20
TR^BARTDO PSTBIL+42
$$NEW^BARTR PSTBIL+16
$$IHS^BARUFUT POST+6, CKBAL+6, STOP+1
$$NOTOPEN^BARUFUT ACTION+3
EOP^BARUTL STOP+10
$$EN^BARVDF ERROR+2, ERROR+5
^BARVKL0 ROLFIX+3, ROLFIX+22
^DIC DELFRPE+8
^DIE POST+25, PSTBIL+39
^DIK NOSESS+6, DELFRPD+12
$$GET1^DIQ ERROR+12
^DIR SELCOM+10, CANCEL+14, DELFRPD+6
$$VALI^XBDIQ1 POST+4, PSTBIL+7, PSTBIL+12, PSTBIL+13, CANCEL+3, ROLFIX+13, CKBAL+14
$$CJ^XLFSTR ERROR+3, ERROR+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"You must Review the bills before posting."
  • Line Location: ACTION+4
Function Call: WRITE
  • Prompt: !!,"This is a required response.",!
  • Line Location: ACTION+6
Function Call: WRITE
  • Prompt: !,"Payment of "_$J(BARPAY,9,2)_" posted to "_BARCNT_" bills."
  • Line Location: POST+11
Function Call: WRITE
  • Prompt: !,"Adjustment category "_$P(BARADJ(J),U,3)_" Type "_$P(BARADJ(J),U,5)_" for "_$J($P(BARADJ(J),U),9,2)_" posted to "_BARCNT_" bills."
  • Line Location: POST+18
Function Call: WRITE
  • Prompt: !,"Done Posting."
  • Line Location: POST+19
Function Call: WRITE
  • Prompt: !!!,$$EN^BARVDF("BLN")
  • Line Location: ERROR+2
Function Call: WRITE
  • Prompt: $$CJ^XLFSTR("The system could not create at least 1 entry in the A/R Transaction File")
  • Line Location: ERROR+3
Function Call: WRITE
  • Prompt: !,$$CJ^XLFSTR("Please verify postings for the following bills and repost if necessary")
  • Line Location: ERROR+4
Function Call: WRITE
  • Prompt: $$EN^BARVDF("BLF")
  • Line Location: ERROR+5
Function Call: WRITE
  • Prompt: !,$$GET1^DIQ(90050.01,L,.01)
  • Line Location: ERROR+12
Function Call: WRITE
  • Prompt: ?15,"PAYMENT OF ",$J(BARPAY,9,2)
  • Line Location: ERROR+13
Function Call: WRITE
  • Prompt: ?15,$P(BARADJ(A),U,3),", ",$P(BARADJ(A),U,5)," OF ",$J($P(BARADJ(A),U),9,2)
  • Line Location: ERROR+14
Function Call: WRITE
  • Prompt: !,"This FRP Batch has already been posted. It may not be cancelled"
  • Line Location: CANCEL+6
Function Call: WRITE
  • Prompt: !
  • Line Location: DELFRPE+2
Function Call: WRITE
  • Prompt: !,"Not Deleted."
  • Line Location: DELFRPD+8
Function Call: WRITE
  • Prompt: !,"Deleted!"
  • Line Location: DELFRPD+13
Function Call: WRITE
  • Prompt: !!,"THE TRANSACTION(S) YOU ARE ATTEMPTING TO POST WILL PUT"
  • Line Location: STOP+3
Function Call: WRITE
  • Prompt: !,"THE ",TYPE," INTO A NEGATIVE BALANCE BY $"_-BARDIF
  • Line Location: STOP+4
Routine Call
  • DIE
  • Line Location:
    • POST+25
    • PSTBIL+39
Routine Call
  • DIC
  • Line Location:
    • DELFRPE+8
Routine Call
  • DIR
  • Line Location:
    • SELCOM+10
    • CANCEL+14
    • DELFRPD+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^BARBL(2906 - [#90050.01] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTLOC - [#9999999.06] CKBAL+32
^BAR(90052.06 CKBAL+9
^BARBL( ROLFIX+18
^BARFRP( PSTBIL+5, PSTBIL+10, PSTBIL+11, ROLFIX+7, ROLFIX+8, ROLFIX+11, ROLFIX+16, ROLFIX+17, CKBAL+12, CKBAL+16

Label References

Name Line Occurrences
ACTION ACTION+6, ACTION+12, ACTION+13, ACTION+14
CANCEL ACTION+14
CKBAL POST+8
DELFRPD DELFRP+4
DELFRPE DELFRP+2
ERROR POST+26
NOSESS ACTION+3
POST ACTION+8
PSTBIL POST+10, POST+17
SELCOM ACTION+5
STOP CKBAL+22, CKBAL+23, CKBAL+32

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A ERROR+1~, ERROR+10*, ERROR+11*, ERROR+14
BAR CKBAL+8~, CKBAL+14*, CKBAL+18
BAR( CKBAL+18*, CKBAL+26, CKBAL+28, CKBAL+30
BARA CKBAL~, CKBAL+12, CKBAL+16
>> BARADJ POST+13
>> BARADJ( POST+16, POST+18, PSTBIL+14, ERROR+14
>> BARBLAC PSTBIL+13*
>> BARBLCR PSTBIL+14*
>> BARBLIEN PSTBIL+11*, PSTBIL+12, PSTBIL+13, PSTBIL+19, PSTBIL+43, ROLFIX+17*, ROLFIX+18, ROLFIX+19
>> BARBLPAT PSTBIL+12*
>> BARBNM CANCEL+10
>> BARCAN ACTION+14, CANCEL+5*, CANCEL+8*, CANCEL+16*, NOSESS+2*
>> BARCLV(17 CKBAL+23
>> BARCNT POST+11, POST+18, PSTBIL+3*, PSTBIL+20*, ROLFIX+5*
BARCOL POST+8, CKBAL~
>> BARCOMD ACTION+6, SELCOM+2*, SELCOM+12*
>> BARCT CKBAL+10*, CKBAL+17*, CKBAL+19
BARDIF STOP~, STOP+4
BAREOB PSTBIL+7*, ROLFIX+13*, CKBAL+20~, CKBAL+27*, CKBAL+28*, CKBAL+30, CKBAL+31, CKBAL+32
>> BAREOV(4 CKBAL+31, CKBAL+32
BARF CKBAL+8~, CKBAL+10*, CKBAL+12*, CKBAL+16, CKBAL+18, CKBAL+25*, CKBAL+26*, CKBAL+28, CKBAL+30
>> BARFLAG ACTION+4, SELCOM+4
>> BARFRPL PSTBIL+3*, PSTBIL+5*, PSTBIL+10, PSTBIL+11
>> BARIEN POST+8, POST+23, PSTBIL+5, PSTBIL+10, PSTBIL+11, CANCEL+3, NOSESS+4, DELFRPE+10*, DELFRPD+10, ROLFIX+5*
, ROLFIX+7*, ROLFIX+8, ROLFIX+11, ROLFIX+16, ROLFIX+17
>> BARINM CANCEL+11
BARITM POST+8, CKBAL~
>> BARITV(19 CKBAL+22
BARK CKBAL+8~, CKBAL+15*, CKBAL+16*
BARMULT CKBAL+8~, CKBAL+9*, CKBAL+18, CKBAL+20, CKBAL+24
>> BARNAME DELFRPE+11*, DELFRPD+4
>> BARNOT POST+26
>> BARNOT( PSTBIL+19*, ERROR+7, ERROR+9, ERROR+11
BARPAY POST+5, POST+6, POST+8, POST+11, PSTBIL+14, ERROR+13, CKBAL~, CKBAL+18, CKBAL+19
BARPTOT CKBAL+8~, CKBAL+10*, CKBAL+19*, CKBAL+22, CKBAL+23, CKBAL+30*, CKBAL+31, CKBAL+32
>> BARRAYGO ACTION+10*, ROLFIX+5*
>> BARRECPQ ACTION+7, ACTION+9*, ACTION+12, ACTION+13, ACTION+14, SELCOM+13*
BARROLL ROLFIX+21!
BARROLL( PSTBIL+43*, ROLFIX+19*
>> BARSECT POST+4*
BARSTAT CANCEL+2~, CANCEL+3*, CANCEL+4
>> BARSTOP ACTION+9, POST+3*, POST+6*, POST+9, POST+12, STOP+9*
>> BARTMP POST+2*, POST+14*, PSTBIL+14, PSTBIL+15
>> BARTRAN PSTBIL+15*, PSTBIL+19, PSTBIL+35
>> BARTRIEN PSTBIL+16*, PSTBIL+18, PSTBIL+19, PSTBIL+42
DA POST+21!, POST+23*, PSTBIL+2!, PSTBIL+18*, PSTBIL+40!, NOSESS+4*, DELFRPD+10*, ROLFIX+4!, ROLFIX+23!
DIC DELFRPE+3!, DELFRPE+4*, ROLFIX+23!
DIC("A" DELFRPE+6*
DIC("S" DELFRPE+7*
DIC(0 DELFRPE+5*
DIDEL PSTBIL+38*, PSTBIL+40!
DIE POST+21!, POST+22*, PSTBIL+2!, PSTBIL+21*, PSTBIL+40!, ROLFIX+4!, ROLFIX+23!
>> DIK NOSESS+5*, DELFRPD+11*
DIR SELCOM+3!, SELCOM+11!, CANCEL+15!, DELFRPD+2!, DELFRPD+7!
DIR("A" SELCOM+6*, SELCOM+9*, CANCEL+9*, CANCEL+10*, CANCEL+11*, CANCEL+12*, DELFRPD+4*
DIR("B" CANCEL+13*, DELFRPD+5*
DIR(0 SELCOM+5*, SELCOM+8*, CANCEL+7*, DELFRPD+3*
DR POST+21!, POST+24*, PSTBIL+2!, PSTBIL+22*, PSTBIL+23*, PSTBIL+24*, PSTBIL+25*, PSTBIL+26*, PSTBIL+27*, PSTBIL+28*
, PSTBIL+29*, PSTBIL+30*, PSTBIL+31*, PSTBIL+32*, PSTBIL+33*, PSTBIL+34*, PSTBIL+36*, PSTBIL+37*, PSTBIL+40!, ROLFIX+4!
, ROLFIX+23!
>> DUOUT SELCOM+12
DUZ ACTION+3, POST+4
DUZ(2 POST+6, PSTBIL+5, PSTBIL+10, PSTBIL+11, ROLFIX+7, ROLFIX+8, ROLFIX+11, ROLFIX+16, ROLFIX+17, ROLFIX+18
, CKBAL+6, CKBAL+9, CKBAL+12, CKBAL+16, STOP+1
>> J POST+15*, POST+16*, POST+18, PSTBIL+14, PSTBIL+19
K PSTBIL+8*, PSTBIL+10*, PSTBIL+11, ROLFIX+14*, ROLFIX+16*, ROLFIX+17, ROLFIX+23!
L ERROR+1~, ERROR+6*, ERROR+7*, ERROR+9, ERROR+11, ERROR+12, ROLFIX+5*, ROLFIX+10*, ROLFIX+11*, ROLFIX+16
, ROLFIX+17, ROLFIX+23!
T ERROR+1~, ERROR+8*, ERROR+9*, ERROR+11, ERROR+13
TYPE STOP~, STOP+4, STOP+5, STOP+6
U POST+18, PSTBIL+11, PSTBIL+14, ERROR+14, ROLFIX+8, ROLFIX+17, ROLFIX+18, CKBAL+9, CKBAL+32
>> UFMSESID ACTION+3
>> Y SELCOM+12, CANCEL+16, DELFRP+3, DELFRPE+9, DELFRPE+10, DELFRPD+8
>> Y(0 SELCOM+13, DELFRPE+11
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