Skip to content

SQL-015: Insert EMAIL_ADDRESS for clsEmailAddressInfo

This statement supports clsEmailAddressInfo by executing a create operation against EMAIL_ADDRESS.

Classification

Field Value
SQL ID SQL-015
Operation type Create
Execution method Inline
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsEmailAddressInfo
Criteria property InsertSQL
Lifecycle method BeforeInsert

Parameters

Parameter Direction Type Max length Description
:EmailAddressID Input Decimal N/A Email address primary key
:EmailCode Input String 5 Email type code
:EmailAddress Input String 60 Email address text
:ValidatedFlag Input Date 1 Email validation flag
:EffectiveDate Input Date N/A Effective date
:ExpirationDate Input Date N/A Expiration date
:ActiveFlag Input String (Y/N) 1 Active flag
:PrimaryFlag Input String (Y/N) 1 Primary flag
:NoteText Input String 100 Free-form note text

Tables

Table Access Columns used
EMAIL_ADDRESS INSERT ACTIVE_FLAG, EFF_DT, EMAIL_ADDRESS, EMAIL_ADDRESS_SEQ_NUM, EMAIL_CODE, EXP_DT, NOTE_TEXT, PRIMARY_FLAG, UPDATE_DATE, UPDATE_USER, VALIDATED_FLAG

Sample SQL

Insert into EMAIL_ADDRESS ( EMAIL_ADDRESS_SEQ_NUM, EMAIL_CODE, EMAIL_ADDRESS, EFF_DT, EXP_DT, ACTIVE_FLAG, PRIMARY_FLAG, NOTE_TEXT, VALIDATED_FLAG, UPDATE_DATE, UPDATE_USER ) Values ( :EmailAddressID, :EmailCode, :EmailAddress, :EffectiveDate, :ExpirationDate, :ActiveFlag, :PrimaryFlag, :NoteText, :ValidatedFlag, NULL, NULL )

Operations and processes

Business rules

Note: Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Business\SAIF.Business.CustomerContact\InfoItems\clsEmailAddressInfo.vb