PC_RATE_SET_DEF(SQL View) |
Index Back |
---|---|
Rate Set DefinitionView consists of cost, billing and revenue rate sets of template type = R. |
SELECT A.BUSINESS_UNIT , A.PC_TEMPLATE_ID , A.TEMPLATE_TYPE , A.CONTRACT_NUM , A.CONTRACT_LINE_NUM , B.XLATLONGNAME , A.DESCR FROM PS_PC_RATE_HDR A , PSXLATITEM B WHERE B.FIELDNAME = 'RATE_DEF_TYPE' AND A.RATE_DEF_TYPE = B.FIELDVALUE AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PSXLATITEM D WHERE B.FIELDNAME = D.FIELDNAME AND B.FIELDVALUE = D.FIELDVALUE AND D.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_PC.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_ALL |
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 | CONTRACT_NUM | Character(25) | VARCHAR2(25) NOT NULL |
Contract
Prompt Table: CA_CNTR_OPEN_VW |
5 | CONTRACT_LINE_NUM | Number(3,0) | SMALLINT NOT NULL |
Contract Line Num
Prompt Table: CA_DETAIL_VW1 |
6 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |