Skip to content

SQL-067: clsNDRClaimAmountsResponse

This statement supports clsNDRClaimAmountsResponse by executing a Read operation through inline.

Classification

Field Value
SQL ID SQL-067
Operation type Read
Execution method Inline SQL
Database Oracle
Schema [unqualified]**
Command type Text
Business object clsNDRClaimAmountsResponse
Criteria property TotalAmtPaidBefReimbPeriod
Lifecycle method —

Parameters

Parameter Direction Type Max length Description
— — — — No explicit bind parameters were found in the matched caller.

Tables

Table Access Columns used
CLAIM_NON_DISAB_REIMB_MAX Read Not enumerated directly in the stage findings.**
CL_FINANCIAL_TRANS_DTL Read Not enumerated directly in the stage findings.**
CL_INJURY_CLAIM Read Not enumerated directly in the stage findings.**

Sample SQL

SELECT
    NDTODAY.AMOUNT currentAmt,
    NDRMAX.MAX_ND_REIMB_AMT ndmax
FROM CLAIM_NON_DISAB_REIMB_MAX NDRMAX, (SELECT NVL (ABS (SUM (FTD.TRANSACTION_AMT)), 0) amount FROM CL_FINANCIAL_TRANS_DTL FTD, CL_FINANCIAL_TRANS FT, CL_INJURY_CLAIM CIC WHERE FT.CLAIM_ID = CIC.CLAIM_ID AND FT.CLAIM_FINANCIAL_TRANS_SEQ_NUM = FTD.CLAIM_FINANCIAL_TRANS_SEQ_NUM AND FT.FINANCIAL_TRANS_TYPE_CODE = FTD.FINANCIAL_TRANS_TYPE_CODE AND FT.CLAIM_ID = :claimId AND FTD.REIMBURSEMENT_PROGRAM_CODE = '8') NDTODAY
WHERE
    NDRMAX.EFF_DATE = (SELECT MAX (EFF_DATE) FROM CLAIM_NON_DISAB_REIMB_MAX WHERE TRUNC (eff_date) <= (SELECT TRUNC (:injuryDate) FROM cl_injury_claim cic WHERE CIC.CLAIM_ID = :claimId))

Operations and processes

Note: Statements marked with ** could not be confirmed; treat them as unknown until verified.

Sources

  • Business/SAIF.Business.Claim.Payment/Adjustments/Refunds/clsNdRefund.vb