PL_BW_ITSBN_VW

(SQL View)
Index Back

Buyer WB - Itm Spot, Non-Cfg

Item/Spot Buy for non-Configued - Non Supplier Schedule Items

SELECT A.PROBINST , ' ' , A.BUSINESS_UNIT , A.INV_ITEM_ID , ' ' , A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.PLANNER_CD , A.INV_PROD_FAM_CD , A.CATEGORY_ID , A.PLANNED_BY , A.UNIT_MEASURE_STD , A.UTILIZ_CD , A.INV_ITEM_GROUP , A.PRIMARY_BUYER , A.SOURCE_CODE , 'N' , ' ' , A.PL_UNIT_COST , A.INV_QTY , A.SPOT_BUY_FLG FROM PS_PL_ITM_SPOTB_VW A WHERE A.CFG_CODE_OPT = 'N' AND EXISTS ( SELECT 'Y' FROM PS_PL_PURCHASE_OPT P WHERE A.PROBINST = P.PROBINST AND A.BUSINESS_UNIT = P.BUSINESS_UNIT AND A.INV_ITEM_ID = P.INV_ITEM_ID AND A.VENDOR_SETID = P.VENDOR_SETID AND A.VENDOR_ID = P.VENDOR_ID AND A.VNDR_LOC = P.VNDR_LOC)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 PROBINST Character(20) VARCHAR2(20) NOT NULL Optimization Problem Instance

Prompt Table: SP_PRBINS_NONVW

2 SCHED_GROUP_CD Character(6) VARCHAR2(6) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
3 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: %EDITTABLE

4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: %EDITTABLE2

5 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator

Prompt Table: %EDITTABLE5

6 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
7 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
8 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
9 PLANNER_CD Character(12) VARCHAR2(12) NOT NULL Planner Code

Prompt Table: PLANNER_TBL

10 INV_PROD_FAM_CD Character(10) VARCHAR2(10) NOT NULL Family

Prompt Table: %EDITTABLE4

11 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
12 PLANNED_BY Character(1) VARCHAR2(1) NOT NULL Planned By
1=Distribution Planning
2=Master Planning
3=Material Planning
4=Not Planned
13 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
14 UTILIZ_CD Character(4) VARCHAR2(4) NOT NULL Utilization Type

Prompt Table: PL_PI_UTILIZ_VW

15 INV_ITEM_GROUP Character(15) VARCHAR2(15) NOT NULL Item Group

Prompt Table: PL_PI_ITMGRP_VW

16 PRIMARY_BUYER Character(30) VARCHAR2(30) NOT NULL Primary Buyer
17 SOURCE_CODE Character(2) VARCHAR2(2) NOT NULL 8/5/97 lee - inactivated source code 4 - service
1=Make
2=Buy
3=Expense
4=Service
5=Floor Stock
6=Planning
18 SCHED_FLAG Character(1) VARCHAR2(1) NOT NULL Schedule Flag

Y/N Table Edit

Default Value: N

19 PO_SCHED_PRIORITY Character(2) VARCHAR2(2) NOT NULL Schedule Priority
10=High
20=Medium
30=Low
20 PL_UNIT_COST Signed Number(19,4) DECIMAL(17,4) NOT NULL 09/27/02 EGS (CN#PL880-1): Changed to 13.4
21 INV_QTY Signed Number(17,4) DECIMAL(15,4) NOT NULL 08/16/01 EGS (CN#PL900-1.0): Added
22 SPOT_BUY_FLG Character(1) VARCHAR2(1) NOT NULL 10/24/02 EGS (CN#PL880-1): Added

Y/N Table Edit

Default Value: N