ITEM_LINE_SFVW2(SQL View) |
Index Back |
---|
SELECT a.business_unit ,a.common_id ,a.sa_id_type ,a.emplid ,a.ext_org_id ,a.posted_date ,a.item_effective_dt ,a.actual_billing_dt ,a.due_dt ,b.item_type ,d.descr ,b.item_type_cd ,a.item_term ,SUM(a.line_amt) ,0 FROM ps_item_line_sf a , ps_item_sf b , ps_bus_unit_tbl_sf c , PS_ITEM_TYPE_TBL d 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 AND a.business_unit = c.business_unit AND d.item_type = b.item_type AND d.setid = ( SELECT e.setid FROM ps_set_cntrl_rec e WHERE e.setcntrlvalue = c.institution AND e.recname = 'ITEM_TYPE_TBL') AND d.effdt = ( SELECT MAX(f.effdt) FROM PS_ITEM_TYPE_TBL f WHERE f.setid = d.setid AND f.item_type = d.item_type AND f.effdt <= %CurrentDateIn) AND d.eff_status = 'A' GROUP BY a.business_unit ,a.common_id ,a.sa_id_type ,a.emplid ,a.ext_org_id ,a.posted_date ,a.item_effective_dt ,a.actual_billing_dt ,a.due_dt ,b.item_type, d.descr ,b.item_type_cd ,a.item_term |
# | 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 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL | External Org ID |
6 | POSTED_DATE | Date(10) | DATE | Date Posted |
7 | ITEM_EFFECTIVE_DT | Date(10) | DATE | Item Effective Date |
8 | ACTUAL_BILLING_DT | Date(10) | DATE | Actual Billing Date |
9 | DUE_DT | Date(10) | DATE | Due Date |
10 | ITEM_TYPE | Character(12) | VARCHAR2(12) NOT NULL | Item Type |
11 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
12 | 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 |
13 | ITEM_TERM | Character(4) | VARCHAR2(4) NOT NULL | Item Term |
14 | AMOUNT | Signed Number(20,3) | DECIMAL(18,3) NOT NULL | Commuting Allowance Paid Per Cycle. |
15 | AMOUNT_TOTAL | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Amount Total |