PYGL_CF_ERN_VW

(SQL View)
Index Back

Earnings GL ChartField View

View for Earnings GL ChartField

SELECT A.COMPANY , A.BUSINESS_UNIT , A.COMPANY_LEVEL_INDC , A.DEPTID , A.JOBCODE , A.POSITION_NBR , A.EMPLID , A.EMPL_RCD , B.PYGL_GROUPNAME , C.ERNCD , A.EFFDT , C.EFFDT , A.EFF_STATUS , B.ACCT_CD FROM PS_PYGL_CF_CPNYLEV A , PS_PYGL_CF_CPNYERN B , PS_PYGL_ACTIVERNMP C WHERE A.COMPANY = B.COMPANY AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.DEPTID = B.DEPTID AND A.JOBCODE = B.JOBCODE AND A.POSITION_NBR = B.POSITION_NBR AND A.EMPLID = B.EMPLID AND A.EMPL_RCD = B.EMPL_RCD AND A.EFFDT = B.EFFDT AND B.COMPANY = C.COMPANY AND B.PYGL_GROUPNAME = C.PYGL_GROUPNAME

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COMPANY Character(3) VARCHAR2(3) NOT NULL Company
2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
3 COMPANY_LEVEL_INDC Character(1) VARCHAR2(1) NOT NULL Mapping Level Indicator for Expense Mapping
A=Employee Level
C=Company Level
D=Department Level
J=Job Code Level
P=Position Level
4 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
5 JOBCODE Character(6) VARCHAR2(6) NOT NULL Job Code
6 POSITION_NBR Character(8) VARCHAR2(8) NOT NULL Position Number
7 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
8 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Rcd Nbr
9 PYGL_GROUPNAME Character(30) VARCHAR2(30) NOT NULL GL Group Name
10 ERNCD Character(3) VARCHAR2(3) NOT NULL Earnings Code
11 EFFDT Date(10) DATE Effective Date

Default Value: %date

12 EFFDT_GL_MAP Date(10) DATE Effective Date of GL Activity Mapping
13 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
14 ACCT_CD Character(25) VARCHAR2(25) NOT NULL Combination Code