Routines for q_api.kb


EQ_DeleteDefectReport

File Name

q_api.kb

Syntax

EQ_DeleteDefectReport

Parameters

Returns

Nothing

Side Effects

None

Description

This routine is called from TPM to delete a report and defect for the given problem id. This routine is used when a user creates a defect/report from a problem during call registration, but then cancels the call registration. .

Dialog Forms Called

None


EQ_DeleteDefectReportI

File Name

q_api.kb

Syntax

EQ_DeleteDefectReport

Parameters

Returns

Nothing

Side Effects

None

Description

This routine is called from TPM to delete a report and defect for the given problem ID. This routine is used when a user creates a defect/report from a problem during call registration, but then cancels the call registration.

Dialog Forms Called

None


EQInstalled

File Name

q_api.kb

Syntax

None

Parameters

EQInstalled

Returns

None

Side Effects

None

Description

This function identifies if the quality management code is installed

Dialog Forms Called

None


EQInstalled

File Name

q_api.kb

Syntax

None

Parameters

EQInstalled

Returns

None

Side Effects

None

Description

This function identifies whether TQM code is installed

Dialog Forms Called

None


Quality_OkToPaste

File Name

q_api.kb

Syntax

FUNCTION Quality_OkToPaste(VAL wHdl: WINDOW, VAL table: STRING, VAL ID: STRING, VAL child_org: STRING, VAL parent_org: STRING): BOOLEAN

Parameters

wHdl - window handle of the calling dialog box

table - object for which this is in reference to (location, inventory category, change category, connection)

ID - primary key ID for table (location_id, h_object_id, category, connection_id)

child_org - organization ID that is currently assigned to the object

parent_org - organization ID of node under which the object is being pasted

Returns

TRUE or FALSE

Side Effects

None

Description

This function checks whether to paste the node under another object given the new object's organization ID. Disallows from paste if it might violate rules in a multi-customer environment.

Dialog Forms Called

None


Quality_OkToPaste

File Name

q_api.kb

Syntax

FUNCTION Quality_OkToPaste(VAL wHdl: WINDOW, VAL table: STRING, VAL ID: STRING, VAL child_org: STRING, VAL parent_org: STRING): BOOLEAN

Parameters

wHdl: Window handle of the calling dialog

table: object for which this is in reference to (i.e.location, inventory category, change category, connection)

ID: primary key id for table (i.e. location_id, h_object_id, category, connection_id)

child_org: organization_id that is currently assigned to the object

parent_org: organization_id of node that the object is being pasted under

Returns

True or False

Side Effects

None

Description

This function checks if its okay to paste the node under another object given the new object's organization_id. Disallow from paste if might violate rules in a multi-customer environment.

Dialog Forms Called

None


RequestAddDefectReportAPI

File Name

q_api.kb

Syntax

RequestAddDefectReportAPI

Parameters

wHdl - parent window handle

people_id - people ID of the caller / contact.

location_id - location ID of the contact.

organization_id - organization ID

Returns

Nothing

Side Effects

None

Description

This is a generic routine that can be called to invoke the Add New Defect Report dialog box with appropriate instance data. The AEVReportEventInstData record structure is not used when this routine is called to prevent the calling KB from having to use q_record. This routine calls the RequestAddDefectReport routine to invoke the defect report dialog.

Dialog Forms Called

None


RequestAddDefectReportAPI

File Name

q_api.kb

Syntax

RequestAddDefectReportAPI

Parameters

wHdl - Parent window handle

people_id - People_id of the caller / contact.

location_id - Location_id of the contact.

organization_id-

Returns

Nothing

Side Effects

None

Description

This is a generic routine that can be called to invoke the Add New defect report dialog with appropriate instance data. This is the stubbed version of the routine

Dialog Forms Called

None