CAL_DETP_VW(SQL View) |
Index Back |
---|---|
Detail Calendar View |
SELECT b.setid , b.calendar_id , b.descr , b.calendar_type , b.detail_calendar , b.number_of_periods , a.fiscal_year , a.accounting_period , ((1 * a.fiscal_year * b.number_of_periods) + a.accounting_period) , a.begin_dt , a.end_dt , a.pd_alloc , a.pd_alloc_total , a.period_name , a.period_abbrv FROM PS_CAL_DETP_TBL a , ps_CAL_DEFN_TBL b WHERE b.calendar_type = 'D' AND b.setid = a.setid AND b.calendar_id = a.calendar_id |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Default Value: OPR_DEF_TBL_FS.SETID Prompt Table: SP_SETID_NONVW |
2 | CALENDAR_ID | Character(2) | VARCHAR2(2) NOT NULL | Calendar ID |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | CALENDAR_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Type of Calendar
B=Budget Calendar D=Detail Calendar I=Summary Budget Period Calendar P=Budget Period Calendar S=Summary Calendar T=Promo Mgmt Sales Calendar |
5 | DETAIL_CALENDAR | Character(2) | VARCHAR2(2) NOT NULL | Detail Calendar |
6 | NUMBER_OF_PERIODS | Number(3,0) | SMALLINT NOT NULL | Periods in a Year |
7 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
8 | 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. |
9 | PERIOD_CTR | Number(12,0) | DECIMAL(12) NOT NULL | Period Counter |
10 | BEGIN_DT | Date(10) | DATE | Begin Date |
11 | END_DT | Date(10) | DATE | End Date |
12 | PD_ALLOC | Number(19,15) | DECIMAL(18,15) NOT NULL | Period Allocation |
13 | PD_ALLOC_TOTAL | Number(19,15) | DECIMAL(18,15) NOT NULL | Total Allocation Periods |
14 | PERIOD_NAME | Character(30) | VARCHAR2(30) NOT NULL | Period Name |
15 | PERIOD_ABBRV | Character(3) | VARCHAR2(3) NOT NULL | Abbreviation |