FSA_CHK_RVRS_VW(SQL View) |
Index Back |
---|---|
Vw - FSA Check ReversalThis view is used to assist in setting up the Run Control for reversing an FSA check. It is used to display all of the FSA Claims which were paid by a specified check, as verification that the correct check information was entered. |
SELECT D.FORM_ID , D.PAYCHECK_NBR , D.CHECK_DT , C.EMPLID , C.EMPL_RCD , D.PLAN_TYPE , D.CLAIMID , C.SVC_FROM_DT , C.SVC_TO_DT , C.SVC_TYPE , C.FSA_CLAIM_SUB_AMT , C.FSA_CLAIM_APR_AMT , C.FSA_CLAIM_PD_TO_DT , D.FSA_CLAIM_AMT_PD , C.FSA_CLAIM_STATUS FROM PS_FSA_PAYMENT P , PS_FSA_PAYMT_CLAIM D , PS_FSA_CLAIM C WHERE D.FORM_ID = P.FORM_ID AND D.PAYCHECK_NBR = P.PAYCHECK_NBR AND D.CHECK_DT = P.CHECK_DT AND C.EMPLID = P.EMPLID AND C.EMPL_RCD = P.EMPL_RCD AND C.PLAN_TYPE = P.PLAN_TYPE AND C.CLAIMID = D.CLAIMID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | FORM_ID | Character(6) | VARCHAR2(6) NOT NULL |
Form Identification
Prompt Table: PAY_FORM_TBL |
2 | PAYCHECK_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Paycheck number. |
3 | CHECK_DT | Date(10) | DATE NOT NULL | Check date. |
4 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
5 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Record |
6 | PLAN_TYPE | Character(2) | VARCHAR2(2) NOT NULL | Identifies a category of benefit plan, such as Medical, Dental, and Life (Insurance). A set of plan type codes, as well as rules for creating new codes, is provided by PeopleSoft. Plan Type codes determine how the system processes and defines eligibility for the various benefit plans. |
7 | CLAIMID | Character(8) | VARCHAR2(8) NOT NULL | Claim ID |
8 | SVC_FROM_DT | Date(10) | DATE | Service From Date |
9 | SVC_TO_DT | Date(10) | DATE | Service To Date |
10 | SVC_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Service Type
C=Dependent Day Care D=Dental H=Hearing M=Medical O=Orthodontia P=Prescription Drugs R=Retirement Counselling V=Vision Y=Carryforward |
11 | FSA_CLAIM_SUB_AMT | Number(8,2) | DECIMAL(7,2) NOT NULL | Claim Submitted Amount |
12 | FSA_CLAIM_APR_AMT | Number(8,2) | DECIMAL(7,2) NOT NULL | Claim Approved Amount |
13 | FSA_CLAIM_PD_TO_DT | Number(8,2) | DECIMAL(7,2) NOT NULL | FSA Claim Paid To Date |
14 | FSA_CLAIM_AMT_PD | Number(8,2) | DECIMAL(7,2) NOT NULL | Claim Amount Paid |
15 | FSA_CLAIM_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
FSA Claim Status
F=Fully Processed J=Rejected P=Pended R=Ready To Pay S=Submitted X=Reversed Claim |