RE_AM_PRO_OP_VW(SQL View) |
Index Back |
---|---|
Lease Chart Temp View |
SELECT B.LS_KEY , B.AMND_NBR , A.BUSINESS_UNIT , A.ASSET_ID , A.LEASE_ID , A.VENDOR_ID , A.VENDOR_CONTACT , A.LEASE_DT , A.RESPONSIBILITY , A.MRP , A.EXECUTORY_COSTS , A.MLP , A.PV_MLP , A.CAP_LEASE_AMT , A.GUAR_RESIDUAL , A.ACTUAL_RESIDUAL , A.TSFR_OWNERSHIP_FLG , A.RENEWAL_OPTION , A.RENEWAL_PENALTY , A.BPO , A.BPO_PAYMENT , A.IMPLICIT_RATE , A.BORROW_RATE , A.ITC_AMT , A.ITC_TAKEN_YEAR , 'Y' , A.LEASE_TERM , A.FMV , A.EST_LIFE , A.PYMNT_SCHED_ID , A.LEASE_BOOK , A.CAL_DEPR_PD , A.CAL_SETID , D.FISCAL_YEAR , D.ACCOUNTING_PERIOD , B.CF_SEQNO , B.SCHED_DATE , B.INTEREST_EXPENSE , CASE WHEN D.FISCAL_YEAR = C.FISCAL_YEAR AND D.ACCOUNTING_PERIOD = C.ACCOUNTING_PERIOD THEN (B.INTEREST_ACCRUAL * -1) ELSE B.INTEREST_EXPENSE END , 0 , B.AMORTIZATION_AMT , B.INTRST_EXPENSE_BSE , CASE WHEN D.FISCAL_YEAR = C.FISCAL_YEAR AND D.ACCOUNTING_PERIOD = C.ACCOUNTING_PERIOD THEN (B.INTRST_ACCRUAL_BSE * -1) ELSE B.INTRST_EXPENSE_BSE END , 0 , B.AMORTIZ_AMT_BSE , A.CURRENCY_CD , B.SCHED_TYPE , B.CURRENCY_CD , ' ' , B.FIRST_PYMNT_SW , B.ASSET_CLASSIFY , '00' , 1 , 1 , 1 , B.PRORATE_LS_EXP , CASE WHEN D.FISCAL_YEAR = C.FISCAL_YEAR AND D.ACCOUNTING_PERIOD = C.ACCOUNTING_PERIOD THEN 'Y' ELSE 'N' END FROM PS_LEASE_CHART1_VW A , PS_RE_LS_AM_MIE_VW B , PS_CAL_DETP_TBL C , PS_CAL_DETP_TBL D WHERE A.BUSINESS_UNIT=B.BUSINESS_UNIT AND A.ASSET_ID =B.ASSET_ID AND C.SETID = A.CAL_SETID AND C.CALENDAR_ID = A.CAL_DEPR_PD AND B.PYMNT_DT BETWEEN C.BEGIN_DT AND C.END_DT AND D.SETID = A.CAL_SETID AND D.CALENDAR_ID = A.CAL_DEPR_PD AND B.SCHED_DATE BETWEEN D.BEGIN_DT AND D.END_DT AND B.ASSET_CLASSIFY = 'O' UNION ALL SELECT A.LS_KEY , A.AMND_NBR , A.BUSINESS_UNIT , A.ASSET_ID , A.LEASE_ID , A.VENDOR_ID , A.VENDOR_CONTACT , A.LEASE_DT , A.RESPONSIBILITY , A.MRP , A.EXECUTORY_COSTS , A.MLP , A.PV_MLP , A.CAP_LEASE_AMT , A.GUAR_RESIDUAL , A.ACTUAL_RESIDUAL , A.TSFR_OWNERSHIP_FLG , A.RENEWAL_OPTION , A.RENEWAL_PENALTY , A.BPO , A.BPO_PAYMENT , A.IMPLICIT_RATE , A.BORROW_RATE , A.ITC_AMT , A.ITC_TAKEN_YEAR , A.LEASE_TYPE , A.LEASE_TERM , A.FMV , A.EST_LIFE , A.PYMNT_SCHED_ID , A.LEASE_BOOK , A.CAL_DEPR_PD , A.CAL_SETID , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.CF_SEQNO , A.PYMNT_DT , A.INTEREST_EXPENSE , 0 , A.OBLIGATION_REDUCE , 0 , A.INTRST_EXPENSE_BSE , 0 , A.OBLG_REDUCE_BSE , 0 , A.CURRENCY_CD , 'N' , A.TXN_CURRENCY_CD , A.INT_WITH_AP_BI , 'N' , A.ASSET_CLASSIFY , A.TERM_RENT_TYPE , 1 , 1 , 1 , A.PRORATE_LS_EXP , 'Y' FROM PS_RE_AM_CR_SL1_VW A WHERE A.PRORATE_LS_EXP = 'Y' AND A.ASSET_CLASSIFY = 'O' AND A.TERM_RENT_TYPE NOT IN ('04' ,'09' ,'10') |
# | 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 | AMND_NBR | Number(3,0) | SMALLINT NOT NULL | Amendment Number |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT |
4 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
5 | LEASE_ID | Character(30) | VARCHAR2(30) NOT NULL | Lease ID |
6 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
7 | VENDOR_CONTACT | Character(30) | VARCHAR2(30) NOT NULL | Vendor Contact |
8 | LEASE_DT | Date(10) | DATE | Lease Date |
9 | RESPONSIBILITY | Character(30) | VARCHAR2(30) NOT NULL | Responsibility |
10 | MRP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Minimum Rental Payment |
11 | EXECUTORY_COSTS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Executory Costs |
12 | MLP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Minimum Lease Payment |
13 | PV_MLP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Present Value |
14 | CAP_LEASE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Capitalized Lease Amount |
15 | GUAR_RESIDUAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Guaranteed Residual Value |
16 | ACTUAL_RESIDUAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Actual Residual Value |
17 | TSFR_OWNERSHIP_FLG | Character(1) | VARCHAR2(1) NOT NULL | Transfer Ownership |
18 | RENEWAL_OPTION | Character(1) | VARCHAR2(1) NOT NULL | Bargain Renewal Option |
19 | RENEWAL_PENALTY | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Renewal Payment Penalty |
20 | BPO | Character(1) | VARCHAR2(1) NOT NULL | Bargain Purchase Option |
21 | BPO_PAYMENT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Bargain Purchase Option Paymnt |
22 | IMPLICIT_RATE | Number(8,4) | DECIMAL(7,4) NOT NULL | Implicit Interest Rate |
23 | BORROW_RATE | Number(8,4) | DECIMAL(7,4) NOT NULL | Incremental Borrowing Rate |
24 | ITC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Investment Tax Credit Amount |
25 | ITC_TAKEN_YEAR | Number(4,0) | SMALLINT NOT NULL | ITC Taken Year |
26 | LEASE_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Lease Type
C=Capital O=Operating |
27 | LEASE_TERM | Number(6,0) | INTEGER NOT NULL | Lease Term (Periods) |
28 | FMV | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Fair (Market) Value Amount |
29 | EST_LIFE | Number(6,0) | INTEGER NOT NULL | Estimated Life |
30 | PYMNT_SCHED_ID | Character(2) | VARCHAR2(2) NOT NULL | Payment Schedule ID |
31 | LEASE_BOOK | Character(10) | VARCHAR2(10) NOT NULL | Book used by Lease |
32 | CAL_DEPR_PD | Character(2) | VARCHAR2(2) NOT NULL | Calendar |
33 | CAL_SETID | Character(5) | VARCHAR2(5) NOT NULL | Calendar SetID |
34 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
35 | 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. |
36 | CF_SEQNO | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
37 | PYMNT_DT | Date(10) | DATE | Payment Date |
38 | INTEREST_EXPENSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest Expense |
39 | INTEREST_ACCRUAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest calculated |
40 | OBLIGATION_REDUCE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Obligation Reduction |
41 | AMORTIZATION_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amortization Amount |
42 | INTRST_EXPENSE_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest Expense |
43 | INTRST_ACCRUAL_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest calculated |
44 | OBLG_REDUCE_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Obligation Reduction |
45 | AMORTIZ_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amortization Amount |
46 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
47 | SCHED_PYMNT_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Lease Payment Type
C=Capital Interim Rent I=Interim Rent N=Normal Rent R=Reversal Payment S=Reversal Interim T=Reversal Capital Interim X=Payment Reverted Y=Interim Reverted Z=Capital Interim Reverted |
48 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
49 | INT_WITH_AP_BI | Character(1) | VARCHAR2(1) NOT NULL | Integrate with Accounts Payable |
50 | FIRST_PYMNT_SW | Character(1) | VARCHAR2(1) NOT NULL | First Payment Switch |
51 | ASSET_CLASSIFY | Character(1) | VARCHAR2(1) NOT NULL |
Field for Lease Classification
C=Finance O=Operating |
52 | TERM_RENT_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
List of Rent Type for Transaction Group
00=Residual Value 01=Base Rent 02=Operating Expense 03=Miscellaneous Rent 04=Initial Direct Cost 05=Prepaid Rent 06=Purchase Option 07=Renewal Option 08=Penality Option 09=Lease Incentives 10=Prepaid Rent |
53 | TXN_KEY | Number(30,0) | DECIMAL(30) NOT NULL | Transaction Key |
54 | PRORATION_RATE | Number(14,10) | DECIMAL(13,10) NOT NULL | Proration Rate |
55 | IDC_PRORATION_RATE | Number(14,10) | DECIMAL(13,10) NOT NULL | IDC Proration Rate |
56 | PRORATE_LS_EXP | Character(1) | VARCHAR2(1) NOT NULL | Recognize Monthly Expense |
57 | PAYMENT_ACTION | Character(1) | VARCHAR2(1) NOT NULL | What do I do with payment |