RS_ED_WEEKS(SQL View) |
Index Back |
|---|---|
Detail Calendar PeriodsAccounting Period definition for Detail Calendars. |
| SELECT A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.BEGIN_DT , A.END_DT FROM %Table(CAL_DETP_TBL) A , %Table(INSTALLATION_PC) B WHERE A.SETID = B.ANALYSIS_SETID AND A.CALENDAR_ID = B.CAL_TYPE_WEEK AND A.BEGIN_DT BETWEEN %DateAdd(%CurrentDateIn,-182) AND %DateAdd(%CurrentDateIn,365) |
| # | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
|---|---|---|---|---|
| 1 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
| 2 | 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. |
| 3 | BEGIN_DT | Date(10) | DATE NOT NULL | Begin Date |
| 4 | END_DT | Date(10) | DATE NOT NULL | End Date |