IN_WODMD_PEG_VW(SQL View) |
Index Back |
---|---|
Pegging Table06/16/04 EGS: Created. |
SELECT MAT.BUSINESS_UNIT , MAT.WO_ID , MAT.WO_TASK_ID , MAT.RES_LN_NBR , MAT.BUSINESS_UNIT_IN , MAT.BUSINESS_UNIT_GL , MAT.ITM_SETID , MAT.INV_ITEM_ID , PEG.DMD_ORDER_TYPE , PEG.DEMAND_HASH , PEG.SUP_ORDER_TYPE , PEG.SUPPLY_HASH , PEG.QTY_PEGGED , PEG.QTY_RECEIVED , PEG.QTY_COMPLETE , PEG.PEG_STATUS , PEG.OPRID , PEG.DT_TIMESTAMP , PEG.HARD_PEG FROM PS_WM_WO_SCHED_MAT MAT , PS_IN_PEGGING PEG , PS_WM_WO_MAT_HASH HSH WHERE MAT.BUSINESS_UNIT=HSH.BUSINESS_UNIT AND MAT.WO_ID=HSH.WO_ID AND MAT.WO_TASK_ID=HSH.WO_TASK_ID AND MAT.RES_LN_NBR=HSH.RES_LN_NBR AND PEG.DEMAND_HASH = HSH.HASH_KEY AND PEG.DMD_ORDER_TYPE = '110' AND PEG.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 | WO_ID | Character(10) | VARCHAR2(10) NOT NULL | Work Order Identification |
3 | WO_TASK_ID | Number(5,0) | INTEGER NOT NULL | Task Number |
4 | RES_LN_NBR | Number(5,0) | INTEGER NOT NULL | Resource Line No. |
5 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit |
6 | BUSINESS_UNIT_GL | Character(5) | VARCHAR2(5) NOT NULL | GL Business Unit |
7 | ITM_SETID | Character(5) | VARCHAR2(5) NOT NULL | Item SetID |
8 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
9 | 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 |
10 | DEMAND_HASH | Character(28) | VARCHAR2(28) NOT NULL | 08/11/04 EGS: Created. |
11 | SUP_ORDER_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Used by Pegging Maintenance/Inquiry
010=Purchase 020=Production 035=Transfer Supply 100=Requisition |
12 | SUPPLY_HASH | Character(28) | VARCHAR2(28) NOT NULL | 08/11/04 EGS: Created. |
13 | QTY_PEGGED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | 06/16/04 EGS: Created. |
14 | QTY_RECEIVED | Number(16,4) | DECIMAL(15,4) NOT NULL | Received Qty |
15 | QTY_COMPLETE | Number(16,4) | DECIMAL(15,4) NOT NULL | Quantity Complete |
16 | 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 |
17 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
18 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
19 | HARD_PEG | Character(1) | VARCHAR2(1) NOT NULL | 09/01/04 EGS: Created |