cel view that collects all the fixed date ranges for criteria. (to populate missing rows.)

PO_CUR_FIXG_VW

(SQL View)
Index Back

SELECT DISTINCT A.VENDOR_SETID , A.VENDOR_ID , A.VNDR_LOC , A.ITM_SETID , ' ' , ' ' , ' ' , A.SCHED_GROUP_CD , 'EX' , SCHEDULE_START_DT , %DateAdd(SCHEDULE_START_DT ,J.FIX_FENCE_DAYS-1) , 'FX' , ' ' , ' ' , FIX_UPSIDE_FLG , FIX_UPSIDE_PCT , FIX_DOWNSIDE_FLG , FIX_DOWNSIDE_PCT , FIX_CHECK_BY , %subrec(PO_CAP_FLEX_SBR,A) FROM PS_PO_SSCOLLGRP_VW A , PS_ITM_CAP_GRP_FLX J WHERE A.SCHED_GROUP_CD = J.SCHED_GROUP_CD AND A.VENDOR_SETID = J.VENDOR_SETID AND A.VENDOR_ID = J.VENDOR_ID AND A.VNDR_LOC = J.VNDR_LOC AND A.ITM_SETID = J.SETID AND (J.FIX_UPSIDE_FLG = 'Y' OR J.FIX_DOWNSIDE_FLG = 'Y') AND (A.COLLAB_SCH_STATUS = '10' OR A.COLLAB_SCH_STATUS = '20' OR A.COLLAB_SCH_STATUS = '30')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
4 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
6 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
7 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
8 SCHED_GROUP_CD Character(6) VARCHAR2(6) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
9 ROW_TYPE Character(2) VARCHAR2(2) NOT NULL 01/23/01 SCC CN#WV802-1.0: New Field
10 START_DT Date(10) DATE Start Date
11 END_DATE Date(10) DATE End Date
12 PO_BUY_FLEX_TYPE Character(2) VARCHAR2(2) NOT NULL Flex Period
FM=Firmed
FX=Fixed
13 CATEGORY_CD Character(18) VARCHAR2(18) NOT NULL Category Code
14 PO_SCHED_PRIORITY Character(2) VARCHAR2(2) NOT NULL Schedule Priority
10=High
20=Medium
30=Low
15 UPSIDE_FLG Character(1) VARCHAR2(1) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
16 UPSIDE_PCT Number(6,2) DECIMAL(5,2) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
17 DOWNSIDE_FLG Character(1) VARCHAR2(1) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
18 DOWNSIDE_PCT Number(6,2) DECIMAL(5,2) NOT NULL 04/01/02 SCC CN#WV900-1.0: Supplier Collaboration - New Field
19 CHECK_BY Character(1) VARCHAR2(1) NOT NULL Period Defined by
D=Day
R=Entire Range
20 COLLAB_SCH_STATUS Character(2) VARCHAR2(2) NOT NULL 02/2001 cel WV-802-1.0 - Status of the supplier schedule
01=New
10=Current
20=Dispatched
30=Supplier Approved
40=Previous
50=History
21 DATETIME_COLLAB DateTime(26) TIMESTAMP 02/2001 cel WV-802-1.0. Datetime of when the line was approved by the supplier.
22 DATETIME_DISPATCH DateTime(26) TIMESTAMP 02/2001 cel WV-802-1.0
23 DATETIME_CREATE DateTime(26) TIMESTAMP 02/2001 cel WV-802-1.0.
24 SCHEDULE_START_DT Date(10) DATE 02/2001 cel WV-802-1.0
25 SCHEDULE_END_DT Date(10) DATE 02/2001 cel WV-802-1.0
26 UNIT_MEASURE_VNDR Character(3) VARCHAR2(3) NOT NULL Vendor Unit of Measure
27 DATETIME_APPLY DateTime(26) TIMESTAMP 08/27/01 SCC CN#WV840-1.0: Supplier Collaboration - New Field
28 INCLUDE_PO Character(1) VARCHAR2(1) NOT NULL Include PO Data
N=No
Y=Yes
29 DAYOFTHEWEEK Character(2) VARCHAR2(2) NOT NULL Day of the Week
1=Sunday
2=Monday
3=Tuesday
4=Wednesday
5=Thursday
6=Friday
7=Saturday
30 BUYER_ID_SEL Character(30) VARCHAR2(30) NOT NULL Buyer