SQL-084: Retrieve policy period base
Retrieve policy period base in the context of clsPolicyPeriodBase.
Classification
Field
Value
SQL ID
SQL-084
Operation type
Read
Execution method
CommandType.Text / DataRequestType.Scalar
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsPolicyPeriodBase
Criteria property
*n/a - application layer*
Lifecycle method
clsPolicyPeriodBase.GetARStandardPremium (application layer)
Parameters
Parameter
Direction
Type
Max length
Description
:PolicyNumber
Input
bound from PolicyNumber
-
Bound in clsPolicyPeriodBase.GetARStandardPremium (line 648)
:PolicyPeriodEffectiveDate
Input
bound from EffectiveDate
-
Bound in clsPolicyPeriodBase.GetARStandardPremium (line 649)
Tables
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\clsPolicyPeriodBase.vb