RE_LS_TOMIG_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.ASSET_ID , B.ASSET_TYPE , B.ASSET_SUBTYPE , A.VENDOR_ID , %Coalesce(D.BUSINESS_UNIT_RE, (CASE WHEN (( SELECT COUNT(1) FROM PS_RE_BUS_UNIT D WHERE D.BUSINESS_UNIT_AM = A.BUSINESS_UNIT) = 1) THEN ( SELECT D.BUSINESS_UNIT FROM PS_RE_BUS_UNIT D WHERE D.BUSINESS_UNIT_AM = A.BUSINESS_UNIT) ELSE ' ' END)) , A.LEASE_COMMENCE_DT , A.EXPIRATION_DT FROM PS_LEASE A , PS_ASSET B LEFT OUTER JOIN PS_RE_MIG_LABU_MAP D ON (D.BUSINESS_UNIT = B.BUSINESS_UNIT AND D.ASSET_ID = B.ASSET_ID) WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID AND NOT EXISTS ( SELECT 1 FROM PS_RE_LS_PPTY C WHERE C.BUSINESS_UNIT_AM = A.BUSINESS_UNIT AND C.ASSET_ID = A.ASSET_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
3 | ASSET_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Asset Type
010=IT Hardware 020=IT Software 040=Equipment 050=Property 060=Fleet 070=Machinery 080=Furniture 090=Facility 100=Intangible 200=Asset Retirement Obligations 999=Other |
4 | ASSET_SUBTYPE | Character(15) | VARCHAR2(15) NOT NULL | Asset Subtype |
5 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
6 | BUSINESS_UNIT_RE | Character(5) | VARCHAR2(5) NOT NULL | RE Business Unit |
7 | LEASE_COMMENCE_DT | Date(10) | DATE | Commencement Date |
8 | LEASE_END_DT | Date(10) | DATE | Lease End Date |