SQL-012 Retrieve the benefit payment for an active schedule
Retrieves the benefit-payment row associated with an active benefit schedule during payment-stop processing.
Classification
Field
Value
SQL ID
SQL-012
Operation type
Read
Execution method
Inline SQL
Database
Oracle
Schema
[unqualified]**
Command type
Text
Business object
clsActiveBenefitSchedule
Criteria property
RetrieveSchedSQL
Lifecycle method
RetrieveBenefitPayments
Parameters
Parameter
Direction
Type
Max length
Description
ClaimID
Input
Decimal
—
Claim identifier
BenefitPaymentSeqNum
Input
Decimal
—
Benefit payment sequence number
Tables
Sample SQL
-- Retrieve benefit payment for active schedule
Select CL_BENEFIT_PAYMENT . *
From CL_BENEFIT_PAYMENT
Where CLAIM_ID = : ClaimID
And BENEFIT_PAYMENT_SEQ_NUM = : BenefitPaymentSeqNum
Operations and processes
Business rules
Sources
SAIF.Business.Claim/clsActiveBenefitSchedule.vb