IN_REQ_PEG_VW(SQL View) |
Index Back |
---|---|
Pegging Table06/16/04 EGS: Created. |
SELECT A.BUSINESS_UNIT , A.REQ_ID , A.LINE_NBR , A.SCHED_NBR , A.DISTRIB_LINE_NUM , B.DMD_ORDER_TYPE , B.DEMAND_HASH , B.SUP_ORDER_TYPE , B.SUPPLY_HASH , B.QTY_PEGGED , B.QTY_RECEIVED , B.PEG_STATUS , B.OPRID , B.DT_TIMESTAMP , B.hard_PEG FROM PS_REQ_LN_DISTRIB A , PS_IN_PEGGING B , PS_REQ_HASH C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.REQ_ID = C.REQ_ID AND A.LINE_NBR = C.LINE_NBR AND A.SCHED_NBR = C.SCHED_NBR AND A.DISTRIB_LINE_NUM = C.DISTRIB_LINE_NUM AND B.SUPPLY_HASH = C.HASH_KEY AND B.SUP_ORDER_TYPE = '100' AND B.PEG_STATUS = '10' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | REQ_ID | Character(10) | VARCHAR2(10) NOT NULL | Requisition ID |
3 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | Line Number: 11/24/08 - Added TARGET label [PC product] |
4 | SCHED_NBR | Number(3,0) | SMALLINT NOT NULL | Schedule Number |
5 | DISTRIB_LINE_NUM | Number(5,0) | INTEGER NOT NULL | Distribution Line |
6 | DMD_ORDER_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Used by Pegging Maintenance/Inquiry
030=Transfer Demand 070=Stock Request 090=Sales Order 110=Work Order Inventory 115=WO Non-Inventory 900=Work Order |
7 | DEMAND_HASH | Character(28) | VARCHAR2(28) NOT NULL | 08/11/04 EGS: Created. |
8 | SUP_ORDER_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Used by Pegging Maintenance/Inquiry
010=Purchase 020=Production 035=Transfer Supply 100=Requisition |
9 | SUPPLY_HASH | Character(28) | VARCHAR2(28) NOT NULL | 08/11/04 EGS: Created. |
10 | QTY_PEGGED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | 06/16/04 EGS: Created. |
11 | QTY_RECEIVED | Number(16,4) | DECIMAL(15,4) NOT NULL | Received Qty |
12 | PEG_STATUS | Character(2) | VARCHAR2(2) NOT NULL |
07/21/04 EGS: Created
10=Open 20=Completed 30=Canceled 40=Not Pegged Default Value: 10 |
13 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
14 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
15 | HARD_PEG | Character(1) | VARCHAR2(1) NOT NULL | 09/01/04 EGS: Created |