Skip to content

SQL-016 Retrieve a benefit schedule row (twin class)

Retrieves a single benefit-schedule row by claim and benefit-payment sequence number; identical logic to clsActiveBenefitSchedule.*

Classification

Field Value
SQL ID SQL-016
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsBenefitSchedule
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 benefit schedule row
Select CL_BENEFIT_SCHEDULE.*
  From CL_BENEFIT_SCHEDULE
 Where CLAIM_ID = :ClaimID
   And BENEFIT_PAYMENT_SEQ_NUM = :BenefitPaymentSeqNum

Business rules

Sources

  • SAIF.Business.Claim/clsBenefitSchedule.vb (not compiled)