CAL_CUR_PER_VW

(SQL View)
Index Back

Current Calendar Period


select c.setid, c.calendar_id, c.fiscal_year, c.accounting_period, d.number_of_periods from ps_cal_defn_tbl d, PS_CAL_DETP_TBL c where c.setid = d.setid and c.calendar_id = d.calendar_id and d.calendar_type = 'D' and %currentdatein between c.begin_dt and c.end_dt

# 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

Prompt Table: CAL_DETL_VW

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 NUMBER_OF_PERIODS Number(3,0) SMALLINT NOT NULL Periods in a Year