SPR_EXPCYRST_VW(SQL View) |
Index Back |
---|---|
Expense Life Cycle by AccountsPro Expense Life Cycle by Account Chart View |
SELECT A.OPRID ,A.BUSINESS_UNIT ,A.WO_CLIID ,A.SPR_METRIC_CD ,B.DESCR ,A.SPR_BILL_ID ,A.SPR_BILL_TYPE ,SUM(A.SPR_TOTAL_AMT) ,A.CURRENCY_CD FROM PS_SPR_EXPCYC_FACT A ,PS_SPB_METRIC_DFN B ,PS_SPR_EMPLID_DIM C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND C.OPRID = A.OPRID AND A.SPR_METRIC_CD = B.SPB_METRIC_CODE AND A.SPR_METRIC_CD IN ('ENT', 'SUB', 'APR', 'INA', 'ISA', 'INP', 'PRO') GROUP BY A.OPRID, A.BUSINESS_UNIT ,A.WO_CLIID, A.SPR_METRIC_CD, B.DESCR, A.SPR_BILL_ID,A.SPR_BILL_TYPE,A.CURRENCY_CD |
# | 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 | WO_CLIID | Character(30) | VARCHAR2(30) NOT NULL | Requester |
4 | SPR_METRIC_CD | Character(20) | VARCHAR2(20) NOT NULL | Metic code for sPro Analysis |
5 | SPR_METRIC_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Metric Description Field |
6 | SPR_BILL_ID | Character(10) | VARCHAR2(10) NOT NULL | sPro Billing ID for Analysis - Used to store either Time Sheet ID or Progress Log ID |
7 | SPR_BILL_TYPE | Character(4) | VARCHAR2(4) NOT NULL | sPro Billing Type for Analysis - Either Progress Logs or Time and Expense |
8 | SPR_TOTAL_AMT | Number(27,3) | DECIMAL(26,3) NOT NULL | sPro Total Amount Calculated from Hours Worked |
9 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Default Value: BUS_UNIT_TBL_EX.BASE_CURRENCY Prompt Table: CURRENCY_CD_TBL |