IBCRU4 ;ALB/ARH - RATES: UTILITIES (RG/BILL/CI) ; 16-MAY-1996
Source file <IBCRU4.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
RGEXT(RG) | ; returns regions in external format (NAME ^ DIV1 ^ DIV 2 ^ ...)
|
|
RGDV(RG,DV) | ; returns a Billing Regions Divisions (363.31): div1 ^ div2 ^ ...
; if DV is passed in and covered by region it will be the first division in the set |
|
BILLCPT(IBIFN) | ; returns true if any of the charges on the bill may be based on CPT
; ie. one of the Billing Rates of one of the Charge Sets defined for the Rate Type of the bill ; has a Billable Item of CPT |
|
BILLDV(IBIFN) | ; returns true if one of the Billing Rates of the Charge Sets defined for the Rate Type of the bill
; is modifiable by Region and therefore may need division, ie. has a Region defined |
|
FINDCI(CS,ITEM,EFDT,MOD,RVCD,CHG,INAC,ARR,BASE) | ; find charge item entries for a billable item (exact match on date)
; Input: CS, ITEM, EFDT required, if the others are defined they will be used in the match (ARR-pass by ref) ; Output: returns string off all CI IFNs that match ; ARR = count of matchs found ; ARR(CI) = 0 node record of CI from 363.2 |
|
FINDCIQ | ||
FNDCI(CS,ITEM,EFDT,ARR,MOD) | ; find charge item entries effective for a billable item on a given date
; Input: CS, ITEM, EFDT required, if MOD defined it will be used in the match (ARR-pass by ref) ; Output: returns string of all CI IFNs that are effective for item on date ; ARR = count of effective charge items found ; ARR(CI) = 0 node record of CI from 363.2 |
|
FNDCIQ | ||
INACTCI(CI) | ; returns date Charge Item becomes inactive: either Inactive Date or replaced (ie last active date)
; returns: -1: not found, 0: not inactive, Date: date inactive or last active date before replaced |
|
ACTCIQ | ||
ITMUNIT(ITM,UNIT,CT) | ; return true if the Item has the requested type of units or Charge Method
; Input: ITM - pointer to Item Code ; UNIT - Number of type of unit, or Charge Method, 4 - Miles, etc ; CT - Charge Type (optional) 1 for Inst, 2 for Prof (363.1,.04) |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DG(40.8 - [#40.8] | RGEXT+4 |
^DGCR(399 - [#399] | BILLCPT+5, BILLDV+4 |
^IBA(363.2 - [#363.2] | FINDCI+9, FINDCI+11, FNDCI+9, FNDCI+10, FNDCI+12, INACTCI+4, INACTCI+10, INACTCI+11, INACTCI+12, ITMUNIT+13 |
^IBE(363.1 - [#363.1] | BILLCPT+9, BILLDV+8, ITMUNIT+7, ITMUNIT+8 |
^IBE(363.3 - [#363.3] | BILLCPT+9, ITMUNIT+11 |
^IBE(363.31 - [#363.31] | RGEXT+2, RGDV+3, RGDV+4, RGDV+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARR | FINDCI~, FINDCI+5!*, FINDCI+17*, FNDCI~, FNDCI+5!*, FNDCI+16* |
ARR( | FINDCI+17*, FNDCI+16* |
BASE | FINDCI~, FINDCI+16 |
CHG | FINDCI~, FINDCI+13 |
CI | INACTCI~, INACTCI+4 |
CS | FINDCI~, FINDCI+5, FINDCI+7, FNDCI~, FNDCI+6, FNDCI+8 |
CT | ITMUNIT~, ITMUNIT+10 |
DV | RGDV~, RGDV+4, RGDV+5 |
EFDT | FINDCI~, FINDCI+5*, FINDCI+7, FNDCI~, FNDCI+5*, FNDCI+6, FNDCI+9, FNDCI+15 |
IB0 | BILLCPT+4~, BILLCPT+5*, BILLCPT+6, BILLDV+3~, BILLDV+4*, BILLDV+5 |
IBBR | BILLCPT+4~, BILLCPT+9* |
IBC | RGEXT+1~*, RGEXT+4* |
IBCI | FINDCI+5~, FINDCI+9*, FINDCI+11, FINDCI+17, FNDCI+5~, FNDCI+10*, FNDCI+12, FNDCI+16 |
IBCI0 | INACTCI+3~, INACTCI+4*, INACTCI+6, INACTCI+9, INACTCI+13 |
IBCS | ITMUNIT+5~, ITMUNIT+7*, ITMUNIT+8, ITMUNIT+13 |
IBCS0 | BILLDV+3~, BILLDV+8* |
IBCSN | ITMUNIT+5~, ITMUNIT+8*, ITMUNIT+10, ITMUNIT+11 |
IBEFDT | FINDCI+5~, FINDCI+7*, FINDCI+9, FNDCI+5~, FNDCI+9*, FNDCI+10, INACTCI+3~, INACTCI+9*, INACTCI+10 |
IBFND | ITMUNIT+5~*, ITMUNIT+7, ITMUNIT+13*, ITMUNIT+15 |
IBI | RGEXT+1~, RGEXT+4*, RGDV+2~, RGDV+5*, BILLCPT+4~, BILLCPT+7*, BILLCPT+8, BILLDV+3~, BILLDV+6*, BILLDV+7 |
IBIFN | BILLCPT~, BILLCPT+5, BILLDV~, BILLDV+4 |
IBINDT1 | INACTCI+3~*, INACTCI+6*, INACTCI+15, INACTCI+16 |
IBINDT2 | INACTCI+3~*, INACTCI+10, INACTCI+11, INACTCI+13*, INACTCI+15, INACTCI+16 |
IBITEM | INACTCI+3~, INACTCI+9*, INACTCI+10, INACTCI+11 |
IBITMFND | FNDCI+5~, FNDCI+8*, FNDCI+9, FNDCI+14* |
IBJ | BILLCPT+4~, BILLCPT+8*, BILLCPT+9, BILLDV+3~, BILLDV+7*, BILLDV+8 |
IBLN | FINDCI+5~, FINDCI+11*, FINDCI+12, FINDCI+13, FINDCI+14, FINDCI+15, FINDCI+16, FINDCI+17, FNDCI+5~, FNDCI+12* , FNDCI+13, FNDCI+15, FNDCI+16 |
IBNCI | INACTCI+3~, INACTCI+11*, INACTCI+12 |
IBNCI0 | INACTCI+3~, INACTCI+12*, INACTCI+13 |
IBNEXT | INACTCI+3~, INACTCI+10*, INACTCI+11 |
IBRSARR | BILLCPT+4~*, BILLCPT+6, BILLCPT+7, BILLDV+3~*, BILLDV+5, BILLDV+6 |
IBRSARR( | BILLCPT+7, BILLCPT+8, BILLDV+6, BILLDV+7 |
IBU | BILLCPT+4~, BILLCPT+5*, BILLCPT+6, BILLDV+3~, BILLDV+4*, BILLDV+5 |
IBX | RGEXT+1~*, RGEXT+3*, RGEXT+4, RGDV+2~*, RGDV+4*, RGDV+5*, RGDV+6, BILLCPT+4~*, BILLCPT+7, BILLCPT+8 , BILLCPT+9*, BILLCPT+10, BILLDV+3~*, BILLDV+6, BILLDV+7, BILLDV+8*, BILLDV+9, FINDCI+5~*, FINDCI+17*, FINDCIQ , FNDCI+5~*, FNDCI+16*, FNDCIQ, INACTCI+3~*, INACTCI+4*, INACTCI+15*, INACTCI+16*, ACTCIQ |
IBXRF | FINDCI+5~, FINDCI+7*, FINDCI+9, FNDCI+5~, FNDCI+8*, FNDCI+9, FNDCI+10, INACTCI+3~, INACTCI+9*, INACTCI+10 , INACTCI+11 |
IBY | RGEXT+1~*, RGEXT+2*, RGEXT+3, RGEXT+4*, RGEXT+5 |
IBZ | RGEXT+1~, RGEXT+2*, RGEXT+4* |
INAC | FINDCI~, FINDCI+12 |
ITEM | FINDCI~, FINDCI+5, FINDCI+9, FNDCI~, FNDCI+6, FNDCI+9, FNDCI+10 |
ITM | ITMUNIT~, ITMUNIT+5*, ITMUNIT+7, ITMUNIT+13 |
MOD | FINDCI~, FINDCI+15, FNDCI~, FNDCI+13 |
RG | RGEXT~, RGEXT+2, RGEXT+3, RGDV~, RGDV+3, RGDV+4, RGDV+5 |
RVCD | FINDCI~, FINDCI+14 |
U | RGEXT+2, RGEXT+4, RGDV+4, RGDV+5, BILLCPT+6, BILLCPT+9, BILLDV+5, BILLDV+8, FINDCI+12, FINDCI+13 , FINDCI+14, FINDCI+15, FINDCI+16, FINDCI+17, FNDCI+13, FNDCI+15, FNDCI+16, INACTCI+6, INACTCI+9, INACTCI+12 , INACTCI+13, ITMUNIT+10, ITMUNIT+11 |
UNIT | ITMUNIT~, ITMUNIT+5*, ITMUNIT+7, ITMUNIT+11 |