Routines for i_mcsvcs.kb


I_ValidateObjectField

File Name

i_mcsvcs.kb

Syntax

I_ValidateObjectField(wHdl, organization_id, table, id, field)

Parameters

wHdl - handle of dialog calling this function. where field resides

organization_id - The visible organization that the object must be validated against

table - The table the query will be run against

id - the id of the object to be validated

field - dlg control that will be cleared when invalid

Returns

TRUE if object is valid for visible organization

FALSE if object is invalid for visible organization

Side Effects

None

Description

This function checks the id with the visible organization and clears the field if the object is not valid

Dialog Forms Called

None


I_ValidObject

File Name

i_mcsvcs.kb

Syntax

I_ValidObject(organization_id,table, id)

Parameters

organization_id - The visible organization that the object must be validated against

table - the table the query will run against

id - The object that must be validated with the organization

Returns

TRUE if valid for visible organization

FALSE if invalid for visible organization

Side Effects

None

Description

This function checks the object with the visible organization

Dialog Forms Called

None


I_ValidObjectStringList

File Name

i_mcsvcs.kb

Syntax

I_ValidObjectStringList(organization_id,table,objectList)

Parameters

organization_id - The visible organization that the object must be validated against

table - The table the query will be run against

objectList - the objects to be validated

nameList - names of valid objects

Returns

List of valid objects

Side Effects

None

Description

This function checks the objects with the visible organization

Dialog Forms Called

None