ITEM_XREF_VW

(SQL View)
Index Back

Item XREF Charge View


SELECT a.business_unit ,a.common_id ,a.sa_id_type ,a.common_id ,a.item_nbr ,b.item_nbr_charge ,b.item_nbr_payment ,a.account_nbr ,a.account_term ,a.item_type ,a.item_term ,a.item_amt ,a.contract_num ,b.effdt ,b.xref_amt ,b.xref_status ,b.payment_id_nbr ,a.item_type_cd ,b.sf_reversal_ind FROM PS_ITEM_SF a ,ps_item_xref b WHERE a.business_unit=b.business_unit AND a.common_id = b.common_id AND a.sa_id_type = b.sa_id_type AND b.effdt = ( SELECT MAX(j.effdt) FROM ps_item_xref j WHERE j.business_unit = b.business_unit AND j.common_id = b.common_id AND j.sa_id_type = b.sa_id_type AND j.item_nbr_charge = b.item_nbr_charge AND j.item_nbr_payment = b.item_nbr_payment AND j.eff_status = 'A')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 COMMON_ID Character(11) VARCHAR2(11) NOT NULL Common ID to store Personal ID / Ext Org ID value
3 SA_ID_TYPE Character(1) VARCHAR2(1) NOT NULL ID Type
O=Organization
P=Person
4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 ITEM_NBR Character(15) VARCHAR2(15) NOT NULL Item Nbr
6 ITEM_NBR_CHARGE Character(15) VARCHAR2(15) NOT NULL Item Nbr Charge
7 ITEM_NBR_PAYMENT Character(15) VARCHAR2(15) NOT NULL Item Nbr Payment
8 ACCOUNT_NBR Character(10) VARCHAR2(10) NOT NULL Account Nbr
9 ACCOUNT_TERM Character(4) VARCHAR2(4) NOT NULL Account Term
10 ITEM_TYPE Character(12) VARCHAR2(12) NOT NULL Item Type
11 ITEM_TERM Character(4) VARCHAR2(4) NOT NULL Item Term
12 ITEM_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Amount
13 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
14 XREF_DT Date(10) DATE Item Cross Reference Date
15 XREF_AMT Signed Number(16,2) DECIMAL(14,2) NOT NULL Item Cross Reference Amount
16 XREF_STATUS Character(1) VARCHAR2(1) NOT NULL Xref Status
D=Default
O=Override
R=Refund
U=User Directed Payment
17 PAYMENT_ID_NBR Number(12,0) DECIMAL(12) NOT NULL Payment ID Nbr
18 ITEM_TYPE_CD Character(1) VARCHAR2(1) NOT NULL Item Type Code
A=Application Fee
B=Billing Only
C=Charge
D=Deposit
F=Financial Aid
G=GL Interface Only
H=Withholding
I=Interest
L=Pre-Paid Tuition
P=Payment
R=Refund
T=Transfers
V=Contributor Relations
W=Waiver
X=Write-off
Z=Pay Plan Credit
19 SF_REVERSAL_IND Character(1) VARCHAR2(1) NOT NULL Reversal Indicator