PRJ_RES_BAL_VW2(SQL View) |
Index Back |
---|---|
View of PS_PC_TLB_BAL_TAO |
SELECT PROCESS_INSTANCE , BUSINESS_UNIT , EMPLID , EMPL_RCD , TRANS_DT , SEQ_NBR , SUM(RESOURCE_QUANTITY) AS RESOURCE_QUANTITY , SUM(RESOURCE_AMOUNT) AS RESOURCE_AMOUNT , SUM(FOREIGN_AMOUNT) AS FOREIGN_AMOUNT FROM PS_PC_TLB_BAL_TAO WHERE SYSTEM_SOURCE = 'BTL' AND PC_DISTRIB_STATUS <> 'X' AND (GL_DISTRIB_STATUS = 'D' OR BI_DISTRIB_STATUS = 'D') GROUP BY PROCESS_INSTANCE, BUSINESS_UNIT, EMPLID, EMPL_RCD, TRANS_DT, SEQ_NBR HAVING ((SUM(RESOURCE_QUANTITY) <> 0) OR (SUM(RESOURCE_AMOUNT) <> 0) OR (SUM(FOREIGN_AMOUNT) <> 0)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PROCESS_INSTANCE | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |
2 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BU_PC_NONVW |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL | Employee ID |
4 | EMPL_RCD | Number(3,0) | SMALLINT NOT NULL | Empl Rcd Nbr |
5 | TRANS_DT | Date(10) | DATE | Transaction Date |
6 | SEQ_NBR | Number(15,0) | DECIMAL(15) NOT NULL | Sequence Number |
7 | RESOURCE_QUANTITY | Signed Number(16,2) | DECIMAL(14,2) NOT NULL | Quantity |
8 | RESOURCE_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Transaction Amount |
9 | FOREIGN_AMOUNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Specifies the monetary amount of a debit or credit (accounting entry line) in the entry currency of the item. The sum of FOREIGN_AMOUNT values on AR lines should equal the ENTRY_AMT on the pending item. |