Skip to content

SQL-081: clsAccidentInjury

This statement supports clsAccidentInjury by executing a Update operation through inline.

Classification

Field Value
SQL ID SQL-081
Operation type Update
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsAccidentInjury
Criteria property UpdateSQL
Lifecycle method BeforeUpdate

Parameters

Parameter Direction Type Max length Description
:CityName Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:CountyCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:StateCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:ZipCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:ZipCodeExt Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:UpdateUser Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:ExposureCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:EmploymentInjuryCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:InitialTreatmentDate Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:InjuredOnPremisesCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:InjuryDate Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:InjurySourceCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:InjuryTime Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:InPatientFlagCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:FederalInjuryLocationCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:HardwareCausedFlagCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:HighSeasFlag Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:MultipleWorkerFlagCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:PersonCausedFlagCode Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:SaifEventDescr Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:ClaimID Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.
:UpdateNum Input Unknown — Passed from clsAccidentInjury via BeforeUpdate.

Tables

Table Access Columns used
CL_INJURY_CLAIM Update Not enumerated directly in the stage findings.**

Sample SQL

Update CL_INJURY_CLAIM
SET
    CITY_NAME = :CityName,
    COUNTY_CODE = :CountyCode,
    EXPOSURE_CODE = :ExposureCode,
    EMPLOYMENT_INJURY_CODE = : EmploymentInjuryCode,
    INITIAL_TREATMENT_DATE = TRUNC(:InitialTreatmentDate),
    INJURED_ON_PREMISES_CODE = :InjuredOnPremisesCode,
    INJURY_DATE = TRUNC(:InjuryDate),
    INJURY_SOURCE_CODE = :InjurySourceCode,
    INJURY_TIME = :InjuryTime,
    INPATIENT_FLAG_CODE = :InPatientFlagCode,
    FEDERAL_INJURY_LOCATION_CODE = :FederalInjuryLocationCode,
    HARDWARE_CAUSED_FLAG_CODE = :HardwareCausedFlagCode,
    HIGH_SEAS_FLAG = :HighSeasFlag,
    MULTIPLE_WORKER_FLAG_CODE = :MultipleWorkerFlagCode,
    PERSON_CAUSED_FLAG_CODE = :PersonCausedFlagCode,
    SAIF_EVENT_DESCR = :SaifEventDescr,
    STATE_CODE = :StateCode,
    UPDATE_DATE = SYSDATE,
    UPDATE_NUM = UPDATE_NUM + 1,
    UPDATE_USER = :UpdateUser,
    ZIP_CODE = :ZipCode,
    ZIP_CODE_EXT = :ZipCodeExt
WHERE
    CL_INJURY_CLAIM.CLAIM_ID = :ClaimID AND
    CL_INJURY_CLAIM.UPDATE_NUM = :UpdateNum

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.Claim.Maintenance/clsAccidentInjury.vb