ITEM_SF_GRP_VW(SQL View) |
Index Back |
---|---|
Item SF Group View |
SELECT A.BUSINESS_UNIT ,A.COMMON_ID ,A.SA_ID_TYPE ,A.ITEM_NBR ,A.EMPLID ,A.EXT_ORG_ID ,A.ACCOUNT_NBR ,A.ACCOUNT_TERM ,A.ACCOUNT_TYPE_SF ,A.ITEM_TYPE ,A.ITEM_TYPE_CD ,C.ITEM_TYPE_GROUP ,A.ITEM_EFFECTIVE_DT ,B.INSTITUTION ,A.ACAD_CAREER ,A.STDNT_CAR_NBR ,A.ACAD_YEAR ,A.ITEM_TERM ,A.ITEM_BALANCE ,A.APPLIED_AMT ,A.ITEM_AMT ,A.CURRENCY_CD ,A.REF1_DESCR ,A.LATE_FEE_CODE FROM PS_ITEM_SF A ,PS_BUS_UNIT_TBL_SF B ,PS_ITEM_GROUP_TBL C ,PS_ITEM_GROUP_DTL D ,PSTREEDEFN E ,PSTREENODE F ,PSTREELEAF G WHERE B.BUSINESS_UNIT = A.BUSINESS_UNIT AND C.SETID = ( SELECT H.SETID FROM PS_SET_CNTRL_REC H WHERE H.SETCNTRLVALUE = B.INSTITUTION AND H.RECNAME = 'ITEM_GROUP_TBL') AND C.EFFDT = ( SELECT MAX (CC.EFFDT) FROM PS_ITEM_GROUP_TBL CC WHERE CC.SETID = C.SETID AND CC.ITEM_TYPE_GROUP = C.ITEM_TYPE_GROUP AND CC.EFFDT <= %CurrentDateIn) AND C.EFF_STATUS = 'A' AND D.SETID = C.SETID AND D.ITEM_TYPE_GROUP = C.ITEM_TYPE_GROUP AND D.EFFDT = C.EFFDT AND E.TREE_NAME = C.TREE_NAME AND E.EFFDT = ( SELECT MAX (EE.EFFDT) FROM PSTREEDEFN EE WHERE EE.SETID = E.SETID AND EE.TREE_NAME = E.TREE_NAME AND EE.EFFDT <= %CurrentDateIn) AND E.VALID_TREE = 'Y' AND F.SETID = E.SETID AND F.TREE_NAME = E.TREE_NAME AND F.EFFDT = E.EFFDT AND G.SETID = E.SETID AND G.TREE_NAME = E.TREE_NAME AND G.EFFDT = E.EFFDT AND E.SETID = C.TREE_NAME_SETID AND F.TREE_NODE = D.TREE_NODE AND G.TREE_NODE_NUM >= F.TREE_NODE_NUM AND G.TREE_NODE_NUM <= F.TREE_NODE_NUM_END AND A.ITEM_TYPE >= G.RANGE_FROM AND A.ITEM_TYPE <= G.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 | ITEM_NBR | Character(15) | VARCHAR2(15) NOT NULL | Item Nbr |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
6 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
7 | ACCOUNT_NBR | Character(10) | VARCHAR2(10) NOT NULL | Account Nbr |
8 | ACCOUNT_TERM | Character(4) | VARCHAR2(4) NOT NULL | Account Term |
9 | ACCOUNT_TYPE_SF | Character(3) | VARCHAR2(3) NOT NULL | Account Type |
10 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL | Item Type |
11 | 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 |
12 | ITEM_TYPE_GROUP | Character(10) | VARCHAR2(10) NOT NULL | Item Type Group |
13 | ITEM_EFFECTIVE_DT | Date(10) | DATE | Item Effective Date |
14 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
15 | 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 |
16 | STDNT_CAR_NBR | Number(3,0) | SMALLINT NOT NULL | Student Career Nbr |
17 | ACAD_YEAR | Character(4) | VARCHAR2(4) NOT NULL | Academic Year |
18 | ITEM_TERM | Character(4) | VARCHAR2(4) NOT NULL | Item Term |
19 | ITEM_BALANCE | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Balance |
20 | APPLIED_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Applied Amount |
21 | ITEM_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Amount |
22 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
23 | REF1_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Reference Nbr |
24 | LATE_FEE_CODE | Character(6) | VARCHAR2(6) NOT NULL | Late Fee Code |