PC_BU_CAL_WK

(SQL View)
Index Back

Weekly Calendar by BU

Weekly calendar by PC business unit

SELECT D.BUSINESS_UNIT , A.CALENDAR_ID , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , MIN(A.BEGIN_DT) , MAX(A.END_DT) FROM PS_CAL_DETP_TBL A , PS_SET_CNTRL_REC C , PS_BUS_UNIT_TBL_PC D WHERE A.CALENDAR_ID = ( SELECT E.CAL_TYPE_WEEK FROM PS_INSTALLATION_PC E) AND A.SETID = C.SETID AND C.RECNAME = 'CAL_DETP_TBL' AND C.SETCNTRLVALUE = D.BUSINESS_UNIT GROUP BY D.BUSINESS_UNIT , A.CALENDAR_ID , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 CALENDAR_ID Character(2) VARCHAR2(2) NOT NULL Calendar ID
3 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
4 ACCOUNTING_PERIOD Number(3,0) SMALLINT NOT NULL Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table.
5 BEGIN_DT Date(10) DATE Begin Date
6 END_DT Date(10) DATE End Date