RE_AM_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 , b.Lease_Book , b.Cal_depr_pd , b.Cal_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 ,b.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_CHART1_VW b , PS_RE_LS_Ast_pret c ,PS_RE_LSA_PPTY d ,PS_RE_LS e WHERE a.SetID = b.Cal_SetID AND a.Calendar_ID = b.Cal_Depr_Pd AND b.Business_Unit = c.Business_Unit_am AND b.Asset_ID = c.Asset_ID 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 |