ITEM_XCH_ORG_VW(SQL View) |
Index Back |
---|---|
Item XREF Charge Org View |
SELECT a.business_unit ,a.common_id ,a.sa_id_type ,a.common_id ,b.item_nbr_charge ,b.item_nbr_payment ,a.account_nbr ,a.account_term ,a.item_type ,f.descr ,a.item_term ,d.descrshort ,a.item_amt ,b.effdt ,b.xref_amt ,b.xref_status ,b.payment_id_nbr ,f.item_type_cd ,b.sf_reversal_ind ,a.contract_emplid FROM ps_item_sf a ,ps_item_xref b ,ps_term_val_tbl d ,ps_bus_unit_tbl_sf e ,PS_ITEM_TYPE_TBL f WHERE a.business_unit=b.business_unit AND a.common_id = b.common_id AND a.sa_id_type = b.sa_id_type AND a.item_nbr=b.item_nbr_charge AND a.item_term=d.strm AND a.business_unit=e.business_unit AND a.item_type=f.item_type AND f.effdt=( SELECT MAX(g.effdt) FROM PS_ITEM_TYPE_TBL g WHERE f.setid=g.setid AND f.item_type=g.item_type AND f.effdt <= %CurrentDateIn AND f.eff_status='A' ) AND f.setid=( SELECT h.setid FROM ps_set_cntrl_rec h WHERE h.setcntrlvalue=e.institution AND h.recname='ITEM_TYPE_TBL') |
# | 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 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
5 | ITEM_NBR | Character(15) | VARCHAR2(15) NOT NULL | Item Nbr |
6 | ITEM_NBR_PAYMENT | Character(15) | VARCHAR2(15) NOT NULL | Item Nbr Payment |
7 | ACCOUNT_NBR | Character(10) | VARCHAR2(10) NOT NULL | Account Nbr |
8 | ACCOUNT_TERM | Character(4) | VARCHAR2(4) NOT NULL | Account Term |
9 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL | Item Type |
10 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
11 | ITEM_TERM | Character(4) | VARCHAR2(4) NOT NULL | Item Term |
12 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
13 | ITEM_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Amount |
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 |
20 | CONTRACT_EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Contract ID |