ITEM_GROUP_VW

(SQL View)
Index Back

Payment Charge Priority View


SELECT DISTINCT Z.BUSINESS_UNIT ,Z.COMMON_ID ,Z.SA_ID_TYPE ,Z.EMPLID ,Z.ACCOUNT_NBR ,Z.ACCOUNT_TERM ,Z.ITEM_NBR ,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.REFUND_NBR ,Z.ACAD_CAREER ,Z.STDNT_CAR_NBR ,Z.SESSION_CODE ,Z.ADM_APPL_NBR ,Z.ACCOUNT_TYPE_SF ,Z.EXT_ORG_ID ,Z.CONTRACT_EMPLID ,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.BUSINESS_UNIT = F.BUSINESS_UNIT AND A.SETID=B.SETID AND A.SETID=C.SETID AND A.SETID = D.TREE_NAME_SETID AND A.TREE_NAME = D.TREE_NAME 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 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 ACCOUNT_NBR Character(10) VARCHAR2(10) NOT NULL Account Nbr
6 ACCOUNT_TERM Character(4) VARCHAR2(4) NOT NULL Account Term
7 ITEM_NBR Character(15) VARCHAR2(15) NOT NULL Item Nbr
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 REFUND_NBR Number(12,0) DECIMAL(12) NOT NULL Refund Nbr
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 ADM_APPL_NBR Character(8) VARCHAR2(8) NOT NULL Application Nbr
21 ACCOUNT_TYPE_SF Character(3) VARCHAR2(3) NOT NULL Account Type
22 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID
23 CONTRACT_EMPLID Character(11) VARCHAR2(11) NOT NULL Contract ID
24 ITEM_TYPE_GROUP Character(10) VARCHAR2(10) NOT NULL Item Type Group