DMD_CNC_INV_VW3(SQL View) |
Index Back |
---|---|
Cnc/Hold Vw - Return To Vendor08/30/04 tw Updated to use IN_DEMAND. |
SELECT DISTINCT BUSINESS_UNIT , DEMAND_SOURCE , SOURCE_BUS_UNIT , ORDER_NO , ORDER_INT_LINE_NO , SCHED_LINE_NBR , INV_ITEM_ID , SHIP_TO_CUST_ID , LOCATION , %DatePart(SCHED_DTTM) , SCHED_DTTM , HOLD_FLAG , RTV_ID , LAST_PROCESS_INST FROM PS_IN_DEMAND WHERE IN_FULFILL_STATE = '60' AND DEMAND_SOURCE = 'RT' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: SP_BUIN_NONVW |
2 | DEMAND_SOURCE | Character(2) | VARCHAR2(2) NOT NULL |
Demand Source
IN=Material Request OM=Sales Order PL=Planning Requisition PO=Purchase Order PR=Purchasing Requisition RT=Material Return SF=Production Request WM=Work Order |
3 | SOURCE_BUS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Source Bus Unit |
4 | ORDER_NO | Character(10) | VARCHAR2(10) NOT NULL |
Identifies a customer order number that appears as a reference on a receivables pending item.
Date Initials Issue Description
022701 mv SP2 (F-CJORGENS-3) CSR Desktop
Prompt Table: DEMAND_PICK_VW |
5 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
6 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
7 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
8 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
9 | LOCATION | Character(10) | VARCHAR2(10) NOT NULL | Location Code |
10 | SCHED_DATE | Date(10) | DATE | Schedule Date |
11 | SCHED_DTTM | DateTime(26) | TIMESTAMP | 08/16/01 JNW (CN#PL900-1.0): Added |
12 | HOLD_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Hold
N=Hold Y=Hold |
13 | RTV_ID | Character(10) | VARCHAR2(10) NOT NULL | Return To Vendor ID |
14 | LAST_PROCESS_INST | Number(10,0) | DECIMAL(10) NOT NULL | Process Instance |