Skip to content

SQL-011 Retrieve an active benefit schedule row

Retrieves a single active benefit-schedule row by claim and benefit-payment sequence number.

Classification

Field Value
SQL ID SQL-011
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsActiveBenefitSchedule
Criteria property RetrieveSQL
Lifecycle method BeforeRetrieve

Parameters

Parameter Direction Type Max length Description
ClaimID Input Decimal — Claim identifier
BenefitPaymentSeqNum Input Decimal — Benefit payment sequence number

Tables

Table Access Columns used
CL_BENEFIT_SCHEDULE SELECT CLAIM_ID, BENEFIT_PAYMENT_SEQ_NUM

Sample SQL

-- Retrieve active benefit schedule row
Select CL_BENEFIT_SCHEDULE.*
  From CL_BENEFIT_SCHEDULE
 Where CLAIM_ID = :ClaimID
   And BENEFIT_PAYMENT_SEQ_NUM = :BenefitPaymentSeqNum

Operations and processes

Business rules

Sources

  • SAIF.Business.Claim/clsActiveBenefitSchedule.vb