HCSC_BU_LOC_VW(SQL View) |
Index Back |
---|---|
Business Unit LocationView to get Location for a given Business Unit |
SELECT BU.BUSINESS_UNIT , LOC.LOCATION , LOC.EFFDT ,LOC.DESCR FROM PS_LOCATION_TBL LOC , PS_SET_CNTRL_GROUP CTL , PS_BUS_UNIT_TBL_HR BU WHERE CTL.SETCNTRLVALUE = BU.DEFAULT_SETID AND CTL.REC_GROUP_ID IN ( SELECT S.REC_GROUP_ID FROM PS_REC_GROUP_REC S WHERE S.RECNAME = 'LOCATION_TBL') AND CTL.SETID = LOC.SETID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |