PC_RATE_WRK_VW(SQL View) |
Index Back |
---|---|
View of PS_PC_RATEPS_PC_RATE |
SELECT A.BUSINESS_UNIT , A.TEMPLATE_TYPE , A.PC_TEMPLATE_ID , B.RATE_DEF_TYPE , B.DESCR FROM PS_PC_RATE A , PS_PC_RATE_HDR 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 A.EFFDT = ( SELECT MAX(RATE.EFFDT) FROM PS_PC_RATE RATE WHERE RATE.BUSINESS_UNIT = A.BUSINESS_UNIT AND RATE.PC_TEMPLATE_ID = A.PC_TEMPLATE_ID AND RATE.TEMPLATE_TYPE = A.TEMPLATE_TYPE AND RATE.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | 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 |
3 | PC_TEMPLATE_ID | Character(15) | VARCHAR2(15) NOT NULL | Rate Template ID |
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 |