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

Package: Integrated Billing

Routine: IBCRED


Information

IBCRED ;ALB/ARH - RATES: CM DELETE CHARGE ITEMS OPTION ; 22-MAY-1996

Source Information

Source file <IBCRED.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
Integrated Billing 4 RPT^IBCROI  (TMPHDR,TMPLN)^IBCROI1  ($$GETCS,$$GETDT)^IBCRU1  $$INACTCI^IBCRU4  
Kernel 2 ^%ZIS  ^%ZTLOAD  
VA FileMan 2 ^DIK  ^DIR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Integrated Billing 4 IBCR DELETE CHARGE ITEMS  IBCRHO  IBYPPG  IBYPPH  

Entry Points

Name Comments DBIA/ICR reference
ENTER ; OPTION ENTRY POINT: delete charge items for a specific charge set, may be inactive by a date or all
DELETE(CS,INDT,SAVE) ; delete all charge items in a set inactive before a certain date
; Input: CS - set to delete charges from,
; INDT - charges not active on this date will be deleted, if ALL- all charges will be deleted from set
; SAVE - if true, charge items that would be deleted are entered into TMP array for printing instead
; Output: returns the count of the charge items deleted
DELCI(CI,SUB2) ; either save in TMP arry to print or delete
DATE(X) ;
TMPHDR(CS,INDT) ; set up array header for printed report
DEV ; get device for printed report
RPT ; print report - entry point for tasked jobs
CSDELETE(IBCS) ; delete a Charge Set, including all pointers to it, also delete region if not assigned to another set
CSDELQ
CSEMPTY(BR) ; delete Charge Sets that have no associated Charges (except VA Cost)
; Input: BR may be passed to limit the check for empty Charge Sets to specific Billing Rates
; only CS's of the passed Billing Rate will be checked and deleted if it has no charges
; - pointer to the Billing Rate (363.3) to check
; - first two characters of the Billing Rate Name (363.3,.01) to check
; - if no BR passed then all Charge Sets/Billing Rates are checked
; Returns: count of Charge Sets deleted

External References

Name Field # of Occurrence
^%ZIS DEV+1
^%ZTLOAD DEV+2
^DIK DELCI+2, CSDELETE+9, CSDELETE+14, CSDELETE+20, CSDELETE+23
^DIR ENTER+10, ENTER+13, ENTER+17, ENTER+22
RPT^IBCROI RPT+4
TMPHDR^IBCROI1 TMPHDR+4
TMPLN^IBCROI1 DELCI+1
$$GETCS^IBCRU1 ENTER+8
$$GETDT^IBCRU1 ENTER+15
$$INACTCI^IBCRU4 DELETE+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: ENTER+2
Function Call: WRITE
  • Prompt: !,?12,"**** DELETE INACTIVE CHARGE ITEMS FROM A CHARGE SET ****"
  • Line Location: ENTER+2
Function Call: WRITE
  • Prompt: !!,?5,"For a given Charge Set, this option allows deletion of all chargeable items",!,?5,"that have been inactivated or replaced before a certain date.",!
  • Line Location: ENTER+3
Function Call: WRITE
  • Prompt: !,?5,"Since all charges for a billing rate and date range may be deleted with",!,?5,"this option, caution is advised.",!
  • Line Location: ENTER+4
Function Call: WRITE
  • Prompt: !!,"The Charge Set to delete Charge items from:"
  • Line Location: ENTER+8
Function Call: WRITE
  • Prompt: !
  • Line Location: ENTER+10
Function Call: WRITE
  • Prompt: !,"No deletions",!
  • Line Location: ENTER+15
Function Call: WRITE
  • Prompt: !,"No deletions",!
  • Line Location: ENTER+22
Function Call: WRITE
  • Prompt: !,"Beginning Deletions"
  • Line Location: ENTER+25
Function Call: WRITE
  • Prompt: !,$$DELETE(IBCS,IBDT)," charges deleted."
  • Line Location: ENTER+25
Function Call: WRITE
  • Prompt: !!,$P(IBCS,U,2)," ",$P($$CSDELETE(+IBCS),U,2)
  • Line Location: ENTER+26
Routine Call
  • %ZIS
  • Line Location:
    • DEV+1
Routine Call
  • DIR
  • Line Location:
    • ENTER+10
    • ENTER+13
    • ENTER+17
    • ENTER+22

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^IBE(363.1 - [#363.1] Classic Fileman Calls
^IBA(363.2 - [#363.2] Classic Fileman Calls
^IBE(363.31 - [#363.31] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^IBA(363.2 - [#363.2] DELETE+10, DELETE+11, DELETE+12, DELCI+2, CSDELETE+3, CSEMPTY+13
^IBE(350.9 - [#350.9] CSDELETE+4
^IBE(363 - [#363] CSDELETE+7, CSDELETE+8, CSDELETE+9
^IBE(363.1 - [#363.1] TMPHDR+1, CSDELETE+2, CSDELETE+17, CSDELETE+18, CSDELETE+19, CSEMPTY+8, CSEMPTY+9
^IBE(363.3 - [#363.3] CSEMPTY+9
^IBE(363.32 - [#363.32] CSDELETE+12, CSDELETE+13, CSDELETE+14
^TMP($J ENTER+6!, RPT+1!, RPT+3*

Label References

Name Line Occurrences
$$CSDELETE ENTER+26, CSEMPTY+13
$$DATE ENTER+20
$$DELETE ENTER+25, RPT+2
$$TMPHDR DELETE+8
CSDELQ CSDELETE+2, CSDELETE+3, CSDELETE+4
DELCI DELETE+15, DELETE+16
DEV ENTER+18
RPT ENTER+18

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %ZIS DEV+1*
>> %ZIS("A" DEV+1*
BR CSEMPTY~, CSEMPTY+11, CSEMPTY+12
CI DELCI~, DELCI+1, DELCI+2
CS DELETE~, DELETE+7, DELETE+8, TMPHDR~, TMPHDR+1, TMPHDR+4
DA DELCI+2*!, CSDELETE+1~, CSDELETE+9*, CSDELETE+14*, CSDELETE+20*!, CSDELETE+23*!
DA(1 CSDELETE+9*, CSDELETE+14*
DIC CSDELETE+1~
DIE CSDELETE+1~
DIK DELCI+2*!, CSDELETE+1~, CSDELETE+9*!, CSDELETE+14*!, CSDELETE+20*!, CSDELETE+23*!
DIR ENTER+6~, ENTER+10!, ENTER+13!, ENTER+17!, ENTER+22!
DIR("?" ENTER+12*
DIR("A" ENTER+10*, ENTER+13*, ENTER+22*
DIR(0 ENTER+10*, ENTER+13*, ENTER+17*, ENTER+22*
DIRUT ENTER+6~, ENTER+10, ENTER+13, ENTER+17
DTOUT ENTER+6~
DUOUT ENTER+6~
IB11 CSDELETE+1~, CSDELETE+8*, CSDELETE+9, CSDELETE+13*, CSDELETE+14
IBBR CSEMPTY+7~, CSEMPTY+9*, CSEMPTY+11
IBBR0 CSEMPTY+7~, CSEMPTY+9*, CSEMPTY+10, CSEMPTY+12
IBCIFN DELETE+6~, DELETE+12*, DELETE+14, DELETE+15, DELETE+16
IBCNT DELETE+6~, DELETE+7*, DELETE+15*, DELETE+16*, DELETE+18, RPT+1~, RPT+2*, RPT+3, CSEMPTY+7~*, CSEMPTY+13*
, CSEMPTY+14
IBCS ENTER+6~, ENTER+8*, ENTER+11, ENTER+13, ENTER+20, ENTER+25, ENTER+26, RPT+2, CSDELETE~, CSDELETE+2
, CSDELETE+3, CSDELETE+4, CSDELETE+7, CSDELETE+8, CSDELETE+9, CSDELETE+14, CSDELETE+17, CSDELETE+19, CSDELETE+23, CSEMPTY+7~
, CSEMPTY+8*, CSEMPTY+9, CSEMPTY+13
IBCS0 CSEMPTY+7~, CSEMPTY+9*
IBCSDEL ENTER+6~*, ENTER+13*, ENTER+26
IBDT ENTER+6~*, ENTER+10*, ENTER+11, ENTER+15*, ENTER+20, ENTER+25, TMPHDR+1~, TMPHDR+3*, TMPHDR+4, RPT+2
IBEFDT DELETE+6~, DELETE+11*, DELETE+12
IBER CSDELETE+1~*, CSDELETE+3*, CSDELETE+4*, CSDELETE+24*, CSDELQ
IBFN CSDELETE+1~, CSDELETE+7*, CSDELETE+8, CSDELETE+9, CSDELETE+12*, CSDELETE+13, CSDELETE+14, CSDELETE+18*, CSDELETE+19
IBHDR TMPHDR+1~, TMPHDR+2*, TMPHDR+4
IBHDR2 TMPHDR+1~, TMPHDR+3*, TMPHDR+4
IBINDTCI DELETE+6~, DELETE+14*, DELETE+16
IBITM DELETE+6~, DELETE+10*, DELETE+11, DELETE+12
IBQUIT ENTER+6~, ENTER+18, DEV+1*, DEV+2*
IBRG CSDELETE+1~, CSDELETE+17*, CSDELETE+18, CSDELETE+19*, CSDELETE+20, CSDELETE+24
IBSCRPT RPT+1~*
IBSUB2 DELETE+6~, DELETE+7*, DELETE+8*, DELETE+15, DELETE+16
IBX CSEMPTY+7~, CSEMPTY+13*
IBXRF DELETE+6~, DELETE+7*, DELETE+10, DELETE+11, DELETE+12
INDT DELETE~, DELETE+7*, DELETE+8, DELETE+11, DELETE+15, DELETE+16, TMPHDR~, TMPHDR+3
IO("Q" DEV+2!
IOF ENTER+2
>> POP DEV+1
SAVE DELETE~, DELETE+8
SUB2 DELCI~, DELCI+1, TMPHDR+1~*, TMPHDR+2, TMPHDR+4, TMPHDR+5
U ENTER+11, ENTER+13, ENTER+20, ENTER+26, TMPHDR+1, RPT+3, CSDELETE+4, CSDELETE+14, CSDELETE+17, CSDELETE+19
, CSEMPTY+9, CSEMPTY+10
X ENTER+6~, DATE~, DATE+1, CSDELETE+1~, CSEMPTY+7~
Y ENTER+6~, ENTER+10, ENTER+13, ENTER+17, ENTER+18, ENTER+22, ENTER+24, CSDELETE+1~, CSEMPTY+7~
>> ZTDESC DEV+2*
>> ZTRTN DEV+2*
>> ZTSAVE("IB*" DEV+2*
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