SQL-034: Update policy-period group association row
SQL-034 update policy-period group association row in support of clsPolicyPeriodGroupAssociation.
Classification
Field
Value
SQL ID
SQL-034
Operation type
Update
Execution method
Inline SQL via BOF data portal
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsPolicyPeriodGroupAssociation
Criteria property
UpdateSQL
Lifecycle method
BeforeUpdate / AfterUpdate
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
UPDATE
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
Update POLICY_PERIOD_GROUP_ASSOC
Set
POLICY_NUM = : PolicyNumber ,
POLICY_PERIOD_EFF_DATE = : PolicyPeriodEffectiveDate ,
GROUP_ASSOCIATION_CODE = : GroupAssociationCode ,
GROUP_MBRSHP_EFF_DATE = : GroupMembershipEffectiveDate ,
GROUP_MBRSHP_EXP_DATE = : GroupMembershipExpirationDate ,
GROUP_TERMINATION_DATE = : GroupTerminationDate ,
CHAPTER_CODE = : ChapterCode ,
CREATE_DATE = : CreateDate ,
CREATE_USER = : CreateUser ,
UPDATE_DATE = : UpdateDate ,
UPDATE_USER = : UpdateUser ,
GROUP_MEMBERSHIP_TYPE_CODE = : GroupMembershipTypeCode
Where
POLICY_PERIOD_GROUP_ASSOC . POLICY_NUM = : PolicyNumber
AND POLICY_PERIOD_GROUP_ASSOC . POLICY_PERIOD_EFF_DATE = : PolicyPeriodEffectiveDate
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