SPR_EXPCYCRR_VW

(SQL View)
Index Back

Expense Life Cycle Detail-Acct

sPro Expense Life Cycle by Account Detailed View

SELECT A.OPRID ,A.BUSINESS_UNIT ,A.PROJ_ROLE ,A.SPR_METRIC_CD ,A.VENDOR_ID ,A.WORK_ORDER_ID ,A.ACCOUNT ,A.DEPTID ,A.PROJECT_ID ,B.NAME ,SUM(A.SPR_TOTAL_AMT ) ,A.CURRENCY_CD ,C.DESCR FROM PS_SPR_EXPCYC_FACT A ,PS_SPR_EMPLID_DIM B ,PS_SPB_METRIC_DFN C ,PS_SPR_EXPCYCRC_VW D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND B.OPRID = A.OPRID AND A.SPR_METRIC_CD = C.SPB_METRIC_CODE AND A.SPR_METRIC_CD = D.SPR_METRIC_CD AND A.OPRID= d.oprid AND A.business_unit= d.business_unit AND A.PROJ_ROLE= D.PROJ_ROLE AND A.SPR_METRIC_CD IN ('ENT', 'SUB', 'APR', 'INA', 'ISA', 'INP', 'PRO') GROUP BY A.OPRID ,A.BUSINESS_UNIT ,A.PROJ_ROLE,A.SPR_METRIC_CD ,A.VENDOR_ID,A.WORK_ORDER_ID,A.ACCOUNT,A.DEPTID ,A.PROJECT_ID ,B.NAME , A.CURRENCY_CD ,C.DESCR

  • Related Language Record: SPR_EXPCYCAR_LV
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
    3 PROJ_ROLE Character(15) VARCHAR2(15) NOT NULL Project Role
    4 SPR_METRIC_CD Character(20) VARCHAR2(20) NOT NULL Metic code for sPro Analysis
    5 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
    6 WORK_ORDER_ID Character(15) VARCHAR2(15) NOT NULL Work Order ID
    7 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
    8 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
    9 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
    10 SP_MANAGER_NAME Character(50) VARCHAR2(50) NOT NULL Requester Name
    11 SPR_TOTAL_AMT Number(27,3) DECIMAL(26,3) NOT NULL sPro Total Amount Calculated from Hours Worked
    12 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

    Default Value: BUS_UNIT_TBL_EX.BASE_CURRENCY

    Prompt Table: CURRENCY_CD_TBL

    13 SPR_METRIC_DESCR Character(30) VARCHAR2(30) NOT NULL Metric Description Field