RE_PERIOD_PMPT

(SQL View)
Index Back

Accounting Period Prompt

Accounting Period Prompt - SQL View: Used as Prompt for Accounting Period field in Sales Report Add Page.

SELECT DISTINCT A.SETID , A.CALENDAR_ID , B.LS_NBR , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD ,A.BEGIN_DT ,A.END_DT FROM PS_CAL_DETP_TBL A , PS_RE_LS B WHERE (B.LEASE_START_DT BETWEEN A.BEGIN_DT AND A.END_DT OR A.BEGIN_DT >= B.LEASE_START_DT) AND (B.LEASE_END_DT BETWEEN A.BEGIN_DT AND A.END_DT OR A.END_DT <= B.LEASE_END_DT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CALENDAR_ID Character(2) VARCHAR2(2) NOT NULL Calendar ID
3 LS_NBR Character(10) VARCHAR2(10) NOT NULL Lease Number, User Enterable or Generated Sequence Number
4 FISCAL_YEAR Number(4,0) SMALLINT NOT NULL Fiscal Year
5 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.
6 BEGIN_DT Date(10) DATE Begin Date
7 END_DT Date(10) DATE End Date