RE_LS_AM_IE_VW

(SQL View)
Index Back

Lease Interest for Depr Close

View to get the Lease Interest expense for the depreciation close process

SELECT A.TERM_SCHED_ID , A.SEQ_NUM , A.SCHED_TYPE , A.ASSET_SEQ_NBR , A.ASSET_CLASSIFY , A.BUSINESS_UNIT , A.ASSET_ID , A.LS_KEY , A.LS_CLASSIFICATION , A.AMND_NBR , 'N' , 'N' , A.TRANS_DT , A.ACCOUNTING_DT , A.SCHED_DATE , A.PYMNT_DT , A.FIRST_PYMNT_SW , A.INT_WITH_AP_BI , A.PRORATE_LS_EXP , A.DST_ALLOC_METHOD , A.PERCENTAGE , A.CF_SEQNO , A.CF_SEQNO_EXP , A.CURRENCY_CD , A.INTEREST_EXPENSE , A.INTEREST_ACCRUAL , A.AMORTIZATION_AMT , A.INTRST_EXPENSE_BSE , A.INTRST_ACCRUAL_BSE , A.AMORTIZ_AMT_BSE , A.LO_INTRST_AMT_BSE , A.LO_INTRST_ACCR_BSE FROM PS_RE_LS_AM_MIE_VW A UNION ALL SELECT B.TERM_SCHED_ID , B.SEQ_NUM , B.SCHED_TYPE , B.ASSET_SEQ_NBR , B.ASSET_CLASSIFY , B.BUSINESS_UNIT , B.ASSET_ID , B.LS_KEY , B.LS_CLASSIFICATION , B.AMND_NBR , 'Y' , B.LEASE_EXPIRED_FLG , B.TRANS_DT , B.ACCOUNTING_DT , B.SCHED_DATE , B.PYMNT_DT , B.FIRST_PYMNT_SW , B.INT_WITH_AP_BI , B.PRORATE_LS_EXP , B.DST_ALLOC_METHOD , B.PERCENTAGE , B.CF_SEQNO , B.CF_SEQNO_EXP , B.CURRENCY_CD , B.INTEREST_EXPENSE , B.INTEREST_ACCRUAL , B.AMORTIZATION_AMT , B.INTRST_EXPENSE_BSE , B.INTRST_ACCRUAL_BSE , B.AMORTIZ_AMT_BSE , B.LO_INTRST_AMT_BSE , B.LO_INTRST_ACCR_BSE FROM PS_RE_LS_AM_PIE_VW B UNION ALL SELECT C.TERM_SCHED_ID , C.SEQ_NUM , C.SCHED_TYPE , C.ASSET_SEQ_NBR , C.ASSET_CLASSIFY , C.BUSINESS_UNIT , C.ASSET_ID , C.LS_KEY , C.LS_CLASSIFICATION , C.AMND_NBR , 'N' , 'N' , C.TRANS_DT , C.ACCOUNTING_DT , C.SCHED_DATE , C.PYMNT_DT , C.FIRST_PYMNT_SW , ' ' , C.PRORATE_LS_EXP , C.DST_ALLOC_METHOD , C.PERCENTAGE , C.CF_SEQNO , C.CF_SEQNO , C.CURRENCY_CD , C.INTEREST_EXPENSE , C.INTEREST_ACCRUAL , C.AMORTIZATION_AMT , C.INTRST_EXPENSE_BSE , C.INTRST_ACCRUAL_BSE , C.AMORTIZ_AMT_BSE , 0 , 0 FROM PS_RE_LS_AA_RND_VW C

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 TERM_SCHED_ID Number(30,0) DECIMAL(30) NOT NULL Lease Term Schedule ID
2 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
3 SCHED_TYPE Character(1) VARCHAR2(1) NOT NULL Schedule Type
C=Capital Interim Rent
I=Interim Rent
N=Normal Rent
R=Reversal Normal Rent
S=Reversal Interim Rent
T=Reversal Capital Interim
X=Normal Rent Reverted
Y=Interim Reverted
Z=Capital Interim Reverted

Default Value: N

4 ASSET_SEQ_NBR Number(5,0) INTEGER NOT NULL Asset Sequence Number
5 ASSET_CLASSIFY Character(1) VARCHAR2(1) NOT NULL Field for Lease Classification
C=Finance
O=Operating
6 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
7 ASSET_ID Character(12) VARCHAR2(12) NOT NULL Asset Identification
8 LS_KEY Number(15,0) DECIMAL(15) NOT NULL Lease Key, Unique Key
9 LS_CLASSIFICATION Character(1) VARCHAR2(1) NOT NULL Field for Lease Classification
C=Finance
O=Operating
10 AMND_NBR Number(3,0) SMALLINT NOT NULL Amendment Number
11 PLP_FLG Character(1) VARCHAR2(1) NOT NULL Prior Lease Period Flag
N=No
Y=Yes
12 LEASE_EXPIRED_FLG Character(1) VARCHAR2(1) NOT NULL Lease Expire Flag
13 TRANS_DT Date(10) DATE Transaction Date
14 ACCOUNTING_DT Date(10) DATE The accounting entry construction date for a given transaction (a generic field that crosses multiple
15 SCHED_DATE Date(10) DATE Schedule Date
16 PYMNT_DT Date(10) DATE Payment Date
17 FIRST_PYMNT_SW Character(1) VARCHAR2(1) NOT NULL First Payment Switch
18 INT_WITH_AP_BI Character(1) VARCHAR2(1) NOT NULL Integrate with Accounts Payable
19 PRORATE_LS_EXP Character(1) VARCHAR2(1) NOT NULL Recognize Monthly Expense
20 DST_ALLOC_METHOD Character(1) VARCHAR2(1) NOT NULL Distribution Allocation Method
1=Percentage
2=Amount
3=Area
4=None
5=Quantity
21 PERCENTAGE Signed Number(7,2) DECIMAL(5,2) NOT NULL Percentage
22 CF_SEQNO Number(6,0) INTEGER NOT NULL Chartfield Sequence Number
23 CF_SEQNO_EXP Number(6,0) INTEGER NOT NULL Chartfield Sequence Number
24 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
25 INTEREST_EXPENSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Interest Expense
26 INTEREST_ACCRUAL Signed Number(28,3) DECIMAL(26,3) NOT NULL Interest calculated
27 AMORTIZATION_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Amortization Amount
28 INTRST_EXPENSE_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Interest Expense
29 INTRST_ACCRUAL_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Interest calculated
30 AMORTIZ_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Amortization Amount
31 LO_INTRST_AMT_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Interest Amount for LO
32 LO_INTRST_ACCR_BSE Signed Number(28,3) DECIMAL(26,3) NOT NULL Interest Amount for LO