Get Contacts
Function Name: PSSR_ON_COMMON.GETCONTACTS
Function parameters
- Student.DCID
- ContactType: C for Custody, L for Lives with, CL for Custody and Lives with, E for Emergency)
- MaxRecords: This number can be NULL or a number > 0.
Function Description
- The function is used to get student contacts based on the specified parameters.
- The function returns contacts for the specified contact type.
- The function returns one or more contacts based on the MaxRecords specified. MaxRecords identifies the maximum number of records (contacts) to be returned by the function. If NULL is specified, all contacts matching the criteria are returned.
- Expired contacts are not included.
- Contacts with Relationship Type "Exclude From State Reporting" are included.
Function Output
Student DCID, ContactLastFirst, ContactLastName, ContactMiddleName, ContactFirstName, ContactRelationShip, ContactPersonDCID, PriorityOrder
Note: The relationship output returned by the function is the CodeSets.Relationship.ReportedValue, if defined; otherwise, the Codsets.Relationship.Code is output. This means that what is returned may not match what is displayed on the student's contacts page.