PC_PM_SUMBIL_VW(SQL View) |
Index Back |
---|---|
MTR Summary Billing |
SELECT S.BUSINESS_UNIT , S.PROJECT_ID , S.ACTIVITY_ID , S.ANALYSIS_TYPE , S.EMPLID , S.RESOURCE_TYPE , S.RESOURCE_CATEGORY , S.RESOURCE_SUB_CAT , S.BI_DISTRIB_STATUS , S.REV_DISTRIB_STATUS , S.ACCOUNTING_DT , S.TRANS_DT , S.JOBCODE , S.UNIT_OF_MEASURE , SUM(S.RESOURCE_QUANTITY) , SUM(S.RESOURCE_AMOUNT) , S.CURRENCY_CD , A.SETID , A.ANALYSIS_GROUP , S.CONTRACT_NUM , S.CONTRACT_LINE_NUM , S.PM_REVIEWED FROM PS_PROJ_RESOURCE S , PS_PROJ_AN_GRP_MAP A , PS_SET_CNTRL_REC SC WHERE S.BUSINESS_UNIT = SC.SETCNTRLVALUE AND SC.RECNAME = 'PROJ_AN_GRP_MAP' AND SC.REC_GROUP_ID = 'PC_01' AND A.SETID = SC.SETID AND A.ANALYSIS_GROUP = 'PMBIL' AND A.ANALYSIS_TYPE = S.ANALYSIS_TYPE GROUP BY S.BUSINESS_UNIT, S.PROJECT_ID, S.ACTIVITY_ID, S.ANALYSIS_TYPE, S.EMPLID, S.RESOURCE_TYPE, S.RESOURCE_CATEGORY, S.RESOURCE_SUB_CAT, S.BI_DISTRIB_STATUS, S.REV_DISTRIB_STATUS, S.ACCOUNTING_DT, S.TRANS_DT, S.JOBCODE, S.UNIT_OF_MEASURE, S.CURRENCY_CD, A.SETID, A.ANALYSIS_GROUP, S.CONTRACT_NUM, S.CONTRACT_LINE_NUM, S.PM_REVIEWED |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |
2 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL |
Project Id ChartField
Prompt Table: PROJECT_VW |
3 | ACTIVITY_ID | Character(15) | VARCHAR2(15) NOT NULL |
Activity ID
Prompt Table: PROJ_ACT_SRCH |
4 | ANALYSIS_TYPE | Character(3) | VARCHAR2(3) NOT NULL | Analysis Type |
5 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
6 | RESOURCE_TYPE | Character(5) | VARCHAR2(5) NOT NULL | Source Type |
7 | RESOURCE_CATEGORY | Character(5) | VARCHAR2(5) NOT NULL | Category |
8 | RESOURCE_SUB_CAT | Character(5) | VARCHAR2(5) NOT NULL | Subcategory |
9 | BI_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Billing Distribution Status
D=Distributed I=Ignore N=Not Distributed P=Priced U=Unbillable/Non-billable W=Billing Worksheet |
10 | REV_DISTRIB_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Revenue Distribution Status
C=Created D=Distributed G=Generated I=Ignore N=Not Distributed |
11 | ACCOUNTING_DT | Date(10) | DATE | The accounting entry construction date for a given transaction (a generic field that crosses multiple |
12 | TRANS_DT | Date(10) | DATE | Transaction Date |
13 | JOBCODE | Character(6) | VARCHAR2(6) NOT NULL | Job Code |
14 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
15 | RESOURCE_QUANTITY | Signed Number(16,2) | DECIMAL(14,2) NOT NULL | Quantity |
16 | AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Amount |
17 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
18 | ANALYSIS_SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
19 | ANALYSIS_GROUP | Character(5) | VARCHAR2(5) NOT NULL | Analysis Group |
20 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
21 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL | Contract Line Num |
22 | PM_REVIEWED | Character(1) | VARCHAR2(1) NOT NULL |
Reviewed
A=All N=Not Reviewed Y=Reviewed |