PC_VP_SET_VW(SQL View) |
Index Back |
---|---|
Rate Set ViewView consists of Rate Sets of template type = R and C |
SELECT A.BUSINESS_UNIT , A.PC_TEMPLATE_ID , A.TEMPLATE_TYPE , A.RATE_DEF_TYPE , A.DESCR , A.CONTRACT_NUM , A.CONTRACT_LINE_NUM FROM PS_PC_RATE_HDR A WHERE A.TEMPLATE_TYPE IN ('R', 'C') AND EXISTS ( SELECT 'X' FROM PS_PC_RATE B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PC_TEMPLATE_ID = B.PC_TEMPLATE_ID AND A.TEMPLATE_TYPE = B.TEMPLATE_TYPE AND B.EFF_STATUS = 'A' AND B.ENABLE_VARIANCE = 'Y') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT_VP | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |
2 | PC_TEMPLATE_ID | Character(15) | VARCHAR2(15) NOT NULL |
Rate Template ID
Prompt Table: PC_RATE_SET |
3 | TEMPLATE_TYPE | Character(3) | VARCHAR2(3) NOT NULL |
Used to identify what document/transaction is associated with a particular template. This is a translate table field whose value is either expense sheet or travel authorization. Cash advances do not use templates.
Projects is using types are R and C.
C=Contract E=Expense Report R=Standard T=Travel Authorization |
4 | RATE_DEF_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Rate Definition Type
B=Billing C=Cost M=Cost / Billing R=Revenue |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL | Contract |
7 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL | Contract Line Num |