SQL-075: Retrieve policy location
Retrieve policy location in the context of clsPolicyLocation.
Classification
Field
Value
SQL ID
SQL-075
Operation type
Read
Execution method
CommandType.Text / DataRequestType.DataResultSet
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsPolicyLocation
Criteria property
*n/a - application layer*
Lifecycle method
clsPolicyLocation.GetAuditContacts (application layer)
Parameters
Parameter
Direction
Type
Max length
Description
:LocationSequenceNumber
Input
bound from LocationSequenceNumber
-
Bound in clsPolicyLocation.GetAuditContacts (line 646)
Tables
Table
Access
Columns used
CONTACT
SELECT
See sample SQL
Sample SQL
SELECT
sum ( nvl ( ermod_premium_amt , 0 ))
FROM
non_wcis_stat_trans
WHERE
policy_num = : PolicyNumber
AND policy_period_eff_date = : PolicyPeriodEffectiveDate
AND (
JOB_CLASS_CODE in (
4 ,
32 ,
88 ,
121 ,
122 ,
123 ,
277 ,
278 ,
930 ,
931 ,
991 ,
9041 ,
9046 ,
9803 ,
9804 ,
9805 ,
9806 ,
9807 ,
9808 ,
9809 ,
9810 ,
9811 ,
9812 ,
9813 ,
9814 ,
9815 ,
9816 ,
9817 ,
9818 ,
9819 ,
9820 ,
9821 ,
9822 ,
9840 ,
9848 ,
9849 ,
9851 ,
9885 ,
9886 ,
9985 )
OR nvl ( exposure_count , 0 ) <> 0 )
AND premium_audit_waiver_flag = 'N'
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\clsPolicyLocation.vb