Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: IBCREU1

Package: Integrated Billing

Routine: IBCREU1


Information

IBCREU1 ;ALB/ARH - RATES: CM ENTER/EDIT UTILITIES ; 16-MAY-1996

Source Information

Source file <IBCREU1.m>

Entry Points

Name Comments DBIA/ICR reference
RQCI(IBCIFN) ; check all required data defined for charge item
; either the item's Charge Set must have a Default Revenue Code or the Charge Item must have revenue code
; Charge Set and Effective Date are required
; returns: 0 or 1 ^ 1 (needs CS) ^ 1 (needs EF DT) ^ 1 (needs Revenue Code)
RQCS(CSFN) ; check that new charge set has all required fields
; Billing Rate is required to define the sets Charge Items
; Billable Event is required to link the sets charges to the items on the bills
; if the Billable Item of the Sets rate is not bedsection then Default Bedsection is required for the set
; if Charge Method of Sets rate is VA Cost then the Default Rev Code is required
; returns: 0 or 1 ^ 1 (needs BR) ^ 1 (needs BE) ^ 1 (needs bedsection)
CHKBR(IBBRFN) ; check billing rate to determine if it can be edited (has CS or charge items or national)
; if the Rate is National or (since the Rate defines the items billed to a set)
; if the Rate has a Charge Set or a set of this Rate has Charge items, don't edit
; returns: 0 if editable or 1 ^ 1 (if national) ^ 1 (CS defined) ^ 1 (if charge items exist)
CHKCS(IBCSFN) ; check charge set to determine if/what can be edited
; if the set was exported nationally (ie. any set not created locally) Name, Rate, and Event not editable
; if the Set has Charge Items defined then the Rate should not be changed since it defines the type of Item
; returns: 0 if editable or 1 ^ 1 (if charge items exist for the set) ^ 1 (not created locally)
CHKSG(IBSGFN) ; check special groups to determine if it can be edited
; returns: 0 if editable or 1 ^ 1 (if exported nationally) ^ 1 (has rv cd links) ^ 1 (has PD links)
Info |  Source |  Entry Points