RE_LS_PRFCTG_VW

(SQL View)
Index Back

Profile& Category record view

Profile& Category record of Leased asset.

SELECT A.BUSINESS_UNIT , A.LS_NBR , B.ASSET_ID , A.LS_KEY , B.BUSINESS_UNIT_AM , A.LEASE_NAME , AT.PROFILE_ID , A1.PROFILE_ID2 AS NEW_PROFILE , B.CATEGORY , A1.CATEGORY_2 AS NEW_CATEGORY , A.REGION_CD , A.LEASE_STATUS , A.PRINCIPAL_ID , A.LEASE_START_DT , A.LEASE_END_DT , A.LS_ADMIN , A.PRTFL_MGR , A.LSE_TYPE_CD , A.RECOGNITION_EXEMPT FROM PS_RE_LS A LEFT OUTER JOIN PS_RE_LS_PPTY B ON A.LS_KEY = B.LS_KEY LEFT OUTER JOIN PS_RE_LS_PRFCTG A1 ON A.LS_KEY = A1.LS_KEY AND A.BUSINESS_UNIT = A1.BUSINESS_UNIT AND B.ASSET_ID = A1.ASSET_ID , PS_ASSET AT WHERE B.BUSINESS_UNIT_AM = AT.BUSINESS_UNIT AND B.ASSET_ID = AT.ASSET_ID AND A.LS_CLASSIFICATION = 'O' AND A.LEASE_OBLG = '1'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BU_RE_NONVW

2 LS_NBR Character(10) VARCHAR2(10) NOT NULL Lease Number, User Enterable or Generated Sequence Number
3 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
4 LS_KEY Number(15,0) DECIMAL(15) NOT NULL Lease Key, Unique Key
5 BUSINESS_UNIT_AM Character(5) VARCHAR2(5) NOT NULL AM Business Unit
6 LEASE_NAME Character(60) VARCHAR2(60) NOT NULL Lease Name
7 PROFILE_ID Character(10) VARCHAR2(10) NOT NULL Asset Profile ID
8 PROFILE_ID2 Character(10) VARCHAR2(10) NOT NULL Asset Profile ID
9 CATEGORY Character(5) VARCHAR2(5) NOT NULL Asset Category
10 CATEGORY_2 Character(5) VARCHAR2(5) NOT NULL Category
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 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
13 PRINCIPAL_ID Character(15) VARCHAR2(15) NOT NULL Landlord/Tenant
14 LEASE_START_DT Date(10) DATE Lease Start Date
15 LEASE_END_DT Date(10) DATE Lease End Date
16 LS_ADMIN Number(10,0) DECIMAL(10) NOT NULL Lease Administrator
17 PRTFL_MGR Number(10,0) DECIMAL(10) NOT NULL Portfolio Manager
18 LSE_TYPE_CD Character(10) VARCHAR2(10) NOT NULL This field contains the code for the Lease Types
19 RECOGNITION_EXEMPT Character(1) VARCHAR2(1) NOT NULL Exempt from Recognition Flag