Skip to content

SQL-067: Retrieve location contact collection

Retrieve location contact collection in the context of clsLocationContactCollection.

Classification

Field Value
SQL ID SQL-067
Operation type Read
Execution method IDataRequest.SQLStatement (CommandType.Text)
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsLocationContactCollection
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve / AfterRetrieve

Parameters

Parameter Direction Type Max length Description
:LocationSequenceNumber Input bound from MyCriteria.LocationSequenceNumber - Bound in clsLocationContactCollection.BeforeRetrieve (line 133)

Tables

Table Access Columns used
CONTACT SELECT See sample SQL

Sample SQL

SELECT
  CONTACT.LOC_SEQ_NUM as LocationSequenceNumber,
  CONTACT.CONTACT_TYPE_CODE as ContactCode,
  CONTACT.CONTACT_EFF_DATE as EffectiveDate,
  CONTACT.CONTACT_EXP_DATE as ExpirationDate,
  CONTACT.BUS_SEQ_NUM as BusinessSequenceNumber,
  CONTACT.CONTACT_FIRST_NAME as FirstName,
  CONTACT.CONTACT_INITIAL as MiddleInitial,
  CONTACT.CONTACT_LAST_NAME as LastName,
  CONTACT.CONTACT_TITLE as Title,
  CONTACT.CONTACT_PHONE as PhoneNumber,
  CONTACT.CONTACT_PHONE_EXT as PhoneNumberExtension,
  CONTACT.CREATE_USER as CreateUser,
  CONTACT.CREATE_DATE as CreateDate,
  CONTACT.UPDATE_USER as UpdateUser,
  CONTACT.UPDATE_DATE as UpdateDate,
  CONTACT.EMAIL_ADDR as EmailAddress,
  CONTACT.CELL_PHONE as CellPhoneNumber
FROM
  CONTACT
WHERE
  CONTACT.LOC_SEQ_NUM = :LocationSequenceNumber

Operations and processes

Business rules

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.Policy.Core\clsLocationContactCollection.vb