ITM_CH_PPLN_VW2(SQL View) |
Index Back |
---|---|
Payment Charge Priority View |
SELECT DISTINCT A.BUSINESS_UNIT ,A.COMMON_ID ,A.SA_ID_TYPE ,A.EMPLID ,A.ACCOUNT_NBR ,A.ACCOUNT_TERM ,A.ITEM_NBR ,C.INSTITUTION ,A.ITEM_TERM ,A.ACAD_YEAR ,A.ITEM_BALANCE ,A.APPLIED_AMT ,A.ITEM_AMT ,A.ITEM_TYPE ,A.ITEM_TYPE_CD ,A.REF1_DESCR ,A.ACAD_CAREER ,A.STDNT_CAR_NBR ,A.SESSION_CODE ,A.ACCOUNT_TYPE_SF ,A.EXT_ORG_ID ,A.CONTRACT_EMPLID ,D.CONTRACT_NUM ,A.CURRENCY_CD ,A.ITEM_EFFECTIVE_DT ,' ' FROM PS_ITEM_SF A , PS_ACCT_TYP_TBL_SF B , PS_BUS_UNIT_TBL_SF C , PS_ITEM_XREF D WHERE A.ITEM_AMT > 0 AND A.ITEM_TYPE_CD = 'C' AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.ACCOUNT_TYPE_SF = B.ACCOUNT_TYPE_SF AND A.BUSINESS_UNIT = D.BUSINESS_UNIT AND A.COMMON_ID = D.COMMON_ID AND A.SA_ID_TYPE = D.SA_ID_TYPE AND A.ITEM_NBR = D.ITEM_NBR_CHARGE AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_ITEM_XREF D1 WHERE D1.BUSINESS_UNIT = D.BUSINESS_UNIT AND D1.COMMON_ID = D.COMMON_ID AND D1.SA_ID_TYPE = D.SA_ID_TYPE AND D1.ITEM_NBR_CHARGE = D.ITEM_NBR_CHARGE AND D1.ITEM_NBR_PAYMENT = D.ITEM_NBR_PAYMENT) AND D.EFF_STATUS = 'A' AND B.PMT_PLAN_ACCT_FLG <> 'Y' AND B.SETID = ( SELECT C.SETID FROM PS_SET_CNTRL_REC C WHERE C.SETCNTRLVALUE = A.BUSINESS_UNIT AND C.RECNAME = 'ACCT_TYP_TBL_SF') AND A.ITEM_AMT - A.APPLIED_AMT = 0 AND D.CONTRACT_NUM > ' ' AND D.XREF_AMT > 0 |
# | 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 | INSTITUTION | Character(5) | VARCHAR2(5) NOT NULL | Academic Institution |
9 | ITEM_TERM | Character(4) | VARCHAR2(4) NOT NULL | Item Term |
10 | ACAD_YEAR | Character(4) | VARCHAR2(4) NOT NULL | Academic Year |
11 | ITEM_BALANCE | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Balance |
12 | APPLIED_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Applied Amount |
13 | ITEM_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Amount |
14 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL | Item Type |
15 | 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 |
16 | REF1_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Reference 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 | 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 |