HP_PAYCHKDED_SP(SQL View) |
Index Back |
---|---|
Pay Deduction SuspenseThis view provides an insight into what deductions belong to checks distributed to Suspense Account |
SELECT A.COMPANY , A.PAYGROUP , A.PAY_END_DT , A.OFF_CYCLE , A.PAGE_NUM , A.LINE_NUM , A.SEPCHK , A.BENEFIT_RCD_NBR , A.PLAN_TYPE , A.BENEFIT_PLAN , A.DEDCD , A.DED_CLASS , A.DED_SLSTX_CLASS , A.DED_CUR , A.DED_CUR_PAYBK , A.DED_CUR_REFUND , A.DED_NOT_TAKEN , A.REASON_NOT_TAKEN , A.CALCULATED_BASE , A.ESPP_PROCESS_FLAG , A.AP_STATUS FROM PS_PAY_DEDUCTION A WHERE EXISTS ( SELECT B.COMPANY FROM PS_HP_PAY_CHK_SUSP B WHERE A.COMPANY = B.COMPANY AND A.PAYGROUP = B.PAYGROUP AND A.PAY_END_DT = B.PAY_END_DT AND A.OFF_CYCLE = B.OFF_CYCLE AND A.PAGE_NUM = B.PAGE_NUM AND A.LINE_NUM = B.LINE_NUM AND A.SEPCHK = B.SEPCHK) AND EXISTS ( SELECT D.ACCT_CD FROM PS_PAY_DED_DIST D WHERE A.COMPANY = D.COMPANY AND A.PAYGROUP = D.PAYGROUP AND A.PAY_END_DT = D.PAY_END_DT AND A.OFF_CYCLE = D.OFF_CYCLE AND A.PAGE_NUM = D.PAGE_NUM AND A.LINE_NUM = D.LINE_NUM AND A.SEPCHK = D.SEPCHK AND A.PLAN_TYPE = D.PLAN_TYPE AND A.BENEFIT_PLAN = D.BENEFIT_PLAN AND A.DEDCD = D.DEDCD AND A.DED_CLASS = D.DED_CLASS AND A.DED_SLSTX_CLASS = D.DED_SLSTX_CLASS AND D.HP_RETDIST_STATUS = '0' AND EXISTS ( SELECT C.HP_ACCT_CD_SUSPNS FROM PS_DEPTBDGT_SUSPNS C WHERE C.DEPTID = D.DEPTID AND C.FISCAL_YEAR = D.FISCAL_YEAR AND C.HP_ACCT_CD_SUSPNS = D.ACCT_CD)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COMPANY | Character(3) | VARCHAR2(3) NOT NULL |
Company
Prompt Table: COMPANY_TBL |
2 | PAYGROUP | Character(3) | VARCHAR2(3) NOT NULL |
Pay Group
Prompt Table: PAYGROUP_TBL |
3 | PAY_END_DT | Date(10) | DATE NOT NULL |
Pay Period End Date
Prompt Table: PAY_CALENDAR |
4 | OFF_CYCLE | Character(1) | VARCHAR2(1) NOT NULL |
Off Cycle ?
Y/N Table Edit |
5 | PAGE_NUM | Number(4,0) | SMALLINT NOT NULL | Page # |
6 | LINE_NUM | Number(2,0) | SMALLINT NOT NULL | Line # |
7 | SEPCHK | Number(1,0) | SMALLINT NOT NULL | Separate check number. |
8 | BENEFIT_RCD_NBR | Number(3,0) | SMALLINT NOT NULL | Specifies a sequence number associated with each of multiple concurrent jobs for a one employee. It is used to determine the applicable benefit program for each job. The first job entered for an employee is automatically assigned a Benefit Record Number of zero (0). This field is linked with EMPL_RCD#, the Employment Record Number. |
9 | 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. |
10 | BENEFIT_PLAN | Character(6) | VARCHAR2(6) NOT NULL |
Benefit Plan
Prompt Table: BEN_PROG_BENPLN |
11 | DEDCD | Character(6) | VARCHAR2(6) NOT NULL |
Deduction Code
Prompt Table: BEN_PROG_BENDED |
12 | DED_CLASS | Character(1) | VARCHAR2(1) NOT NULL |
Deduction Classification
A=After-Tax B=Before-Tax L=QC Taxable Benefit N=Nontaxable Benefit P=Nontaxable Btax Benefit T=Taxable Benefit |
13 | DED_SLSTX_CLASS | Character(1) | VARCHAR2(1) NOT NULL |
Sales Tax Type
B=None G=Goods and Services Tax H=Harmonized Sales Tax I=Provincial Sales Tax Insurance P=Provincial Sales Tax Q=QC Prov Sales Tax Insurance S=QC Provincial Sales Tax T=Provincial Premium Tax U=QC Provincial Premium Tax Default Value: B |
14 | DED_CUR | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | Current Deduction |
15 | DED_CUR_PAYBK | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | Current Deduction Payback |
16 | DED_CUR_REFUND | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | Current Deduction Refund |
17 | DED_NOT_TAKEN | Signed Number(12,2) | DECIMAL(10,2) NOT NULL | Deduction Not Taken |
18 | REASON_NOT_TAKEN | Character(1) | VARCHAR2(1) NOT NULL |
Reason Deduction Not Taken
A=Annual Limit Exceeded B=Annual Limit Exceeded Rollover D=402(g) Limit Exceeded E=402(g) Limit Exceeded Rollover F=457 Limit Exceeded G=457 Limit Exceeded Rollover H=HCE Limit Exceeded I=HCE Limit Exceeded Rollover K=415 Limit Exceeded Rollover L=415 Limit Exceeded M=Maximim Deduction Met N=Not Enough Net Pay O=Per Check Limit Exceeded P=Per Check Limit Exceeded R/O R=Deductn Max Exceeded Rollover S=401(a) Limit Exceeded T=401(a) Limit Exceeded Rollover U=403(b) Limit Exceeded V=403(b) Limit Exceeded Rollover W=User Defined Limit Exceeded X=User Defined Lmt Exceeded R/O Z=Multiple Reasons |
19 | CALCULATED_BASE | Number(11,2) | DECIMAL(10,2) NOT NULL | Coverage Base |
20 | ESPP_PROCESS_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
ESPP Process Flag
Y/N Table Edit Default Value: N |
21 | AP_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
AP Status
S=Sent to AP X=Extracted |