PO_ITM_STG_VW9(SQL View) |
Index Back |
---|---|
Summed by non-consol line |
SELECT PROCESS_INSTANCE , BUSINESS_UNIT , PO_ID , PO_LINE_NBR , PO_STG_TYPE , PO_STG_ID , SUM(QTY_REQ) , SUM(QTY_REQ_STD) FROM PS_PO_ITM_STG_UD WHERE STAGE_STATUS = 'V' AND CONSOLIDATE_FLG = 'N' GROUP BY PROCESS_INSTANCE, BUSINESS_UNIT, PO_ID, PO_LINE_NBR, PO_STG_TYPE, PO_STG_ID |
# | 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 |
3 | PO_ID | Character(10) | VARCHAR2(10) NOT NULL | Purchase Order |
4 | PO_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Purchase Order Line Number |
5 | PO_STG_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
Used in conjunction with PO_STG_ID to make a unique key on the stage tables.
O=Other R=Requisition |
6 | PO_STG_ID | Character(10) | VARCHAR2(10) NOT NULL | Uniqye key to the PO Staging table |
7 | QTY_REQ | Number(16,4) | DECIMAL(15,4) NOT NULL | Requisition Quantity |
8 | QTY_REQ_STD | Number(16,4) | DECIMAL(15,4) NOT NULL | Quantity Requested Stand. UOM |