FSA_CLM_RVRS_VW(SQL View) |
Index Back |
---|---|
Vw - FSA Claim ReversalThis view is used to assist in setting up the Run Control for reversing an FSA Claim. It is used to display all of the FSA Checks which paid a specified claim, as verification that the correct claim information was entered. |
SELECT P.EMPLID ,P.EMPL_RCD ,D.PLAN_TYPE ,D.CLAIMID ,D.FORM_ID ,D.PAYCHECK_NBR ,D.CHECK_DT ,P.FSA_CHECK_AMT ,P.FSA_PAYMENT_STATUS ,D.FSA_CLAIM_AMT_PD FROM PS_FSA_PAYMT_CLAIM D ,PS_FSA_PAYMENT P WHERE P.FORM_ID = D.FORM_ID AND P.PAYCHECK_NBR = D.PAYCHECK_NBR AND P.CHECK_DT = D.CHECK_DT AND P.PLAN_TYPE = D.PLAN_TYPE |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PERSON |
2 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
3 | 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. |
4 | CLAIMID | Character(8) | VARCHAR2(8) NOT NULL | Claim ID |
5 | FORM_ID | Character(6) | VARCHAR2(6) NOT NULL |
Form Identification
Prompt Table: PAY_FORM_TBL |
6 | PAYCHECK_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Paycheck number. |
7 | CHECK_DT | Date(10) | DATE | Check date. |
8 | FSA_CHECK_AMT | Number(9,2) | DECIMAL(8,2) NOT NULL | FSA Check Amount |
9 | FSA_PAYMENT_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
FSA Payment Status
P=Paid R=Pay This Run V=Void Check X=Reversed Check |
10 | FSA_CLAIM_AMT_PD | Number(8,2) | DECIMAL(7,2) NOT NULL | Claim Amount Paid |