STDNT_ITEM_VW

(SQL View)
Index Back

Student Items View


SELECT DISTINCT Z.BUSINESS_UNIT ,Z.COMMON_ID ,Z.COMMON_ID ,Z.ACCOUNT_NBR ,Z.ACCOUNT_TERM ,Z.ITEM_NBR ,F.INSTITUTION ,Z.ITEM_TERM ,Z.ACAD_YEAR ,Z.ITEM_BALANCE ,Z.APPLIED_AMT ,Z.ITEM_AMT ,Z.ITEM_TYPE ,Z.ITEM_TYPE_CD ,Z.REF1_DESCR ,Z.BILLING_CAREER ,Z.ACAD_CAREER ,Z.STDNT_CAR_NBR ,Z.SESSION_CODE ,Z.ACCOUNT_TYPE_SF ,Z.EXT_ORG_ID ,Z.CONTRACT_EMPLID ,Z.CONTRACT_NUM ,Z.CURRENCY_CD ,Z.ITEM_EFFECTIVE_DT ,D.ITEM_TYPE_GROUP FROM PS_ITEM_SF Z ,PSTREEDEFN A ,PSTREENODE B ,PSTREELEAF C ,PS_ITEM_GROUP_TBL D ,PS_ITEM_GROUP_DTL E ,PS_BUS_UNIT_TBL_SF F WHERE Z.SA_ID_TYPE = 'P' AND Z.BUSINESS_UNIT = F.BUSINESS_UNIT AND A.SETID = B.SETID AND A.SETID = C.SETID AND A.SETID = D.TREE_NAME_SETID AND D.ITEM_TYPE_GROUP = E.ITEM_TYPE_GROUP AND D.SETID = E.SETID AND D.SETID = ( SELECT D1.SETID FROM PS_SET_CNTRL_REC D1 WHERE D1.SETCNTRLVALUE = F.INSTITUTION AND D1.RECNAME = 'ITEM_GROUP_TBL') AND D.EFFDT = E.EFFDT AND D.EFF_STATUS = 'A' AND D.EFFDT= ( SELECT MAX(D2.EFFDT) FROM PS_ITEM_GROUP_TBL D2 WHERE D.SETID = D2.SETID AND D.ITEM_TYPE_GROUP = D2.ITEM_TYPE_GROUP AND D2.EFFDT <= %CurrentDateIn) AND B.TREE_NODE = E.TREE_NODE AND A.VALID_TREE = 'Y' AND A.TREE_NAME = B.TREE_NAME AND A.TREE_NAME = C.TREE_NAME AND A.EFFDT = B.EFFDT AND A.EFFDT = C.EFFDT AND A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PSTREEDEFN A1 WHERE A1.SETID = A.SETID AND A1.TREE_NAME = A.TREE_NAME AND A1.EFFDT <= %CurrentDateIn) AND C.TREE_NODE_NUM = B.TREE_NODE_NUM AND Z.ITEM_TYPE >= C.RANGE_FROM AND Z.ITEM_TYPE <= C.RANGE_TO

# 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 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
4 ACCOUNT_NBR Character(10) VARCHAR2(10) NOT NULL Account Nbr
5 ACCOUNT_TERM Character(4) VARCHAR2(4) NOT NULL Account Term
6 ITEM_NBR Character(15) VARCHAR2(15) NOT NULL Item Nbr
7 INSTITUTION Character(5) VARCHAR2(5) NOT NULL Academic Institution
8 ITEM_TERM Character(4) VARCHAR2(4) NOT NULL Item Term
9 ACAD_YEAR Character(4) VARCHAR2(4) NOT NULL Academic Year
10 ITEM_BALANCE Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Balance
11 APPLIED_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Applied Amount
12 ITEM_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Amount
13 ITEM_TYPE Character(12) VARCHAR2(12) NOT NULL Item Type
14 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
15 REF1_DESCR Character(30) VARCHAR2(30) NOT NULL Reference Nbr
16 BILLING_CAREER Character(4) VARCHAR2(4) NOT NULL Billing Career
17 ACAD_CAREER Character(4) VARCHAR2(4) NOT NULL Academic Career
BAC=Bachelor (NLD)
BBL=Vocational Coaching (NLD)
BOL=Vocational Training (NLD)
BUSN=Graduate Business
CNED=Continuing Education
CRED=Semester Credit
EDU=Education (NLD)
EXED=Extended Education
GRAD=Graduate
LAW=Law
MEDS=Medical School
NONA=Non Award
PGRD=Postgraduate
RSCH=Research
TECH=Technical
UENG=Undergraduate Engineering
UGRD=Undergraduate
VAVO=Advanced General Educ. (NLD)
VETM=Veterinary Medicine
18 STDNT_CAR_NBR Number(3,0) SMALLINT NOT NULL Student Career Nbr
19 SESSION_CODE Character(3) VARCHAR2(3) NOT NULL Session
1=Regular Academic Session
10W=10 Week
12W=Twelve Week
4W1=Four Week - First
4W2=Four Week - Second
4W3=Four Week - Third
4W4=Four Week - Fourth
6W1=Six Week - First
6W2=Six Week - Second
8W1=Eight Week - First
8W2=Eight Week - Second
A11=Medical Period 1, 4 Weeks
A12=Medical Period 1, 8 Weeks
A13=Medical Pd 1, 12 Weeks
A21=Medical Period 2, 4 Weeks
A22=Medical Period 2, 8 Weeks
A23=Medical Period 2, 12 Week
FYR=Full Year
MIN=Mini Session
OEE=Open Entry/Open Exit
SM1=Semester 1
SM2=Semester 2
20 ACCOUNT_TYPE_SF Character(3) VARCHAR2(3) NOT NULL Account Type
21 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID
22 CONTRACT_EMPLID Character(11) VARCHAR2(11) NOT NULL Contract ID
23 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
24 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
25 ITEM_EFFECTIVE_DT Date(10) DATE Item Effective Date
26 ITEM_TYPE_GROUP Character(10) VARCHAR2(10) NOT NULL Item Type Group