PRODKIT_COMP_VW

(SQL View)
Index Back

Product Kit Comp Inv View


SELECT pk.setid , pk.product_id , pk.prod_component_id , pi.inv_item_id , pk.date_in_effect , pk.date_obsolete , pk.dttm_in_effect , pk.dttm_obsolete , pk.qty_per , pk.qty_per , pk.qty_per , pk.qty_code , pk.optional_ship , pk.optional_ship , pk.unit_of_measure , pk.seq_num , m.unit_measure_std , ' ' , 1 , 1 , ' ' , m.inventory_item , M.INV_ITEM_GROUP , T.HARMONIZED_CD , T.COMMODITY_CD , m.promise_option , m.lot_control , 'N' , 'N' , ' ' , 0 , 0 , ' ' , ' ' , ' ' , ' ' , 0 , 0 , ' ' , 0 , 'U' , %DateNull , 0 , 'N' , %DateNull , 0 , 'N' , %DateNull , 0 , 'N' , 0 , 0 FROM PS_MASTER_ITEM_TBL m , ps_prod_item pi , ps_prodkit_comps pk , ps_inv_items_evw t WHERE pk.setid = pi.setid AND pk.prod_component_id = pi.product_id AND m.setid = pi.setid AND m.inv_item_id = pi.inv_item_id AND %Join(COMMON_KEYS, INV_ITEMS_EVW T, MASTER_ITEM_TBL M)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
3 PROD_COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL Product Component ID
4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
5 DATE_IN_EFFECT Date(10) DATE NOT NULL 01/27/2000 RML Added "As of date" label 03/23/2004 SFC Added PRICE_LIST_DATE label 06/04/2004 SFC Added PRODUCT_PRICE_DAT label
6 DATE_OBSOLETE Date(10) DATE NOT NULL Obsolete Date
7 DTTM_IN_EFFECT DateTime(26) TIMESTAMP Effective Date-Time
8 DTTM_OBSOLETE DateTime(26) TIMESTAMP Obsolete Date-Time
9 QTY_PER Number(10,4) DECIMAL(9,4) NOT NULL Quantity
10 ORIG_QTY_PER Number(10,4) DECIMAL(9,4) NOT NULL Quantity
11 QTY_PER_LAST Number(10,4) DECIMAL(9,4) NOT NULL Last qty per value
12 QTY_CODE Character(3) VARCHAR2(3) NOT NULL Per
ASY=Assembly
ORD=Order
13 OPTIONAL_SHIP Character(1) VARCHAR2(1) NOT NULL OK to Ship Without

Y/N Table Edit

14 ORIG_OPT_SHIP Character(1) VARCHAR2(1) NOT NULL OK to Ship Without
15 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
16 SEQ_NUM Number(3,0) SMALLINT NOT NULL Sequence
17 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
18 UNIT_MEASURE_SHIP Character(3) VARCHAR2(3) NOT NULL Shipment Unit of Measure
19 CONVERSION_RT_ORD Signed Number(17,8) DECIMAL(15,8) NOT NULL Order to Std UOM
20 CONVERSION_RT_SHP Signed Number(17,8) DECIMAL(15,8) NOT NULL Ship to Std UOM
21 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator
22 INVENTORY_ITEM Character(1) VARCHAR2(1) NOT NULL Inventory Item
N=No
Y=Yes
23 INV_ITEM_GROUP Character(15) VARCHAR2(15) NOT NULL Item Group
24 HARMONIZED_CD Character(14) VARCHAR2(14) NOT NULL Harmonized Code
25 COMMODITY_CD Character(10) VARCHAR2(10) NOT NULL Commodity Code
26 PROMISE_OPTION Character(1) VARCHAR2(1) NOT NULL Order Promise Option
2=Perform ATP Reservations
27 LOT_CONTROL Character(1) VARCHAR2(1) NOT NULL Lot Control
N=N
Y=Y
28 DEMAND_SENT Character(1) VARCHAR2(1) NOT NULL Demand Sent to INV

Default Value: N

29 DELETE_FLAG Character(1) VARCHAR2(1) NOT NULL Deletion Flag

Default Value: N

30 DELIVERY_ID Character(10) VARCHAR2(10) NOT NULL Delivery ID
31 DELIV_UNIT_VOL Number(16,4) DECIMAL(15,4) NOT NULL Delivery Unit Volume
32 DELIV_UNIT_WT Number(16,4) DECIMAL(15,4) NOT NULL Delivery Unit Weight
33 DELIV_UOM_VOL Character(3) VARCHAR2(3) NOT NULL Delivery Volume UOM
34 DELIV_UOM_WT Character(3) VARCHAR2(3) NOT NULL Delivery Weight UOM
35 DELIV_UOM_SHIP_VOL Character(3) VARCHAR2(3) NOT NULL Ship UOM for volume conversion
36 DELIV_UOM_SHIP_WT Character(3) VARCHAR2(3) NOT NULL Ship UOM for weight conversion
37 DELIV_UNIT_VOL_CNV Number(16,8) DECIMAL(15,8) NOT NULL Unit volume conversion rate
38 DELIV_UNIT_WT_CNV Number(16,8) DECIMAL(15,8) NOT NULL Unit weight conversion rate
39 IN_FULFILL_STATE Character(2) VARCHAR2(2) NOT NULL Inventory Fulfillment State
10=Pending
20=Unfulfilled
30=Releasable
40=Released
50=Confirmed
60=Shipped
70=Depleted
90=Canceled
40 QTY_PROMISED_BASE Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Promised Base
41 PROMISE_STATUS Character(1) VARCHAR2(1) NOT NULL Promise Status
P=Promised
R=Partially promised
U=Unpromised
42 SCHED_SHIP_DATE_1 Date(10) DATE Scheduled Ship Date
43 ATP_QTY_1 Signed Number(17,4) DECIMAL(15,4) NOT NULL ATP Quantity
44 LEAD_TIME_FLAG_1 Character(1) VARCHAR2(1) NOT NULL Lead Time (Days)
45 SCHED_SHIP_DATE_2 Date(10) DATE Scheduled Ship Date
46 ATP_QTY_2 Signed Number(17,4) DECIMAL(15,4) NOT NULL ATP Quantity
47 LEAD_TIME_FLAG_2 Character(1) VARCHAR2(1) NOT NULL Lead Time (Days)
48 SCHED_SHIP_DATE_3 Date(10) DATE Scheduled Ship Date
49 ATP_QTY_3 Signed Number(17,4) DECIMAL(15,4) NOT NULL ATP Quantity
50 LEAD_TIME_FLAG_3 Character(1) VARCHAR2(1) NOT NULL Lead Time (Days)
51 ATP_TOT_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL Quantity
52 ATP_LINE_NBR Number(5,0) INTEGER NOT NULL Line Number