Skip to content

SQL-096: Retrieve policy team function

Retrieve policy team function in the context of clsPolicyTeamFunction.

Classification

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

Parameters

Parameter Direction Type Max length Description
:Code Input bound from MyCriteria.Code 5 Bound in clsPolicyTeamFunction.BeforeRetrieve (line 323)

Tables

Table Access Columns used
TEAM_FUNCTION_CODE SELECT See sample SQL

Sample SQL

SELECT
  TEAM_FUNCTION_CODE.CODE as Code,
  TEAM_FUNCTION_CODE.CODE_DESCR as Description,
  TEAM_FUNCTION_CODE.SCREEN_ORDER as PreferredSortOrder,
  TEAM_FUNCTION_CODE.PMS_FUNCTION_CODE as PMSFunctionCode,
  TEAM_FUNCTION_CODE.LOC_SEQ_NUM as LocationSeqNum
FROM
  TEAM_FUNCTION_CODE
WHERE
  TEAM_FUNCTION_CODE.CODE = :Code

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\clsPolicyTeamFunction.vb