Routines for peo_dbww.kb


AddGroup

File Name

peo_dbww.kb

Syntax

AddGroup(REF group: Member_Of_Rec)

Parameters

group - member_of record

Returns

Nothing

Side Effects

None

Description

This procedure will add the group information into the groups and member_of tables.

Dialog Forms Called

None


AddLoc

File Name

peo_dbww.kb

Syntax

AddLoc(REF location: WWPeopleLocationRec)

Parameters

location - people_location record

Returns

String

Side Effects

None

Description

This function will add the location information into the people_location tables.

Dialog Forms Called

None


AddNotification

File Name

peo_dbww.kb

Syntax

AddNotification(REF notification: WWNotifyUserGroup)

Parameters

notification - notification type record

Returns

Nothing

Side Effects

None

Description

This procedure will add the notification information into the notify_user_group table.

Dialog Forms Called

None


AddOrg

File Name

peo_dbww.kb

Syntax

AddOrg(REF organization: Org_MembershipRec)

Parameters

organization - org_membership record

Returns

Nothing

Side Effects

None

Description

This function will add the organization information into the org_membership table.

Dialog Forms Called

None


AddPersonUser

File Name

peo_dbww.kb

Syntax

AddPersonUser(VAL w: WINDOW, REF peorec: PeopleRec, REF user: UsersRecord, VAL InTran: BOOLEAN)

Parameters

w - parent window handle

peorec - people record

user - user record

InTran - in a transaction or not

Returns

Integer

Side Effects

None

Description

This function will add the people information into the people table. If this is successful, then the user information will be added to the user table.

Dialog Forms Called

None


AddSkill

File Name

peo_dbww.kb

Syntax

AddSkill(VAL skill: SkillsEventRecord)

Parameters

skill - skills event record

Returns

Nothing

Side Effects

None

Description

This procedure will add the skills information into the skills table.

Dialog Forms Called

None


AddSupportOrg

File Name

peo_dbww.kb

Syntax

AddSupportOrg

Parameters

InTran - in a transaction or not

organization - supported organization record

Returns

Nothing

Side Effects

None

Description

This function will add the organization information into the org_membership table.

Dialog Forms Called

None


AddWebUserRights

File Name

peo_dbww.kb

Syntax

AddWebUserRights(REF userrights: EWeb_User_RightsRec)

Parameters

userrights - eweb_user_rights record

Returns

Nothing

Side Effects

None

Description

This procedure will add the web user rights information into the eweb_user_rights table.

Dialog Forms Called

None


CheckContactatLocation

File Name

peo_dbww.kb

Syntax

CheckContactatLocation(VAL contact_id: STRING, VAL location_id: STRING)

Parameters

contact_id - contact ID

location_id - location ID

Returns

String

Side Effects

None

Description

This function will return the number of contacts with the specified contact ID that exist at a location.

Dialog Forms Called

None


CheckPeopleLocation

File Name

peo_dbww.kb

Syntax

CheckPeopleLocation(VAL people_id: INTEGER, VAL contact_id: STRING)

Parameters

people_id - people ID

contact_id - contact ID

Returns

String

Side Effects

None

Description

This function will return the number of locations associated with a selected person or contact.

Dialog Forms Called

None


DeleteGroupFromPerson

File Name

peo_dbww.kb

Syntax

DeleteGroupFromPerson(VAL user_id: STRING, VAL group_id: STRING )

Parameters

user_id - user ID

group_id - group ID

Returns

String

Side Effects

None

Description

This function will delete a group associated with a selected user.

Dialog Forms Called

None


DeleteLocFromPeople

File Name

peo_dbww.kb

Syntax

DeleteLocFromPeople(VAL w: WINDOW, REF peoid: INTEGER)

Parameters

w - parent window handle

peoid - people ID

Returns

Nothing

Side Effects

None

Description

This procedure will delete a record from the people_locatoin table.

Dialog Forms Called

None


DeleteNotification

File Name

peo_dbww.kb

Syntax

DeleteNotification(VAL w: WINDOW, VAL people_id: INTEGER )

Parameters

w - parent window handle

people_id - people ID

Returns

Nothing

Side Effects

None

Description

This procedure will delete notification information from the notify_user_group table.

Dialog Forms Called

None


DeleteOrgFromPeople

File Name

peo_dbww.kb

Syntax

DeleteOrgFromPeople(VAL w: WINDOW, REF peoid: INTEGER)

Parameters

w - parent window handle

peoid - people ID

Returns

Nothing

Side Effects

None

Description

This procedure will delete organization information from the org_membership table.

Dialog Forms Called

None


DeletePerson

File Name

peo_dbww.kb

Syntax

DeletePerson(REF people_id: INTEGER)

Parameters

people_id - people ID

Returns

Integer

Side Effects

None

Description

This procedure will delete people information from the people table.

Dialog Forms Called

None


DeleteSkillsFromPeople

File Name

peo_dbww.kb

Syntax

DeleteSkillsFromPeople(VAL w: WINDOW, VAL skill: SkillsEventRecord)

Parameters

w - parent window handle

skill - skills event record

Returns

Nothing

Side Effects

None

Description

This procedure will delete skill information from the skills table.

Dialog Forms Called

None


DeleteSupportOrgFromPeople

File Name

peo_dbww.kb

Syntax

DeleteSupportOrgFromPeople(VAL w: WINDOW, REF userid: STRING)

Parameters

w - parent window handle

userid - user ID

Returns

Nothing

Side Effects

None

Description

This procedure will delete organization information from the support_for table.

Dialog Forms Called

None


FillContacts

File Name

peo_dbww.kb

Syntax

FillUserCombos(VAL w: WINDOW)

Parameters

w - parent window handle

Returns

Nothing

Side Effects

None

Description

This function will load the profile and alarm poll period combo boxes.

Dialog Forms Called

None


FillMethodCombo

File Name

peo_dbww.kb

Syntax

FillMethodCombo(VAL w: WINDOW)

Parameters

w - parent window handle

Returns

String

Side Effects

None

Description

This procedure will load the notification methods.

Dialog Forms Called

None


GetActiveFlags

File Name

peo_dbww.kb

Syntax

GetActiveFlags(REF peoid: INTEGER)

Parameters

peoid - people ID

Returns

Integerd

Side Effects

None

Description

This function will get the active flags for copy.

Dialog Forms Called

None


GetGroupID

File Name

peo_dbww.kb

Syntax

GetGroupID(REF groupname: STRING)

Parameters

groupname - name of group

Returns

group ID

Side Effects

None

Description

This function will return a group ID based on the group name.

Dialog Forms Called

None


GetGroupsList

File Name

peo_dbww.kb

Syntax

GetGroupsList ( VAL user_id: STRING )

Parameters

user_id - user id

Returns

String

Side Effects

None

Description

This function will get a list of member_of records for the current user ID.

Dialog Forms Called

None


GetProfileName

File Name

peo_dbww.kb

Syntax

GetProfileName( REF profile_id: INTEGER)

Parameters

profile_id - ID of selected profile

Returns

Integer

Side Effects

None

Description

This function will return a profile name for the specified profile ID.

Dialog Forms Called

None


UpdateDefaultGroup

File Name

peo_dbww.kb

Syntax

UpdateDefaultGroup( VAL group_id: STRING, VAL user_id: STRING, REF default_group: INTEGER )

Parameters

group_id - group ID

user_id - user ID

default_group - 0 or 1 for True/False

Returns

String

Side Effects

None

Description

This function will update the default_group field of a group associated with a selected person.

Dialog Forms Called

None


UpdateLoc

File Name

peo_dbww.kb

Syntax

UpdateLoc(REF location: WWPeopleLocationRec)

Parameters

location - people_location record

Returns

Nothing

Side Effects

None

Description

This function will update the default location in the people_location table.

Dialog Forms Called

None


UpdateNotification

File Name

peo_dbww.kb

Syntax

UpdateNotification(REF notifyrec: Notify_User_GroupRec)

Parameters

notifyrec - notify_user_grouprec

Returns

Nothing

Side Effects

None

Description

This procedure will add the notification information into the notify_user_group table.

Dialog Forms Called

None


UpdateOrg

File Name

peo_dbww.kb

Syntax

UpdateOrg(REF organization: Org_MembershipRec)

Parameters

organization - org_membership record

Returns

Nothing

Side Effects

None

Description

This procedure will update the default organization information in the org_membership table.

Dialog Forms Called

None


UpdatePersonUser

File Name

peo_dbww.kb

Syntax

UpdatePersonUser( VAL w: WINDOW, REF peorec: PeopleRec, REF user: UsersRecord, REF person: BrowsePeopleInstRec, VAL InTran: BOOLEAN )

Parameters

w - parent window handle

peorec - people record

user - user record

person - instance data used for browse people event

InTran - in a transaction or not

Returns

String

Side Effects

None

Description

This function will update the people information in the people table and the user information in the user table.

Dialog Forms Called

None


UpdateWebUserRights

File Name

peo_dbww.kb

Syntax

UpdateWebUserRights(REF userrights: EWeb_User_RightsRec, REF person: BrowsePeopleInstRec)

Parameters

userrights - eweb_user_rights record

person - instance data for browse people event

Returns

Nothing

Side Effects

None

Description

This procedure will add the web user rights information into the eweb_user_rights table.

Dialog Forms Called

None