Routines for rtsrvin.kb


AddComponent

File Name

rtsrvin.kb

Syntax

AddComponent( VAL SystemId: STRING, VAL ComponentId: STRING, VAL ProblemType: STRING, VAL AutoAddDesc: STRING, VAL DateTime: STRING )

Parameters

SystemId: System ID

ComponentId: Component ID

ProblemType: Type of Problem

AutoAddDesc: Description to be added.

DateTime: The Date_Time group to be added

Returns

Integer value for SQLInsert result.

Side Effects

None

Description

Processes incoming SCIM from a problem to be added to the Component table

Dialog Forms Called

None


AddItem

File Name

rtsrvin.kb

Syntax

AddItem ( VAL SystemId: STRING, VAL ComponentId: STRING, VAL ItemId: STRING, VAL AutoAddDesc: STRING, VAL DateTime: STRING )

Parameters

SystemId: System ID

ComponentId: Component ID

ItemId: Item ID

AutoAddDesc: Description to be added.

DateTime: The Date_Time group to be added

Returns

Integer value for SQLInsert result.

Side Effects

None

Description

Processes incoming SCIM from a problem to be added to the Item table

Dialog Forms Called

None


AddModule

File Name

rtsrvin.kb

Syntax

AddModule ( VAL SystemId: STRING, VAL ComponentId: STRING, VAL ItemId: STRING, VAL ModuleId: STRING, VAL AutoAddDesc: STRING, VAL DateTime: STRING )

Parameters

SystemId: System ID

ComponentId: Component ID

ItemId: Item ID

ModuleId: Module ID

AutoAddDesc: Description to be added.

DateTime: The Date_Time group to be added

Returns

Integer value for SQLInsert result.

Side Effects

None

Description

Processes incoming SCIM from a problem to be added to the Module table

Dialog Forms Called

None


AddSystem

File Name

rtsrvin.kb

Syntax

AddSystem ( VAL SystemId: STRING, VAL AutoAddDesc: STRING, VAL DateTime: STRING )

Parameters

SystemId: System ID

AutoAddDesc: Description to be added.

DateTime: The Date_Time group to be added

Returns

Integer value for SQLInsert result.

Side Effects

None

Description

Processes incoming SCIM from a problem to be added to the System table

Dialog Forms Called

None


AutoAddSCIM

File Name

rtsrvin.kb

Syntax

AutoAddSCIM( VAL SystemId: STRING, VAL ComponentId: STRING, VAL ItemId: STRING, VAL ModuleId: STRING, VAL SiteID: STRING, VAL ProblemType: STRING )

Parameters

SystemId: System ID

ComponentId: Component ID

ItemId: Item ID

ModuleId: Module ID

SiteID: SiteID

ProblemType: Type of Problem

Returns

Boolean for success or failur of SCIM insert.

Side Effects

None

Description

Processes incoming SCIM from a problem to be added to the SCIM tables.

Dialog Forms Called

None


InitializeAutoNotificationInfo

File Name

rtsrvin.kb

Syntax

None

Parameters

ntfySend: Information on Notifications

SCIMsystem: System Info

SCIMcomponent: Component Info

SCIMitem: Item Info

SCIMmodule: Module Info

SCIMuserId: User to send Notification to

Returns

None

Side Effects

None

Description

IF the Remote Transfer defaults are configured to send notifications to the alert group when SCIM has arrived from a remote site that does not exist in the local database.

Dialog Forms Called

None


IsComponentLocal

File Name

rtsrvin.kb

Syntax

IsComponenteLocal( VAL SystemId: STRING, VAL ComponentId: STRING)

Parameters

SystemId: System ID

ComponentId: Component ID

Returns

Integer for determining if the Component exists in the local tables or not.

Side Effects

None

Description

Determines if Component exists in local tables or not.

Dialog Forms Called

None


IsItemLocal

File Name

rtsrvin.kb

Syntax

IsItemeLocal( VAL SystemId: STRING, VAL ComponentId: STRING, VAL ItemId: STRING)

Parameters

SystemId: System ID

ComponentId: Component ID

ItemId: Item ID

Returns

Integer for determining if the Item exists in the local tables or not.

Side Effects

None

Description

Determines if Item exists in local tables or not.

Dialog Forms Called

None


IsModuleLocal

File Name

rtsrvin.kb

Syntax

IsModuleLocal( VAL SystemId: STRING, VAL ComponentId: STRING, VAL ItemId: STRING, VAL ModuleId: STRING )

Parameters

SystemId: System ID

ComponentId: Component ID

ItemId: Item ID

ModuleId: Module ID

Returns

Integer for determining if the Module exists in the local tables or not.

Side Effects

None

Description

Determines if Module exists in local tables or not.

Dialog Forms Called

None


IsSCIMLocal

File Name

rtsrvin.kb

Syntax

IsSCIMLocal( VAL SystemId: STRING, VAL ComponentId: STRING, VAL ItemId: STRING, VAL ModuleId: STRING )

Parameters

SystemId: System ID

ComponentId: Component ID

ItemId: Item ID

ModuleId: Module ID

Returns

Boolean for determining if the SCIM exists in the local tables or not.

Side Effects

None

Description

Determines if SCIM exists in local tables or not.

Dialog Forms Called

None


IsSystemLocal

File Name

rtsrvin.kb

Syntax

IsSystemLocal( VAL SystemId: STRING)

Parameters

SystemId

Returns

Integer for determining if the System exists in the local tables or not.

Side Effects

None

Description

Determines if System exists in local tables or not.

Dialog Forms Called

None


ProcessCallAttachment

File Name

rtsrvin.kb

Syntax

ProcessCallAttachment( REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and DDMNetTransRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming request to attach a call.

Dialog Forms Called

None


ProcessCallTransfer

File Name

rtsrvin.kb

Syntax

ProcessCallTransfer( REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and DDMNetTransRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes an incomong call transfer.

Dialog Forms Called

None


ProcessChangeLocation

File Name

rtsrvin.kb

Syntax

ProcessChangeLocation(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming location to insert or update the locations table.

Dialog Forms Called

None


ProcessChangeOrganization

File Name

rtsrvin.kb

Syntax

ProcessChangeOrganization(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming organization to insert or update the organization table.

Dialog Forms Called

None


ProcessChangeSOLUTION

File Name

rtsrvin.kb

Syntax

ProcessChangeSOLUTION(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming solution to insert or update the solutions table.

Dialog Forms Called

None


ProcessChangeUserOrGroup

File Name

rtsrvin.kb

Syntax

ChangeUserOrGroup(REF completionData: RemoteCompletionRecord, VAL UserGroupData: UserGroupRecord, REF Collision: BOOLEAN, VAL fromSite: STRING )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

UserGroupRecord - Information on the user/group (includes people information)

Collision - Flag to determine if the user_id exists at the local site.

fromSite - The site sending the transaction.

Returns

Nothing

Side Effects

None

Description

Updates/Insert User/Group/People information.

Dialog Forms Called

None


ProcessChangeUserOrGroup

File Name

rtsrvin.kb

Syntax

ProcessChangeUserOrGroup(REF completionData: RemoteCompletionRecord, VAL UserGroupData: UserGroupRecord, REF Collision: BOOLEAN, VAL fromSite: STRING )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

UserGroupRecord - Information on the user/group (includes people information)

Collision - Flag to determine if the user_id exists at the local site.

fromSite - The site sending the transaction.

Returns

Nothing

Side Effects

None

Description

Updates/Insert User/Group/People information.

Dialog Forms Called

None


ProcessControlTables

File Name

rtsrvin.kb

Syntax

ProcessControlTables( REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming request for control tables for rtpanel.

Dialog Forms Called

None


ProcessControlTablesRequest

File Name

rtsrvin.kb

Syntax

None

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

True if successful, False if not.

Side Effects

None

Description

Writes a remote work record, creates a remote task, tells agent to perform remote work. Also fills the completion record with information on error handling.

Dialog Forms Called

None


ProcessDeleteLocation

File Name

rtsrvin.kb

Syntax

ProcessDeleteLocation(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming Location to be deleted from the Location table.

Dialog Forms Called

None


ProcessDeleteOrganization

File Name

rtsrvin.kb

Syntax

ProcessDeleteOrganization(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming Organization to be deleted from the Organization table.

Dialog Forms Called

None


ProcessDeleteSOLUTION

File Name

rtsrvin.kb

Syntax

ProcessDeleteSolution(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming solution to be deleted from the solutions table.

Dialog Forms Called

None


ProcessDeleteUserOrGroup

File Name

rtsrvin.kb

Syntax

ProcessDeleteUserOrGroup(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming Users or groups to be deleted from the users or groups table. (Also deletes the people record for users)

Dialog Forms Called

None


ProcessFailedControlTables

File Name

rtsrvin.kb

Syntax

ProcessFailedControlTables( REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming notice that control tables for rtpanel have failed to be transferred.

Dialog Forms Called

None


ProcessFailedUpdate

File Name

rtsrvin.kb

Syntax

ProcessFailedUpdate( REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and DDMNetTransRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Modifies Problem History data to reflect a failed remote update.

Dialog Forms Called

None


ProcessProblemChange

File Name

rtsrvin.kb

Syntax

ProcessProblemChange(REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming problem to be changed.

Dialog Forms Called

None


ProcessProblemStatus

File Name

rtsrvin.kb

Syntax

None

Parameters

ProblemPackageData - The packaged problem from the transferring site

Returns

True if successful, False if not.

Side Effects

None

Description

Returns the problem status to the requesting client.

Dialog Forms Called

None


ProcessProblemTransfer

File Name

rtsrvin.kb

Syntax

ProcessProblemTransfer( REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and DDMNetTransRecord

(the input parms from the requesting client)

Returns

True if successful, False if not.

Side Effects

None

Description

Processes an incoming problem transfer.

Dialog Forms Called

None


ProcessProblemUpdateRequest

File Name

rtsrvin.kb

Syntax

None

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

True if successful, False if not.

Side Effects

None

Description

Writes a remote work record, creates a remote task, tells agent to perform remote work. Also fills the completion record with information on error handling.

Dialog Forms Called

None


ProcessSynchUsersGroups

File Name

rtsrvin.kb

Syntax

ProcessSynchUsersGroups( REF completionData: RemoteCompletionRecord,VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

Nothing

Side Effects

None

Description

Processes incoming Users or groups to be deleted from the users or groups table. (Also deletes the people record for users)

Dialog Forms Called

None


ProcessTransferBackReq

File Name

rtsrvin.kb

Syntax

ProcessTransferBackReq( REF completionData: RemoteCompletionRecord, VAL DDMData: DDMNetTransRecord )

Parameters

RemoteCompletionRecord and ProblemRequestRecord

(the input parms from the requesting client)

Returns

True if successful, False if not.

Side Effects

None

Description

Processes an incoming request for a problem to be transferred back to another site.

Dialog Forms Called

None


SetProblemCode

File Name

rtsrvin.kb

Syntax

SetProblemCode( REF ProblemCode: STRING, VAL ReplicationInfo: ReplicationInfoRecord )

Parameters

Returns

True if successful, False if not.

Side Effects

None

Description

This Function determines the appropriate problem code in the local database for the transferred problem.

Dialog Forms Called

None


UnpackageCall

File Name

rtsrvin.kb

Syntax

UnpackageCall( val CallPackage: CallPackageRecord, ref CompletionData: RemoteCompletionRecord, VAL fromSite: STRING )

Parameters

CallPackageData - The packaged call from the transferring site

RemoteCompletionRecord (the input parms from the requesting client)

fromSite - The sending site.

Returns

True if successful, False if not.

Side Effects

None

Description

Routine to unpackage the incoming call record.

Dialog Forms Called

None


UnpackageProblem

File Name

rtsrvin.kb

Syntax

UnpackageProblem( val ProblemPackage: ProblemPackageRecord, ref CompletionData: RemoteCompletionRecord,VAL fromSite: STRING )

Parameters

ProblemPackage - The packaged problem from the transferring site

RemoteCompletionRecord (the input parms from the requesting client)

fromSite - The site sending the transaction.

Returns

True if successful, False if not.

Side Effects

None

Description

Routine to unpackage incoming Problem.

Dialog Forms Called

None