Retrieve location contact in the context of clsLocationContact.
Classification
Field
Value
SQL ID
SQL-066
Operation type
Read
Execution method
IDataRequest.SQLStatement (CommandType.Text)
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsLocationContact
Criteria property
RetrieveSQL
Lifecycle method
BeforeRetrieve / AfterRetrieve
Parameters
Parameter
Direction
Type
Max length
Description
:LocationSequenceNumberCONTACT
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:ContactCodeCONTACT
Input
unknown
-
Bind variable present in SQL text; no matching AddParm located - unknown**
:EffectiveDate
Input
bound from MyCriteria.EffectiveDate
-
Bound in clsLocationContact.BeforeRetrieve (line 198)
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 = : LocationSequenceNumberCONTACT
AND CONTACT . CONTACT_TYPE_CODE = : ContactCodeCONTACT
AND CONTACT . CONTACT_EFF_DATE = : EffectiveDate
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\clsLocationContact.vb