SQL-070: Retrieve policy
Retrieve policy in the context of clsPolicy.
Classification
Field
Value
SQL ID
SQL-070
Operation type
Read
Execution method
CommandType.Text / DataRequestType.Scalar
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsPolicy
Criteria property
*n/a - application layer*
Lifecycle method
clsPolicy.GetCancelDate (application layer)
Parameters
Parameter
Direction
Type
Max length
Description
:policynumber
Input
bound from PolicyNumber
-
Bound in clsPolicy.GetCancelDate (line 754)
Tables
Table
Access
Columns used
CANCELLATION
SELECT
See sample SQL
Sample SQL
SELECT
cancel_date
FROM
cancellation c
WHERE
c . policy_num = : policynumber
AND c . cancellation_seq_num = (
SELECT
max ( cancellation_seq_num )
FROM
cancellation c2
WHERE
c2 . policy_num = : policynumber
)
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\clsPolicy.vb