PGM_ACTCOSTBUD(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT ,A.PROJECT_ID ,B.FOREIGN_CURRENCY ,SUM(B.FOREIGN_AMOUNT) FROM PS_PC_BUD_PLAN A ,PS_PC_BUD_DETAIL B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PROJECT_ID = B.PROJECT_ID AND A.PC_BUDGET_ID = B.PC_BUDGET_ID AND A.PC_BUD_TYPE = 'C' AND A.PC_BUDGET_STATUS = '1' GROUP BY A.BUSINESS_UNIT,A.PROJECT_ID,B.FOREIGN_CURRENCY |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | PROJECT_ID | Character(15) | VARCHAR2(15) NOT NULL | Project Id ChartField |
3 | FOREIGN_CURRENCY | Character(3) | VARCHAR2(3) NOT NULL | Foreign Currency Code |
4 | 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. |