ITEM_EMPORG_VW

(SQL View)
Index Back

Item Charge Due View


SELECT a.business_unit , a.common_id , a.common_id , a.item_nbr , a.contract_emplid , a.contract_num , c.descr , a.item_amt , a.applied_amt , a.item_type , c.descrshort , a.account_term , a.item_term , a.account_nbr , a.item_balance , c.item_type_cd FROM ps_item_sf a , PS_ITEM_TYPE_TBL c , ps_bus_unit_tbl_sf d WHERE a.business_unit = d.business_unit AND a.sa_id_type = 'O' AND a.item_type = c.item_type AND a.item_amt - a.applied_amt > 0.0 AND c.setid = ( SELECT e.setid FROM ps_set_cntrl_rec e WHERE e.recname = 'ITEM_TYPE_TBL' AND e.setcntrlvalue = d.institution) AND c.effdt = ( SELECT MAX(f.effdt) FROM PS_ITEM_TYPE_TBL f WHERE f.setid = c.setid AND f.item_type = c.item_type AND f.effdt <= %CurrentDateIn AND f.eff_status = 'A')

  • Related Language Record: ITEMEMPORGVWLNG
  • # 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 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID
    4 ITEM_NBR Character(15) VARCHAR2(15) NOT NULL Item Nbr
    5 CONTRACT_EMPLID Character(11) VARCHAR2(11) NOT NULL Contract ID
    6 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
    7 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    8 ITEM_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Amount
    9 APPLIED_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Applied Amount
    10 ITEM_TYPE Character(12) VARCHAR2(12) NOT NULL Item Type
    11 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    12 ACCOUNT_TERM Character(4) VARCHAR2(4) NOT NULL Account Term
    13 STRM Character(4) VARCHAR2(4) NOT NULL Term
    14 ACCOUNT_NBR Character(10) VARCHAR2(10) NOT NULL Account Nbr
    15 ITEM_BALANCE Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Balance
    16 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