Routines for rcallout.kb


RW_DefineInvMassUpdate

File Name

rcallout.kb

Syntax

RW_DefineInvMassUpdate(VAL parentW: WINDOW, REF thisMassDefList: LIST OF R_MassDefRec, REF thisInvList: LIST OF IS_InventoryRec, VAL fromEE: INTEGER): INTEGER IS

Parameters

parentW - Parent window handler

thisMassDefList - R_MassDefRec record

thisInvList - IS_Inventory record

fromEE - A flag to determine if TCM was the calling routine

Returns

Integer

Side Effects

None

Description

This wrapper routine calls a TAM function called "DefineInvMassUpdate." If TAM is not installed, this function returns $Unknown.

Dialog Forms Called

None


RW_DuplicateassetTag

File Name

rcallout.kb

Syntax

RW_DuplicateassetTag(VAL newTag: STRING, VAL oldID: INTEGER)

Parameters

newTag - asset_tag

oldID - inventory ID

Returns

SQL return result

Side Effects

None

Description

This wrapper routine calls a TAM function called "DuplicateassetTag." If TAM is not installed, the function returns $Unknown.

Dialog Forms Called

None


RW_GetH_Object

File Name

rcallout.kb

Syntax

RW_GetH_Object ( REF assetCategory: R_H_ObjectRec, VAL where: STRING ) IS

Parameters

assetCategory - Asset category record structure

where - selection criteria against table H_Object

Returns

R_H_ObjectRec

Side Effects

None

Description

This routine is a wrapper routine which retrieves an R_H_ObjectRec, Asset Category record.

Dialog Forms Called

None


RW_GetInv_ConnectionRecs

File Name

rcallout.kb

Syntax

RW_GetInv_ConnectionRecs(REF inv_connectionList: LIST OF R_inv_connectionRec, VAL where: STRING)

Parameters

where - selection criteria against inv_connection

inv_connectionList - list of connections associated with an asset

Returns

Nothing

Side Effects

None

Description

This routine retrieves a list of connections associated with a particular asset.

Dialog Forms Called

None


RW_GetInv_PeopleRecs

File Name

rcallout.kb

Syntax

RW_GetInv_PeopleRecs(VAL w: WINDOW, REF inv_peopleList: LIST OF Inv_PeopleRec, VAL id: INTEGER): INTEGER;

Parameters

w - Name of the window handler from which it was called

inv_peopleList - The list in which you want the Inv_People record is added

id - The ID of the record to retrieve

Returns

Integer - SQL return code

Side Effects

None

Description

This wrapper routine calls a TAM function called "GetInv_PeopleRecs." If TAM is not installed the function returns $Unknown.

Dialog Forms Called

None


RW_InquireProblems

File Name

rcallout.kb

Syntax

RW_InquireProblems( VAL w: window, REF probData: ProblemRecord, VAL doInquiry: BOOLEAN, VAL doSelect: BOOLEAN, VAL doWorkWith: BOOLEAN, VAL ignoreCancel: BOOLEAN ) IS

Parameters

w - Window

probData - Instance data

doInquiry - Call inquiry dialog box

doSelect - Allow user to modify select

doWorkWith - Call problem work with dialog box

ignoreCancel - Ignore cancel button

Returns

Nothing

Side Effects

None

Description

This wrapper routine calls a TPM function called "InquireProblems."

Dialog Forms Called

None


RW_RunInvMassUpdate

File Name

rcallout.kb

Syntax

RW_RunInvMassUpdate(VAL parentW: WINDOW, REF currMassDefList: LIST OF R_MassDefRec, REF thisInvList: LIST OF IS_InventoryRec, VAL effect_type: INTEGER, VAL fromTCM: BOOLEAN): INTEGER IS

Parameters

parentW - The current window handle

thisMassDefList - A list of MassDefRec records

thisInvList - The current inventory list

effect_type - The current inventory effect type

fromTCM - Boolean value identifying that TCM is making the routine call

Returns

Integer

Side Effects

None

Description

This wrapper routine calls a TAM function called "RunInvMassUpdate." If TAM is not installed, the function returns $Unknown.

Dialog Forms Called

None


RW_ValidateAssetEffect

File Name

rcallout.kb

Syntax

RW_ValidateAssetEffect ( REF massdefdata: LIST OF MassDefRec, REF inv_list: LIST OF IS_InventoryRec, REF invKList: LIST OF InvContractRec, VAL requesting_org: INTEGER, VAL asset_effect_name: STRING, VAL change_id: INTEGER, VAL wHdl: WINDOW): INTEGER IS

Parameters

massdefdata - A list of MassDefRec records

inv_list - A list of IS_Inventory records

invKList - A list of inventory contracts

requesting_org - The current change request's requesting organization

asset_effect_name - The current asset effect name

change_id - Change request ID

wHdl - Window handler

Returns

Integer

Side Effects

None

Description

This wrapper routine calls a TAM function called "ValidateAssetEffect." If TAM is not installed, the function returns $Unknown.

Dialog Forms Called

None