SPR_EXPCYCAR_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.ACCOUNT ,A.SPR_METRIC_CD ,A.DEPTID ,A.TE_APPROVER ,A.PROJECT_ID ,A.PROJ_ROLE ,A.VENDOR_ID ,A.WORK_ORDER_ID ,B.NAME ,C.DESCR ,SUM(A.SPR_TOTAL_AMT) ,A.CURRENCY_CD FROM PS_SPR_EXPCYC_FACT A ,PS_SPR_EMPLID_DIM B ,PS_SPB_METRIC_DFN C ,PS_SPR_EXPCYCAC_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.OPRID= D.OPRID AND A.BUSINESS_UNIT= D.BUSINESS_UNIT AND A.ACCOUNT= D.ACCOUNT AND A.SPR_METRIC_CD= D.SPR_METRIC_CD AND A.SPR_METRIC_CD IN ('ENT', 'SUB', 'APR', 'INA', 'ISA', 'INP', 'PRO') GROUP BY A.OPRID ,A.BUSINESS_UNIT ,A.ACCOUNT,A.SPR_METRIC_CD ,A.DEPTID ,A.TE_APPROVER ,A.PROJECT_ID ,A.PROJ_ROLE,A.VENDOR_ID ,A.WORK_ORDER_ID ,B.NAME ,C.DESCR, A.CURRENCY_CD

  • 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 ACCOUNT Character(10) VARCHAR2(10) NOT NULL Account
    4 SPR_METRIC_CD Character(20) VARCHAR2(20) NOT NULL Metic code for sPro Analysis
    5 DEPTID Character(10) VARCHAR2(10) NOT NULL Department
    6 TE_APPROVER Character(30) VARCHAR2(30) NOT NULL Time Approver
    7 PROJECT_ID Character(15) VARCHAR2(15) NOT NULL Project Id ChartField
    8 PROJ_ROLE Character(15) VARCHAR2(15) NOT NULL Project Role
    9 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
    10 WORK_ORDER_ID Character(15) VARCHAR2(15) NOT NULL Work Order ID
    11 SP_MANAGER_NAME Character(50) VARCHAR2(50) NOT NULL Requester Name
    12 SPR_METRIC_DESCR Character(30) VARCHAR2(30) NOT NULL Metric Description Field
    13 SPR_TOTAL_AMT Number(27,3) DECIMAL(26,3) NOT NULL sPro Total Amount Calculated from Hours Worked
    14 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

    Default Value: BUS_UNIT_TBL_EX.BASE_CURRENCY

    Prompt Table: CURRENCY_CD_TBL