RE_LS_PRPT_VW

(SQL View)
Index Back

Leased Property Report


SELECT A.BUSINESS_UNIT ,A.CURRENCY_CD ,A.LS_KEY ,A.LS_NBR ,A.LEASE_NAME ,A.LEASE_START_DT ,A.LEASE_END_DT ,A.LEASE_OBLG ,A.LEASE_STATUS ,A.PRINCIPAL_ID ,A.REGION_CD ,A.TOT_RENT_AREA ,A.SPACE_UOM ,B.PROPERTY_ID ,0 FROM PS_RE_LS A , PS_RE_LS_PPTY B WHERE A.LS_KEY = B.LS_KEY UNION SELECT A.BUSINESS_UNIT ,A.CURRENCY_CD ,A.LS_KEY ,A.LS_NBR ,C.LEASE_NAME ,A.LEASE_START_DT ,A.LEASE_END_DT ,A.LEASE_OBLG ,A.AMND_STATUS ,A.PRINCIPAL_ID ,A.REGION_CD ,A.TOT_RENT_AREA ,A.SPACE_UOM ,B.PROPERTY_ID ,0 FROM PS_RE_LSA A , PS_RE_LSA_PPTY B ,PS_RE_LS C WHERE A.LS_KEY = B.LS_KEY AND C.LS_KEY = A.LS_KEY AND A.AMND_NBR = B.AMND_NBR AND A.AMND_STATUS = '1'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
3 LS_KEY Number(15,0) DECIMAL(15) NOT NULL Lease Key, Unique Key
4 LS_NBR Character(10) VARCHAR2(10) NOT NULL Lease Number, User Enterable or Generated Sequence Number
5 LEASE_NAME Character(60) VARCHAR2(60) NOT NULL Lease Name
6 LEASE_START_DT Date(10) DATE Lease Start Date
7 LEASE_END_DT Date(10) DATE Lease End Date
8 LEASE_OBLG Character(1) VARCHAR2(1) NOT NULL Lease Obligation either Payables or Receivables Lease
1=Payables
2=Receivables
9 LEASE_STATUS Character(1) VARCHAR2(1) NOT NULL Lease Status
1=Pending
2=Active
3=Canceled
4=Disputed
5=Expired
6=Holdover
7=Closed
8=Transferred
10 PRINCIPAL_ID Character(15) VARCHAR2(15) NOT NULL Landlord/Tenant
11 REGION_CD Character(10) VARCHAR2(10) NOT NULL Identifies the Sales Region. Populated on the Item Table to identify the Sales Region the Item is applied to.
12 TOT_RENT_AREA Number(18,3) DECIMAL(17,3) NOT NULL Rentable Area
13 SPACE_UOM Character(3) VARCHAR2(3) NOT NULL Space Unit of measure (Sq Feet or Sq Meters)

Prompt Table: UNITS_TBL

14 PROPERTY_ID Number(10,0) DECIMAL(10) NOT NULL Property ID
15 TREE_LEVEL_NUM Number(3,0) SMALLINT NOT NULL Parent tree level if this is a part of the PSTREEBRANCH record