OMOT_SHIP_VW(SQL View) |
Index Back |
---|---|
Schedules with ShippingSchedules with Shipping Date Initials Issue Description 052704 twh F-KNANN-V59N4 Replace demand table references with IN_DEMAND |
SELECT D.SOURCE_BUS_UNIT , D.ORDER_NO , D.ORDER_INT_LINE_NO , D.SCHED_LINE_NBR , D.DEMAND_LINE_NO , D.INV_ITEM_ID , D.KIT_LINE_NBR , D.BUSINESS_UNIT , D.PARENT_PROD_ID , D.QTY_REQUESTED , D.QTY_ALLOCATED , D.QTY_PICKED , D.QTY_SHIPPED , D.QTY_BACKORDER , B.BILLING_STATUS , B.INVOICE , %DatePart(D.RESERVED_DTTM) , %DatePart(D.PICK_DTTM) , %DatePart(D.SHIP_DTTM) , D.SHIP_ID , D.CARRIER_ID , D.PRO_NUMBER , D.REQUEST_DATE , 'S' , D.UNIT_OF_MEASURE , D.UNIT_MEASURE_SHIP , D.CUST_ID FROM PS_IN_DEMAND D , PS_IN_DEMAND_BI B WHERE D.DEMAND_SOURCE = 'OM' AND D.IN_FULFILL_STATE IN ('50', '60', '70') AND B.BUSINESS_UNIT(+) = D.BUSINESS_UNIT AND B.DEMAND_SOURCE(+) = D.DEMAND_SOURCE AND B.SOURCE_BUS_UNIT(+) = D.SOURCE_BUS_UNIT AND B.ORDER_NO(+) = D.ORDER_NO AND B.ORDER_INT_LINE_NO(+) = D.ORDER_INT_LINE_NO AND B.SCHED_LINE_NBR(+) = D.SCHED_LINE_NBR AND B.INV_ITEM_ID(+) = D.INV_ITEM_ID AND B.DEMAND_LINE_NO(+) = D.DEMAND_LINE_NO |
# | 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 | 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 |
3 | ORDER_INT_LINE_NO | Number(5,0) | INTEGER NOT NULL | Order Line |
4 | SCHED_LINE_NBR | Number(6,0) | INTEGER NOT NULL | Schedule Line Number |
5 | DEMAND_LINE_NO | Number(4,0) | SMALLINT NOT NULL |
Demand Line No
Default Value: 1 |
6 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL |
Item ID
Prompt Table: BU_ITM_INV_VW2 |
7 | KIT_LINE_NBR | Number(3,0) | SMALLINT NOT NULL | Kit Line Number |
8 | BUSINESS_UNIT_IN | Character(5) | VARCHAR2(5) NOT NULL | Inventory Unit |
9 | PARENT_PROD_ID | Character(18) | VARCHAR2(18) NOT NULL | Parent Product Id |
10 | QTY_REQUESTED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Requested |
11 | QTY_ALLOCATED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Allocated quantity |
12 | QTY_PICKED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Picked |
13 | QTY_SHIPPED | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Qty Shipped |
14 | QTY_BACKORDER | Signed Number(17,4) | DECIMAL(15,4) NOT NULL | Backorder Qty |
15 | BILLING_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Billing Status
A=Available B=In Billing C=Contract I=Invoiced N=Not Avail P=In Process S=Staged Default Value: N |
16 | INVOICE | Character(22) | VARCHAR2(22) NOT NULL | Invoice |
17 | RESERVED_DATE | Date(10) | DATE | Date on which a demand line was soft reserved. |
18 | PICK_DATE | Date(10) | DATE | Picked Date |
19 | SHIP_DATE | Date(10) | DATE | Item Shipping Date |
20 | SHIP_ID | Character(10) | VARCHAR2(10) NOT NULL | Shipping ID |
21 | CARRIER_ID | Character(10) | VARCHAR2(10) NOT NULL | Carrier ID |
22 | PRO_NUMBER | Character(40) | VARCHAR2(40) NOT NULL | Pro Number |
23 | REQUEST_DATE | Date(10) | DATE | Requested |
24 | SOURCE_IND | Character(1) | VARCHAR2(1) NOT NULL | Source Indicator |
25 | UNIT_OF_MEASURE | Character(3) | VARCHAR2(3) NOT NULL |
Used on an approval rule set.
MHR=Muti Hourly PER=Percentage SQF=Square Footage |
26 | UNIT_MEASURE_SHIP | Character(3) | VARCHAR2(3) NOT NULL | Shipment Unit of Measure |
27 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |