SHIP_SERRECV_VW(SQL View) |
Index Back |
---|---|
Ship Serial Receiving ViewUsed to tie the order keys and interunit id/line keys to get the shipping serial numbers for RMA/Interunit Receiving. Date Initials Issue # Description 052504 twh F-KNANN-V59N4 Replace demand table references with IN_DEMAND |
SELECT S1.BUSINESS_UNIT , S1.DEMAND_SOURCE , S1.SOURCE_BUS_UNIT , S1.ORDER_NO , S1.ORDER_INT_LINE_NO , S1.SCHED_LINE_NBR , S1.INV_ITEM_ID , S1.DEMAND_LINE_NO , S1.SERIAL_ID , S2.INTERUNIT_ID , S2.INTERUNIT_LINE , S1.INV_LOT_ID , S1.STATUS_SERIAL , S1.DT_TIMESTAMP , S1.OPRID FROM PS_SHIP_SERIAL_INV S1 , PS_IN_DEMAND S2 WHERE %Join(COMMON_KEYS, SHIP_SERIAL_INV S1, IN_DEMAND S2) AND in_fulfill_state >= '50' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
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 |
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 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL | Demand Line No |
9 | SERIAL_ID | Character(20) | VARCHAR2(20) NOT NULL | Serial ID |
10 | INTERUNIT_ID | Character(10) | VARCHAR2(10) NOT NULL | InterUnit Order ID |
11 | INTERUNIT_LINE | Number(5,0) | INTEGER NOT NULL | InterUnit Order Line |
12 | INV_LOT_ID | Character(15) | VARCHAR2(15) NOT NULL | Lot ID |
13 | STATUS_SERIAL | Character(1) | VARCHAR2(1) NOT NULL |
Serial Status
1=Unshipped 2=Shipped 3=Returned |
14 | DT_TIMESTAMP | DateTime(26) | TIMESTAMP | Date Timestamp |
15 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |