RE_LPTY_DATA_VW(SQL View) |
Index Back |
---|---|
Asset Property ViewAsset Property View for Tranisition |
SELECT D.LS_KEY , D.ASSET_SEQ_NBR , D.LS_MAP_ID , %Coalesce(B.PROPERTY_ID,0) , D.OCCUPANCY_DT , D.PPTY_RENT_AREA , D.PPTY_USE_AREA , D.BUSINESS_UNIT_AM , D.ASSET_ID , A.DESCR , CASE WHEN (E.PROFILE_ID2 IS NULL OR E.PROFILE_ID2 = ' ') THEN A.PROFILE_ID ELSE E.PROFILE_ID2 END , A.ASSET_TYPE , A.ASSET_SUBTYPE , (%Coalesce ( (SELECT C.LOCATION2 FROM PS_RE_ASSET_LOC_VW C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT_AM AND A.ASSET_ID = C.ASSET_ID ), ' ')) AS LOCATION , (%Coalesce ( (SELECT C.AREA_ID FROM PS_RE_ASSET_LOC_VW C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT_AM AND A.ASSET_ID = C.ASSET_ID ), ' ')) AS AREA_ID , A.TAG_NUMBER , A.SERIAL_ID , A.CAP_NUM , A.CAP_SEQUENCE , D.EST_LIFE , D.COST , D.CURRENCY_CD , %Coalesce(B.PROPERTY_DESCR, ' ') , %Coalesce(B.PROPERTY_NM, ' ') , %Coalesce(B.PROPERTY_CLASS, ' ' ) , %Coalesce(B.PARENT_PROPERTY_ID, 0) , B.SPACE_UOM , D.FMV , D.GUAR_RESIDUAL , D.XFER_OF_OWNERSHIP , D.AMT_PURCHASE_OPT , D.QUANTITY , D.CAP_LEASE_AMT , D.ISNEW_FLAG , D.DST_ALLOC_METHOD , CASE WHEN (E.CATEGORY_2 IS NULL OR E.CATEGORY_2 = ' ') THEN D.CATEGORY ELSE E.CATEGORY_2 END , D.TRANS_CODE , D.PRORATION_RATE , D.ASSET_CLASSIFY , D.ALLOC_IDC , D.STLINE_PRORATE_RT , D.IDC_PRORATION_RATE , D.PB_REVIEW , D.DISCOUNTED_PVLP , D.ADJUSTED_PV_MLP , D.ALLOC_LS_PAYMENTS , D.INITIAL_DIRECT_CST , D.LEASE_INCENTIVE , D.EXISTING_ASSET , D.SUGGESTED_ALLOC , D.CURRENT_LS_PAYMENT , D.PVLP_STLINE_RATE , D.AMOUNT_ALLOC_GUAR , D.RT_EFFDT , D.RATE_MULT , D.RATE_DIV , D.DECREASE_ROU , D.DECREASE_SCOPE_PER , D.RET_ENTERED_AMT , D.RETIRE_QTY , D.RETIRE_CURR_CD , D.PPTY_RETIRE_AREA , D.TXN_REMOVAL_COST , D.REMOVAL_CURR_CD , D.DISPOSAL_CODE , D.CONVENTION , D.TOTAL_AMOUNT_LO , D.TOTAL_AMOUNT_REXP , D.TOTAL_AMOUNT_INC , D.TOTAL_AMT_LO_BSE , D.TOTAL_AMT_REXP_BSE , D.TOTAL_AMT_INC_BSE , D.ASSET_COST_BSE , D.RET_PAY_AMT , D.RET_LO_AMT , D.RET_EXP_AMT , D.RET_INC_AMT , D.RET_REC_AMT , D.RET_GL_AMT , D.RET_PAY_AMT_BSE , D.RET_LO_AMT_BSE , D.RET_EXP_AMT_BSE , D.RET_INC_AMT_BSE , D.RET_REC_AMT_BSE , D.TOT_RET_PAY_AMT , D.TOT_RET_LO_AMT , D.TOT_RET_EXP_AMT , D.TOT_RET_INC_AMT , D.TOT_RET_REM_AMT , D.TOT_RET_LO_AMT_BSE , D.TOT_RET_EX_AMT_BSE , D.TOT_RET_IN_AMT_BSE , D.ADJ_AMOUNT_GA_LS , D.ADJ_AMT_GA_LS_A1 , D.ADJ_AMT_GA_LS_REXP , D.ADJ_AMT_GA_LS_INC , D.TOTAL_AMT_AA_GA_LS , D.TOTAL_AMT_A1_GA_LS , D.TOTAL_AMT_RE_GA_LS , D.TOTAL_AMT_IN_GA_LS , D.CF_SEQNO , D.CF_SEQNO_GL , D.CF_SEQNO_EXP , D.CF_SEQNO_INC , D.CF_SEQNO_REC FROM PS_ASSET_PROPERTY B RIGHT OUTER JOIN PS_ASSET A ON A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.ASSET_ID = B.ASSET_ID LEFT OUTER JOIN PS_RE_LS_PPTY D ON A.ASSET_ID = D.ASSET_ID AND A.BUSINESS_UNIT = D.BUSINESS_UNIT_AM LEFT OUTER JOIN PS_RE_LS_PRFCTG E ON E.BUSINESS_UNIT_AM = D.BUSINESS_UNIT_AM AND E.ASSET_ID = D.ASSET_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LS_KEY | Number(15,0) | DECIMAL(15) NOT NULL | Lease Key, Unique Key |
2 | ASSET_SEQ_NBR | Number(5,0) | INTEGER NOT NULL | Asset Sequence Number |
3 | LS_MAP_ID | Character(12) | VARCHAR2(12) NOT NULL | Field For Lease Map ID |
4 | PROPERTY_ID | Number(10,0) | DECIMAL(10) NOT NULL | Property ID |
5 | OCCUPANCY_DT | Date(10) | DATE | Occupancy Date |
6 | PPTY_RENT_AREA | Number(18,3) | DECIMAL(17,3) NOT NULL | Property Rentable Area |
7 | PPTY_USE_AREA | Number(18,3) | DECIMAL(17,3) NOT NULL | Property Usable Area |
8 | BUSINESS_UNIT_AM | Character(5) | VARCHAR2(5) NOT NULL | AM Business Unit |
9 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
10 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
11 | PROFILE_ID | Character(10) | VARCHAR2(10) NOT NULL | Asset Profile ID |
12 | 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 |
13 | ASSET_SUBTYPE | Character(15) | VARCHAR2(15) NOT NULL | Asset Subtype |
14 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
15 | AREA_ID | Character(10) | VARCHAR2(10) NOT NULL | Area ID |
16 | TAG_NUMBER | Character(12) | VARCHAR2(12) NOT NULL | Tag Number |
17 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
18 | CAP_NUM | Character(15) | VARCHAR2(15) NOT NULL | Capital Acquisition Plan # |
19 | CAP_SEQUENCE | Number(3,0) | SMALLINT NOT NULL | CAP Sequence |
20 | EST_LIFE | Number(6,0) | INTEGER NOT NULL | Estimated Life |
21 | COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Cost |
22 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
23 | PROPERTY_DESCR | Character(50) | VARCHAR2(50) NOT NULL | Property Description |
24 | PROPERTY_NM | Character(50) | VARCHAR2(50) NOT NULL | Used to store an Asset Property Name |
25 | PROPERTY_CLASS | Character(2) | VARCHAR2(2) NOT NULL |
Property Class
10=Site 20=Building 30=Floor 40=Area 50=Space |
26 | PARENT_PROPERTY_ID | Number(10,0) | DECIMAL(10) NOT NULL | Parent Property ID |
27 | SPACE_UOM | Character(3) | VARCHAR2(3) NOT NULL | Space Unit of measure (Sq Feet or Sq Meters) |
28 | FMV | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Fair (Market) Value Amount |
29 | GUAR_RESIDUAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Guaranteed Residual Value |
30 | XFER_OF_OWNERSHIP | Character(1) | VARCHAR2(1) NOT NULL |
Transfer of Ownership
N=No Y=Yes |
31 | AMT_PURCHASE_OPT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Purchase Option |
32 | QUANTITY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Interface |
33 | CAP_LEASE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Capitalized Lease Amount |
34 | ISNEW_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Is New |
35 | DST_ALLOC_METHOD | Character(1) | VARCHAR2(1) NOT NULL |
Distribution Allocation Method
1=Percentage 2=Amount 3=Area 4=None 5=Quantity |
36 | CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Asset Category |
37 | TRANS_CODE | Character(5) | VARCHAR2(5) NOT NULL | Transaction Code |
38 | PRORATION_RATE | Number(14,10) | DECIMAL(13,10) NOT NULL | Proration Rate |
39 | ASSET_CLASSIFY | Character(1) | VARCHAR2(1) NOT NULL |
Field for Lease Classification
C=Finance O=Operating |
40 | ALLOC_IDC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Initial Direct Costs And Other |
41 | STLINE_PRORATE_RT | Number(14,10) | DECIMAL(13,10) NOT NULL | Straightline Proration Rate |
42 | IDC_PRORATION_RATE | Number(14,10) | DECIMAL(13,10) NOT NULL | IDC Proration Rate |
43 | PB_REVIEW | Character(1) | VARCHAR2(1) NOT NULL | Review |
44 | DISCOUNTED_PVLP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Present Value Lease Payments |
45 | ADJUSTED_PV_MLP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Present Value |
46 | ALLOC_LS_PAYMENTS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Allocated Lease Payments |
47 | INITIAL_DIRECT_CST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Initial Direct Cost |
48 | LEASE_INCENTIVE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Lease Incentive |
49 | EXISTING_ASSET | Character(1) | VARCHAR2(1) NOT NULL | Existing Asset |
50 | SUGGESTED_ALLOC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Suggested Allocation |
51 | CURRENT_LS_PAYMENT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Current Lease Payment |
52 | PVLP_STLINE_RATE | Number(14,10) | DECIMAL(13,10) NOT NULL | PVLP Straightline Proration Rt |
53 | AMOUNT_ALLOC_GUAR | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Allocated Guar Residual |
54 | RT_EFFDT | Date(10) | DATE | The effective date for a given item of market rate data. |
55 | RATE_MULT | Signed Number(17,8) | DECIMAL(15,8) NOT NULL | Rate Multiplier |
56 | RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | Rate Divisor |
57 | DECREASE_ROU | Character(1) | VARCHAR2(1) NOT NULL | Decrease In ROU |
58 | DECREASE_SCOPE_PER | Number(14,10) | DECIMAL(13,10) NOT NULL | Renewal % Increase |
59 | RET_ENTERED_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Retire Amount |
60 | RETIRE_QTY | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Retire Quantity |
61 | RETIRE_CURR_CD | Character(3) | VARCHAR2(3) NOT NULL | Retire Currency |
62 | PPTY_RETIRE_AREA | Number(18,3) | DECIMAL(17,3) NOT NULL | Retire Rentable Area |
63 | TXN_REMOVAL_COST | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Removal Cost |
64 | REMOVAL_CURR_CD | Character(3) | VARCHAR2(3) NOT NULL | Removal Cost Currency |
65 | DISPOSAL_CODE | Character(1) | VARCHAR2(1) NOT NULL |
Retirement Type
A=Abandonment C=Cannibalize for Other Assets D=Disappeared Assets E=Expensed F=Disposal Due to Theft I=Returned to Inventory L=Like Kind Exchange M=Missing Asset N=Donated to External Group O=ARO Settlement R=Scrapped Assets S=Retirement by Sale T=Traded In for another Asset V=Auto-Retire Fully Depr Assets Y=Casualty Loss |
66 | CONVENTION | Character(2) | VARCHAR2(2) NOT NULL | Book Depreciation Convention or Cost Convention |
67 | TOTAL_AMOUNT_LO | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Lease Oblig Amount |
68 | TOTAL_AMOUNT_REXP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Lease Oblig Amount |
69 | TOTAL_AMOUNT_INC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Lease Oblig Amount |
70 | TOTAL_AMT_LO_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Lease Oblig Amount |
71 | TOTAL_AMT_REXP_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Lease Oblig Amount |
72 | TOTAL_AMT_INC_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Lease Oblig Amount |
73 | ASSET_COST_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Asset Cost in Base Currency |
74 | RET_PAY_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
75 | RET_LO_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
76 | RET_EXP_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | |
77 | RET_INC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Retire Incentive Amount |
78 | RET_REC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
79 | RET_GL_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
80 | RET_PAY_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
81 | RET_LO_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Retire Amount in Base Currency |
82 | RET_EXP_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Retire Amount in Base Currency |
83 | RET_INC_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Retire Amount in Base Currency |
84 | RET_REC_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
85 | TOT_RET_PAY_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
86 | TOT_RET_LO_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
87 | TOT_RET_EXP_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Retire Expense Amount |
88 | TOT_RET_INC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Retire Incentive Amount |
89 | TOT_RET_REM_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
90 | TOT_RET_LO_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | LO Retire Amount |
91 | TOT_RET_EX_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Retire Expense Amount |
92 | TOT_RET_IN_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Total Retire Incentive Amount |
93 | ADJ_AMOUNT_GA_LS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gain or Loss Adjustment |
94 | ADJ_AMT_GA_LS_A1 | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gain Or Loss |
95 | ADJ_AMT_GA_LS_REXP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gain or Loss Adjustment |
96 | ADJ_AMT_GA_LS_INC | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gain or Loss Adjustment |
97 | TOTAL_AMT_AA_GA_LS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | |
98 | TOTAL_AMT_A1_GA_LS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gain or Loss |
99 | TOTAL_AMT_RE_GA_LS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | |
100 | TOTAL_AMT_IN_GA_LS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | |
101 | CF_SEQNO | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
102 | CF_SEQNO_GL | Number(6,0) | INTEGER NOT NULL | ChartField Sequence |
103 | CF_SEQNO_EXP | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
104 | CF_SEQNO_INC | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
105 | CF_SEQNO_REC | Number(6,0) | INTEGER NOT NULL | Chartfield Seq No Reclass |