RE_PRT_AA_VW(SQL View) |
Index Back |
---|---|
Partial Retirement Entries |
SELECT B.BUSINESS_UNIT , B.ASSET_ID , B.LEASE_ID , B.VENDOR_ID , B.VENDOR_CONTACT , B.LEASE_DT , B.RESPONSIBILITY , B.MRP , B.EXECUTORY_COSTS , B.MLP , B.PV_MLP , B.CAP_LEASE_AMT , B.GUAR_RESIDUAL , B.ACTUAL_RESIDUAL , B.TSFR_OWNERSHIP_FLG , B.RENEWAL_OPTION , B.RENEWAL_PENALTY , B.BPO , B.BPO_PAYMENT , B.IMPLICIT_RATE , B.BORROW_RATE , B.ITC_AMT , B.ITC_TAKEN_YEAR , 'Y' , B.LEASE_TERM , B.FMV , B.EST_LIFE , B.PYMNT_SCHED_ID , B11.LEASE_BOOK , B1.CAL_DEPR_PD , B2.SETID , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , C.TRANS_DT ,0 ,0 ,%DecMult(C.AMOUNT ,-1) ,0 ,0 ,0 ,%DecMult(C.AMOUNT_BSE ,-1) ,0 ,B1.CURRENCY_CD , C.CF_SEQNO , C.CF_SEQNO ,'N' ,D.CURRENCY_CD ,' ' ,' ' ,D.ASSET_CLASSIFY ,CASE WHEN C.TRF_TYPE = 'RE' THEN '04' WHEN C.TRF_TYPE = 'LN' THEN '09' ELSE '00' END ,E.PRORATE_LS_EXP FROM PS_CAL_DETP_TBL A , PS_LEASE B , PS_BU_BOOK_TBL B1 ,PS_BUS_UNIT_TBL_AM B11 , PS_SET_CNTRL_REC B2 , PS_RE_LS_AST_PRET C ,PS_RE_LSA_PPTY D ,PS_RE_LS E WHERE A.SETID = B2.SETID AND A.CALENDAR_ID = B1.CAL_DEPR_PD AND B.BUSINESS_UNIT = C.BUSINESS_UNIT_AM AND B.ASSET_ID = C.ASSET_ID AND B.BUSINESS_UNIT = B1.BUSINESS_UNIT AND B11.LEASE_BOOK = B1.BOOK AND B1.BUSINESS_UNIT = B11.BUSINESS_UNIT AND B2.SETCNTRLVALUE = B.BUSINESS_UNIT AND B2.RECNAME='CAL_DEFN_TBL' AND C.TRANS_DT BETWEEN A.BEGIN_DT AND A.END_DT AND C.LS_KEY = D.LS_KEY AND C.AMND_NBR = D.AMND_NBR AND E.LS_KEY = D.LS_KEY AND C.TRF_TYPE IN ('AA','RE','LN') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT |
2 | ASSET_ID | Character(12) | VARCHAR2(12) NOT NULL | Asset Identification |
3 | LEASE_ID | Character(30) | VARCHAR2(30) NOT NULL | Lease ID |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | VENDOR_CONTACT | Character(30) | VARCHAR2(30) NOT NULL | Vendor Contact |
6 | LEASE_DT | Date(10) | DATE | Lease Date |
7 | RESPONSIBILITY | Character(30) | VARCHAR2(30) NOT NULL | Responsibility |
8 | MRP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Minimum Rental Payment |
9 | EXECUTORY_COSTS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Executory Costs |
10 | MLP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Minimum Lease Payment |
11 | PV_MLP | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Present Value |
12 | CAP_LEASE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Capitalized Lease Amount |
13 | GUAR_RESIDUAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Guaranteed Residual Value |
14 | ACTUAL_RESIDUAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Actual Residual Value |
15 | TSFR_OWNERSHIP_FLG | Character(1) | VARCHAR2(1) NOT NULL | Transfer Ownership |
16 | RENEWAL_OPTION | Character(1) | VARCHAR2(1) NOT NULL | Bargain Renewal Option |
17 | RENEWAL_PENALTY | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Renewal Payment Penalty |
18 | BPO | Character(1) | VARCHAR2(1) NOT NULL | Bargain Purchase Option |
19 | BPO_PAYMENT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Bargain Purchase Option Paymnt |
20 | IMPLICIT_RATE | Number(8,4) | DECIMAL(7,4) NOT NULL | Implicit Interest Rate |
21 | BORROW_RATE | Number(8,4) | DECIMAL(7,4) NOT NULL | Incremental Borrowing Rate |
22 | ITC_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Investment Tax Credit Amount |
23 | ITC_TAKEN_YEAR | Number(4,0) | SMALLINT NOT NULL | ITC Taken Year |
24 | LEASE_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Lease Type
C=Capital O=Operating |
25 | LEASE_TERM | Number(6,0) | INTEGER NOT NULL | Lease Term (Periods) |
26 | FMV | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Fair (Market) Value Amount |
27 | EST_LIFE | Number(6,0) | INTEGER NOT NULL | Estimated Life |
28 | PYMNT_SCHED_ID | Character(2) | VARCHAR2(2) NOT NULL | Payment Schedule ID |
29 | LEASE_BOOK | Character(10) | VARCHAR2(10) NOT NULL | Book used by Lease |
30 | CAL_DEPR_PD | Character(2) | VARCHAR2(2) NOT NULL | Calendar |
31 | CAL_SETID | Character(5) | VARCHAR2(5) NOT NULL | Calendar SetID |
32 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
33 | 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. |
34 | PYMNT_DT | Date(10) | DATE | Payment Date |
35 | INTEREST_EXPENSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest Expense |
36 | INTEREST_ACCRUAL | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest calculated |
37 | OBLIGATION_REDUCE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Obligation Reduction |
38 | AMORTIZATION_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amortization Amount |
39 | INTRST_EXPENSE_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest Expense |
40 | INTRST_ACCRUAL_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Interest calculated |
41 | OBLG_REDUCE_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Obligation Reduction |
42 | AMORTIZ_AMT_BSE | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amortization Amount |
43 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
44 | CF_SEQNO | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
45 | CF_SEQNO_EXP | Number(6,0) | INTEGER NOT NULL | Chartfield Sequence Number |
46 | 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 |
47 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
48 | INT_WITH_AP_BI | Character(1) | VARCHAR2(1) NOT NULL | Integrate with Accounts Payable |
49 | FIRST_PYMNT_SW | Character(1) | VARCHAR2(1) NOT NULL | First Payment Switch |
50 | ASSET_CLASSIFY | Character(1) | VARCHAR2(1) NOT NULL |
Field for Lease Classification
C=Finance O=Operating |
51 | 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 |
52 | PRORATE_LS_EXP | Character(1) | VARCHAR2(1) NOT NULL | Recognize Monthly Expense |