Routines for schd_gl.kb


AddUpdateEntry

File Name

schd_gl.kb

Syntax

AddUpdateEntry(VAL updateEntryID:INTEGER, VAL entry:ModuleRecord)

Parameters

updateEntryID - ID of the entry to update

The ID will be inserted into the schedule

table if it is unknown.

entry - Record to be updated. If the record is not known

then the record will be inserted.

Returns

SQL result

Side Effects

None

Description

Insert or updates and entry in the schedule. If the given updateEntryID is $KNOWN and found in the schedule table, then the entry is updated. Otherwise, a new entry ID is generated and the given entry record is inserted into the schedule table.

Dialog Forms Called

None


GetEntryID

File Name

schd_gl.kb

Syntax

GetEntryID(VAL processID:STRING, VAL moduleName:STRING, VAL procName:STRING, REF entryIDList:LIST OF INTEGER)

Parameters

processID - Name of process instance of the entries

moduleName - Name of module in the entries

procName - Name of procedure in the entries

Returns

SQLSelect result

Side Effects

None

Description

Gets the entry IDs for the schedule entries with the given processID, moduleName, and procName.

Dialog Forms Called

None


GetEntryValues

File Name

schd_gl.kb

Syntax

GetEntryValues(VAL entryID:INTEGER, REF entry:ModuleRecord)

Parameters

entryID - ID for the desired entry. Must be a valid ID

in the schedule table

entry - entry record

Returns

SQLSelectInto result

Side Effects

None

Description

Retrieves a schedule entry record given an entry ID.

Dialog Forms Called

None