GPCH_TX_LAW_VW1

(SQL View)
Index Back

View for Override LAW

View for Override LAW

SELECT DISTINCT A.EMPLID , A.EMPL_RCD , B.FIRST_NAME , B.LAST_NAME , B.NAME , A.BEGIN_DT , A.END_DT , A.GPCH_RP_SEQUENCE , A.PAY_ENTITY , A.DEPTID , A.STATUS , A.LANG_CD , A.GPCH_RP_DEPT1 , A.GPCH_RP_DEPT2 , A.GPCH_RP_DEPT3 , A.GPCH_RP_DEPT4 , A.GPCH_RP_DEPT5 , A.GPCH_RP_LOC1 , A.GPCH_RP_LOC2 , A.GPCH_RP_LOC3 , A.GPCH_RP_LOC4 , A.GPCH_RP_LOC5 , A.GPCH_RP_FROMDT1 , A.GPCH_RP_FROMDT2 , A.GPCH_RP_FROMDT3 , A.GPCH_RP_FROMDT4 , A.GPCH_RP_FROMDT5 , A.GPCH_RP_TODT1 , A.GPCH_RP_TODT2 , A.GPCH_RP_TODT3 , A.GPCH_RP_TODT4 , A.GPCH_RP_TODT5 , A.GPCH_RP_ADDR1 , A.GPCH_RP_ADDR2 , A.GPCH_RP_ADDR3 , A.GPCH_RP_ADDR4 , A.GPCH_RP_ADDR5 , A.GPCH_RP_ADDR6 , A.GPCH_RP_ADDR7 , A.GPCH_RP_YR , A.NATIONAL_ID , A.GPCH_RC_DESCR , A.GPCH_RC_DESCR3 , A.GPCH_RC_DESCR4 , A.PHONE , A.SOURCE_IND , A.GPCH_RP_AMOUNT1 , A.GPCH_RP_AMOUNT2 , A.GPCH_RP_AMOUNT3 , A.GPCH_RP_AMOUNT4 , A.GPCH_RP_AMOUNT5 , A.GPCH_RP_AMOUNT6 , A.GPCH_RP_AMOUNT7 , A.GPCH_RP_AMOUNT8 , A.GPCH_RP_AMOUNT9 , A.GPCH_RP_AMOUNT10 , A.GPCH_RP_AMOUNT11 , A.GPCH_RP_AMOUNT12 , A.GPCH_RP_AMOUNT13 , A.GPCH_RP_AMOUNT14 , A.GPCH_RP_AMOUNT15 , A.GPCH_RP_AMOUNT16 , A.GPCH_RP_AMOUNT17 , A.GPCH_RP_AMOUNT18 , A.GPCH_RP_AMOUNT19 , A.GPCH_RP_AMOUNT20 , A.GPCH_RP_AMOUNT21 , A.GPCH_RP_AMOUNT22 , A.GPCH_RP_AMOUNT23 , A.GPCH_RP_AMOUNT24 , A.GPCH_RP_AMOUNT25 , A.GPCH_RP_AMOUNT26 , A.GPCH_RP_AMOUNT27 , A.GPCH_RP_AMOUNT28 , A.GPCH_RP_AMOUNT29 , A.GPCH_RP_AMOUNT30 , A.GPCH_RP_AMOUNT31 , A.GPCH_RP_AMOUNT32 , A.GPCH_RP_AMOUNT33 , A.GPCH_RP_AMOUNT34 , A.GPCH_RP_AMOUNT35 , A.GPCH_RP_AMOUNT36 , A.GPCH_RP_AMOUNT37 , A.GPCH_RP_AMOUNT38 , A.GPCH_RP_AMOUNT39 , A.GPCH_RP_AMOUNT40 , A.GPCH_RP_AMOUNT41 , A.GPCH_RP_AMOUNT42 , A.GPCH_RP_AMOUNT43 , A.GPCH_RP_AMOUNT44 , A.GPCH_RP_AMOUNT45 , A.GPCH_RP_AMOUNT46 , A.GPCH_RP_AMOUNT47 , A.GPCH_RP_AMOUNT48 , A.GPCH_RP_AMOUNT49 FROM PS_GPCH_RP_TX05C A , PS_PERSON_NAME B WHERE A.EMPLID = B.EMPLID AND A.GPCH_RP_SEQUENCE = ( SELECT MAX(C.GPCH_RP_SEQUENCE) FROM PS_GPCH_RP_TX05C C WHERE C.EMPLID = A.EMPLID AND C.EMPL_RCD = A.EMPL_RCD AND C.BEGIN_DT =A.BEGIN_DT AND C.END_DT = A.END_DT AND C.PAY_ENTITY = A.PAY_ENTITY)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERSONAL_DATA

2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
3 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
4 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
5 NAME Character(50) VARCHAR2(50) NOT NULL Name
6 BEGIN_DT Date(10) DATE NOT NULL Begin Date
7 END_DT Date(10) DATE NOT NULL end date
8 GPCH_RP_SEQUENCE Number(8,0) INTEGER NOT NULL Sequence number
9 PAY_ENTITY Character(10) VARCHAR2(10) NOT NULL Pay Entity

Prompt Table: GP_PYENT

10 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
11 STATUS Character(1) VARCHAR2(1) NOT NULL Status Indicator
A=Active
I=Inactive
12 LANG_CD Character(3) VARCHAR2(3) NOT NULL Language Code
CFR=Canadian French
DAN=Danish
DUT=Dutch
ENG=English
ESP=Spanish
FRA=French
GER=German
GRK=Greek
INE=International English
ITA=Italian
JPN=Japanese
KOR=Korean
POR=Portuguese
SVE=Swedish
THA=Thai
ZHS=Simplified Chinese
ZHT=Traditional Chinese
13 GPCH_RP_DEPT1 Character(30) VARCHAR2(30) NOT NULL Department 1
14 GPCH_RP_DEPT2 Character(30) VARCHAR2(30) NOT NULL Department 2
15 GPCH_RP_DEPT3 Character(30) VARCHAR2(30) NOT NULL Department 3
16 GPCH_RP_DEPT4 Character(30) VARCHAR2(30) NOT NULL Department 4
17 GPCH_RP_DEPT5 Character(30) VARCHAR2(30) NOT NULL Department 5
18 GPCH_RP_LOC1 Character(30) VARCHAR2(30) NOT NULL Location 1
19 GPCH_RP_LOC2 Character(30) VARCHAR2(30) NOT NULL Location 2
20 GPCH_RP_LOC3 Character(30) VARCHAR2(30) NOT NULL Location 3
21 GPCH_RP_LOC4 Character(30) VARCHAR2(30) NOT NULL Location 1
22 GPCH_RP_LOC5 Character(30) VARCHAR2(30) NOT NULL Location 5
23 GPCH_RP_FROMDT1 Date(10) DATE From Date 1
24 GPCH_RP_FROMDT2 Date(10) DATE From Date 2
25 GPCH_RP_FROMDT3 Date(10) DATE From Date 3
26 GPCH_RP_FROMDT4 Date(10) DATE From Date 4
27 GPCH_RP_FROMDT5 Date(10) DATE From Date 5
28 GPCH_RP_TODT1 Date(10) DATE To Date 1
29 GPCH_RP_TODT2 Date(10) DATE To Date 2
30 GPCH_RP_TODT3 Date(10) DATE To Date 3
31 GPCH_RP_TODT4 Date(10) DATE To Date 4
32 GPCH_RP_TODT5 Date(10) DATE To Date 5
33 GPCH_RP_ADDR1 Character(100) VARCHAR2(100) NOT NULL Address1
34 GPCH_RP_ADDR2 Character(100) VARCHAR2(100) NOT NULL Address2
35 GPCH_RP_ADDR3 Character(100) VARCHAR2(100) NOT NULL Address3
36 GPCH_RP_ADDR4 Character(100) VARCHAR2(100) NOT NULL Address4
37 GPCH_RP_ADDR5 Character(100) VARCHAR2(100) NOT NULL Address5
38 GPCH_RP_ADDR6 Character(100) VARCHAR2(100) NOT NULL Address6
39 GPCH_RP_ADDR7 Character(100) VARCHAR2(100) NOT NULL Address7
40 GPCH_RP_YR Character(4) VARCHAR2(4) NOT NULL Report Year
41 NATIONAL_ID Character(20) VARCHAR2(20) NOT NULL National ID
42 GPCH_RC_DESCR Character(100) VARCHAR2(100) NOT NULL Signature
43 GPCH_RC_DESCR3 Character(100) VARCHAR2(100) NOT NULL Descr3
44 GPCH_RC_DESCR4 Character(100) VARCHAR2(100) NOT NULL Description
45 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
46 SOURCE_IND Character(1) VARCHAR2(1) NOT NULL Indicates the source of payable time. S - system generated U - User entered O - Offset
O=Offset
S=System Generated
U=User Reported
47 GPCH_RP_AMOUNT1 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
48 GPCH_RP_AMOUNT2 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
49 GPCH_RP_AMOUNT3 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
50 GPCH_RP_AMOUNT4 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
51 GPCH_RP_AMOUNT5 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
52 GPCH_RP_AMOUNT6 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
53 GPCH_RP_AMOUNT7 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
54 GPCH_RP_AMOUNT8 Signed Number(20,6) DECIMAL(18,6) NOT NULL Rate Result Value
55 GPCH_RP_AMOUNT9 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 9
56 GPCH_RP_AMOUNT10 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 10
57 GPCH_RP_AMOUNT11 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 11
58 GPCH_RP_AMOUNT12 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 12
59 GPCH_RP_AMOUNT13 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 13
60 GPCH_RP_AMOUNT14 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 14
61 GPCH_RP_AMOUNT15 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 15
62 GPCH_RP_AMOUNT16 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 16
63 GPCH_RP_AMOUNT17 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 17
64 GPCH_RP_AMOUNT18 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 18
65 GPCH_RP_AMOUNT19 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 19
66 GPCH_RP_AMOUNT20 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 20
67 GPCH_RP_AMOUNT21 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 21
68 GPCH_RP_AMOUNT22 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 22
69 GPCH_RP_AMOUNT23 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 23
70 GPCH_RP_AMOUNT24 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 24
71 GPCH_RP_AMOUNT25 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 25
72 GPCH_RP_AMOUNT26 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 23
73 GPCH_RP_AMOUNT27 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 27
74 GPCH_RP_AMOUNT28 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 28
75 GPCH_RP_AMOUNT29 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 29
76 GPCH_RP_AMOUNT30 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 30
77 GPCH_RP_AMOUNT31 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 31
78 GPCH_RP_AMOUNT32 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 32
79 GPCH_RP_AMOUNT33 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 33
80 GPCH_RP_AMOUNT34 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 34
81 GPCH_RP_AMOUNT35 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 35
82 GPCH_RP_AMOUNT36 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 36
83 GPCH_RP_AMOUNT37 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 37
84 GPCH_RP_AMOUNT38 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount 38
85 GPCH_RP_AMOUNT39 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount39
86 GPCH_RP_AMOUNT40 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount40
87 GPCH_RP_AMOUNT41 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount41
88 GPCH_RP_AMOUNT42 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount42
89 GPCH_RP_AMOUNT43 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount43
90 GPCH_RP_AMOUNT44 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount44
91 GPCH_RP_AMOUNT45 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount45
92 GPCH_RP_AMOUNT46 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount46
93 GPCH_RP_AMOUNT47 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount47
94 GPCH_RP_AMOUNT48 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount48
95 GPCH_RP_AMOUNT49 Signed Number(20,6) DECIMAL(18,6) NOT NULL Amount49