PO_SCAT_PVG_VW(SQL View) |
Index Back |
---|---|
Top 10 Category Spend |
SELECT A.REPORT_ENTITY , A.BUYER_ID , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.BUSINESS_UNIT , A.PO_ID , A.LINE_NBR , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.BUYER_DESCR , A.NAME1 , A.CATEGORY_CD , SUM(A.MERCHANDISE_AMT) , A.CURRENCY_CD , A.INV_ITEM_ID , A.DESCR254_MIXED , A.MFG_ID , A.MFG_ITM_ID , A.ITM_ID_VNDR , A.PO_DT ,A.CNTRCT_FLAG ,A.SRM_DB_PER_LBL FROM PS_PO_SPEND_PVG A GROUP BY A.CATEGORY_CD , A.REPORT_ENTITY , A.BUYER_ID , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.BUSINESS_UNIT , A.PO_ID , A.LINE_NBR , A.FISCAL_YEAR , A.ACCOUNTING_PERIOD , A.BUYER_DESCR , A.NAME1 , A.CURRENCY_CD , A.INV_ITEM_ID , A.DESCR254_MIXED , A.MFG_ID , A.MFG_ITM_ID , A.ITM_ID_VNDR , A.PO_DT ,A.CNTRCT_FLAG ,A.SRM_DB_PER_LBL |
# | 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 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | VNDR_LOC | Character(10) | VARCHAR2(10) NOT NULL | Vendor Location |
6 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
7 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
8 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
9 | FISCAL_YEAR | Number(4,0) | SMALLINT NOT NULL | Fiscal Year |
10 | 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. |
11 | BUYER_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Buyer Desc |
12 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
13 | CATEGORY_CD | Character(18) | VARCHAR2(18) NOT NULL | Category Code |
14 | MERCHANDISE_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Merchandise Amt F_KDHIL_R87H8 062804 MLM: Added new Line Amount Received Label |
15 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
16 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
17 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
18 | MFG_ID | Character(50) | VARCHAR2(50) NOT NULL | Manufacturer ID |
19 | MFG_ITM_ID | Character(50) | VARCHAR2(50) NOT NULL |
Manufacturer's Item ID
Prompt Table: %EDIT_MFGITM_ID |
20 | ITM_ID_VNDR | Character(50) | VARCHAR2(50) NOT NULL | Vendor Item ID |
21 | PO_DT | Date(10) | DATE | Date |
22 | CNTRCT_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
PO Contract Spend
A=All N=Non PO Contract P=PO Contract |
23 | SRM_DB_PER_LBL | Character(10) | VARCHAR2(10) NOT NULL | Chart Period Label |