Routines for rbo_db.kb


BlackoutRecordDatabase

File Name

rbo_db.kb

Syntax

BlackoutRecordDatabase(VAL InTran: BOOLEAN, VAL this_Blackout: BLKOUT_REC, VAL old_Blackout: BLKOUT_REC ): INTEGER IS

Parameters

InTran - Flag to determine if within a transaction

this_Blackout - Blackout record to be handled

old_Blackout - Old record for database concurrency

Returns

Integer

Side Effects

None

Description

This routine handles the addition, modification and removal of blackouts.

Dialog Forms Called

None


CheckForDuplicateBlackout

File Name

rbo_db.kb

Syntax

CheckForDuplicateBlackout(VAL Code_Name: STRING): BOOLEAN IS

Parameters

Code_Name - Code name to be checked

Returns

Boolean

Side Effects

None

Description

This routine checks for the addition of duplicate blackouts.

Dialog Forms Called

None


LoadBalckoutsByCategory

File Name

rbo_db.kb

Syntax

LoadBlackoutsByCategory(REF blackouts: LIST OF BLKOUT_REC, VAL categoryId: STRING): INTEGER IS

Parameters

blackouts - List of blackouts found

catgeoryId - Category with which to select blackouts

Returns

Integer

Side Effects

None

Description

This routine retrieves available blackouts for the specified catgeory.

Dialog Forms Called

None