Skip to content

SQL-014: Insert policy-period group association row

SQL-014 insert policy-period group association row in support of clsPolicyPeriodGroupAssociation.

Classification

Field Value
SQL ID SQL-014
Operation type Insert
Execution method Inline SQL via BOF data portal
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsPolicyPeriodGroupAssociation
Criteria property InsertSQL
Lifecycle method BeforeInsert / AfterInsert

Parameters

Parameter Direction Type Max length Description
:PolicyNumber In Decimal not specified Policy number — first half of the composite key (BR-022).
:PolicyPeriodEffectiveDate In Date not specified Policy period effective date — second half of the key (BR-022).
:GroupAssociationCode In String not specified Group the policy period is linked to.
:GroupMembershipEffectiveDate In Date not specified Membership start date.
:GroupMembershipExpirationDate In Date not specified Membership end date; optional.
:GroupTerminationDate In Date not specified Date membership was terminated; optional.
:ChapterCode In String not specified Chapter within the group; optional.
:CreateDate In Date not specified Audit — row creation timestamp.
:CreateUser In String not specified Audit — creating user.
:UpdateDate In Date not specified Audit — last update timestamp (BR-021).
:UpdateUser In String 30 (BR-021) Audit — last updating user.
:GroupMembershipTypeCode In String not specified Membership type; optional.

Tables

Table Access Columns used
POLICY_PERIOD_GROUP_ASSOC INSERT POLICY_NUM, POLICY_PERIOD_EFF_DATE, GROUP_ASSOCIATION_CODE, GROUP_MBRSHP_EFF_DATE, GROUP_MBRSHP_EXP_DATE, GROUP_TERMINATION_DATE, CHAPTER_CODE, CREATE_DATE, CREATE_USER, UPDATE_DATE, UPDATE_USER, GROUP_MEMBERSHIP_TYPE_CODE

Sample SQL

Insert into POLICY_PERIOD_GROUP_ASSOC
  (
    POLICY_NUM,
    POLICY_PERIOD_EFF_DATE,
    GROUP_ASSOCIATION_CODE,
    GROUP_MBRSHP_EFF_DATE,
    GROUP_MBRSHP_EXP_DATE,
    GROUP_TERMINATION_DATE,
    CHAPTER_CODE,
    CREATE_DATE,
    CREATE_USER,
    UPDATE_DATE,
    UPDATE_USER,
    GROUP_MEMBERSHIP_TYPE_CODE
  )
Values
  (
    :PolicyNumber,
    :PolicyPeriodEffectiveDate,
    :GroupAssociationCode,
    :GroupMembershipEffectiveDate,
    :GroupMembershipExpirationDate,
    :GroupTerminationDate,
    :ChapterCode,
    :CreateDate,
    :CreateUser,
    :UpdateDate,
    :UpdateUser,
    :GroupMembershipTypeCode
  )

Operations and processes

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.Group\clsPolicyPeriodGroupAssociation.vb