APS_WO_PTENP_VW

(SQL View)
Index Back

APS Integ EntWrkOrd Comp Vw


SELECT P.BUSINESS_UNIT , P.PRODUCTION_ID , C.OP_SEQUENCE , C.COMPONENT_ID , C.QTY_PER , C.QTY_CODE , C.YIELD , I.ITM_SETID , P.ORIG_START_DATE ,P.ORIG_END_DATE , P.PROD_STATUS ,P.PRODUCTION_TYPE ,R.WORK_CENTER_CODE , P.NEW_PRDN_QTY , I.UNIT_MEASURE_STD FROM PS_SF_PRDNID_HEADR P , PS_EN_BOM_COMPS C , PS_EN_RTG_OPS R , PS_APS_ITEM_BU_VW I WHERE P.PROD_STATUS = '10' AND I.INV_ITEM_ID = P.INV_ITEM_ID AND C.INV_ITEM_ID = P.INV_ITEM_ID AND R.INV_ITEM_ID = P.INV_ITEM_ID AND I.BUSINESS_UNIT = P.BUSINESS_UNIT AND C.BUSINESS_UNIT = P.BUSINESS_UNIT AND P.BUSINESS_UNIT = R.BUSINESS_UNIT AND C.OP_SEQUENCE = R.OP_SEQUENCE AND R.RTG_CODE = P.RTG_CODE AND R.RTG_TYPE = P.PRODUCTION_TYPE AND R.RTG_STATE = 'PR' AND P.BOM_CODE = C.BOM_CODE AND C.BOM_TYPE = P.PRODUCTION_TYPE AND C.BOM_STATE = 'PR' AND EXISTS ( SELECT 'X' FROM PS_APS_ITEM_BU_VW II WHERE II.INV_ITEM_ID = C.COMPONENT_ID AND II.BUSINESS_UNIT = C.BUSINESS_UNIT AND II.PHANTOM_ITEM_FLAG = 'N')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: SP_BUMGOP_NONVW

2 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
3 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
4 COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id.

Prompt Table: %EDITTABLE

5 QTY_PER Number(10,4) DECIMAL(9,4) NOT NULL Quantity
6 QTY_CODE Character(3) VARCHAR2(3) NOT NULL Per
ASY=Assembly
ORD=Order

Default Value: ASY

7 YIELD Number(8,4) DECIMAL(7,4) NOT NULL Component Yield

Default Value: 100

8 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
9 ORIG_START_DATE Date(10) DATE Original Start Date
10 ORIG_END_DATE Date(10) DATE Original Due Date
11 PROD_STATUS Character(2) VARCHAR2(2) NOT NULL Production Status
10=Entered
15=Firmed
20=Released
30=In Process
40=Pend Cmpl
50=Completed
60=Clsd/Labor
70=Clsd/Acctg
90=Canceled
12 PRODUCTION_TYPE Character(2) VARCHAR2(2) NOT NULL JNW 11/1/98 (CN#SF800-13) activated teardown xlat
PR=Production
RW=Rework
SV=Service
TD=Teardown
13 WORK_CENTER_CODE Character(10) VARCHAR2(10) NOT NULL Work Center
14 NEW_PRDN_QTY Number(12,4) DECIMAL(11,4) NOT NULL Production Start Qty
15 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure