PO_SPND_MPDT_VW(SQL View) |
Index Back |
---|---|
PO Spend History Period ViewPO Spend History Period View |
SELECT A.REPORT_ENTITY , B.BUYER_MANAGER , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , MIN(%NumToChar(A.ACCOUNTING_PERIOD) %Concat '/' %Concat %NumToChar(A.FISCAL_YEAR)) FROM PS_PO_SPND_POD_TTL A , PS_PO_MANAGER_TBL B WHERE A.BUYER_ID = B.BUYER_ID AND EXISTS ( SELECT 'X' FROM PS_PO_SPEND_BUYER C WHERE B.BUYER_MANAGER = C.BUYER_ID AND A.REPORT_ENTITY = C.REPORT_ENTITY) GROUP BY A.REPORT_ENTITY, B.BUYER_MANAGER, A.FISCAL_YEAR , A.ACCOUNTING_PERIOD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | REPORT_ENTITY | Character(5) | VARCHAR2(5) NOT NULL | Reporting Entity ID |
2 | BUYER_ID | Character(30) | VARCHAR2(30) NOT NULL | Buyer |
3 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
4 | ACCOUNTING_PERIOD | Number(3,0) | SMALLINT NOT NULL | Identifies a time period to which you post transactions. Typically, an accounting period represents a month, but it can also represent a week, a day, or any user-defined interval. An accounting period has a beginning date and an ending date, and is defined in the calendar table. |
5 | PRCR_PER_YR | Character(10) | VARCHAR2(10) NOT NULL | Fiscal Year string |