Routines for c_mcsvcs.kb


C_ValidateObjectField

File Name

c_mcsvcs.kb

Syntax

C_ValidateObjectField(VAL wHdl: WINDOW, VAL organization_id: STRING, VAL table: STRING, VAL id: STRING, VAL field: STRING): BOOLEAN

Parameters

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

organization_id - the organization against which the object must be validated

table - the table against which the query runs

id - the ID of the object to be validated

field - dialog box control that is cleared when the object is invalid

Returns

TRUE if object is valid for organization,

FALSE if object is invalid for organization

Side Effects

None

Description

This function checks the ID with the organization and clears the field if the object is not valid.

Dialog Forms Called

None


C_ValidObject

File Name

c_mcsvcs.kb

Syntax

C_ValidObject(VAL organization_id: STRING, VAL table: STRING, VAL id: STRING ): BOOLEAN

Parameters

organization_id - he organization against which object must be validated

table - the table against which the query runs

id - the object that must be validated with the organization

Returns

TRUE if valid for organization,

FALSE if invalid for organization

Side Effects

None

Description

This function checks the object with the organization

Dialog Forms Called

None


C_ValidObjectIntegerList

File Name

c_mcsvcs.kb

Syntax

C_ValidObjectIntegerList(VAL organization_id: STRING,VAL table: STRING, VAL objectList: LIST OF INTEGER, REF nameList: LIST OF STRING ): LIST OF INTEGER

Parameters

organization_id - the organization against which the object must be validated

table - the table against which the query runs

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 organization where the objects are INTEGERS.

Dialog Forms Called

None


C_ValidObjectStringList

File Name

c_mcsvcs.kb

Syntax

C_ValidObjectStringList(VAL organization_id: STRING, VAL table: STRING, VAL objectList: LIST OF STRING, REF nameList: LIST OF STRING ): LIST OF STRING

Parameters

organization_id - the organization against which the object must be validated

table - the table against which the query runs

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 organization where the objects are STRINGS.

Dialog Forms Called

None