SQL-057: clsFinancialTransCollection
This statement supports clsFinancialTransCollection by executing a Read operation through inline.
Classification
| Field |
Value |
| SQL ID |
SQL-057 |
| Operation type |
Read |
| Execution method |
Inline SQL |
| Database |
Oracle |
| Schema |
[unqualified]** |
| Command type |
Text |
| Business object |
clsFinancialTransCollection |
| Criteria property |
PreviousTranAmtsSQL |
| Lifecycle method |
GetPreviousAmts |
Parameters
| Parameter |
Direction |
Type |
Max length |
Description |
:ClaimId |
Input |
Unknown |
— |
Passed from clsFinancialTransCollection via GetPreviousAmts. |
:PaymentCategoryCode |
Input |
Unknown |
— |
Passed from clsFinancialTransCollection via GetPreviousAmts. |
:FromDate |
Input |
Unknown |
— |
Passed from clsFinancialTransCollection via GetPreviousAmts. |
:ThruDate |
Input |
Unknown |
— |
Passed from clsFinancialTransCollection via GetPreviousAmts. |
Tables
| Table |
Access |
Columns used |
| CL_FINANCIAL_TRANS |
Read |
Not enumerated directly in the stage findings.** |
Sample SQL
select
sum(dt.Transaction_Amt) PmtAmt,
sum(dt.TD_DAY_QTY) DayQty
from cl_financial_trans ft, cl_financial_trans_dtl dt, cl_injury_claim ic
WHERE
ft.CLAIM_ID = :claimId and
ft.CLAIM_ID = ic.CLAIM_ID and
ft.INJURY_DATE = ic.INJURY_DATE and
ft.CLAIM_FINANCIAL_TRANS_SEQ_NUM = dt.CLAIM_FINANCIAL_TRANS_SEQ_NUM and
dt.PAYMENT_CATEGORY_CODE = :PaymentCategoryCode and
dt.TRANSACTION_FROM_DATE = :FromDate and
dt.TRANSACTION_THRU_DATE = :ThruDate and
ft.MEDICAL_INDEMNITY_DISPLAY_CODE = 'I' and
((ft.FINANCIAL_TRANS_TYPE_CODE = '1' and ft.TOTAL_TRANSACTION_AMT > 0) or ft.FINANCIAL_TRANS_TYPE_CODE = '2')
Operations and processes
Note: Statements marked with ** could not be confirmed; treat them as unknown until verified.
Sources
Business/SAIF.Business.Claim.Payment/FinancialTransaction/clsFinancialTransCollection.vb