IN_PPRD_ATP_VW

(SQL View)
Index Back

Planned Production Demand

02/01/04 EGS: Created

SELECT A.BUSINESS_UNIT , A.COMPONENT_ID , 'PPRD' , 'D' , 'PL' , A.CONFIG_CODE , A.OP_SEQUENCE , A.QTY_CODE , A.CURR_SCHED_QTY , A.NEW_START_DATE , B.APPROVED_FLG , B.PL_PLAN_STATUS , B.PLAN_FROZEN_FLG ,'40' FROM PS_IN_PLNPRD_COMP A , PS_PL_SF_OP_HEADER B WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SEQ_NBR = B.SEQ_NBR

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 ATP_SOURCE Character(6) VARCHAR2(6) NOT NULL This field is used in the ATP and Availability calculation to determine where the particular source or demand was fetched from. It will store the up-to-6 character mnemonic used in the associated view that fetched the data. For example, if ATP_S_PO_VW was used to fetch purchase order information, this field will contain "PO". If view ATP_D_PROMIS_VW was used to fetch promised demand information, this field will contain "PROMIS".
4 AVAIL_TYPE Character(1) VARCHAR2(1) NOT NULL Availability Type
D=Demand
S=Supply
5 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
6 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator
7 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
8 QTY_CODE Character(3) VARCHAR2(3) NOT NULL Per
ASY=Assembly
ORD=Order
9 QTY_REQUESTED Signed Number(17,4) DECIMAL(15,4) NOT NULL Qty Requested
10 SCHED_DATE Date(10) DATE Schedule Date
11 APPROVED_FLG Character(1) VARCHAR2(1) NOT NULL Approved by Auditor
D=Denied
N=Not Approved
Y=Approved
12 PL_PLAN_STATUS Character(2) VARCHAR2(2) NOT NULL 11/01/01 PCL (CN#PL900-1): Added
05=Planned
15=Firmed
90=Canceled
13 PLAN_FROZEN_FLG Character(1) VARCHAR2(1) NOT NULL 11/01/01 PCL (CN#PL900-1): Updated
N=No
Y=Yes
14 PEG_STATUS Character(2) VARCHAR2(2) NOT NULL 07/21/04 EGS: Created
10=Open
20=Completed
30=Canceled
40=Not Pegged