Skip to content

SQL-058 Delete a claim employee work address

Deletes an employee work-address row for a claim, guarded by optimistic concurrency.

Classification

Field Value
SQL ID SQL-058
Operation type Delete
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsClaimEmployeeWorkAddress
Criteria property DeleteSQL
Lifecycle method BeforeDelete

Parameters

Parameter Direction Type Max length Description
ClaimID Input Decimal — Row key
UpdateNum Input Decimal — Optimistic-concurrency check value

Tables

Table Access Columns used
CL_CLAIM_EMPLOYEE_WORK_ADDRESS DELETE CLAIM_ID, UPDATE_NUM

Sample SQL

-- Delete claim employee work address
Delete CL_CLAIM_EMPLOYEE_WORK_ADDRESS
 Where CLAIM_ID   = :ClaimID
   And UPDATE_NUM = :UpdateNum

Business rules

Sources

  • SAIF.Business.Claim/clsClaimEmployeeWorkAddress.vb