APS_WO_PT_EN_VW

(SQL View)
Index Back

APS Integ Work Ord Entered Vw


SELECT P.BUSINESS_UNIT , P.INV_ITEM_ID , P.PRODUCTION_ID , C.OP_SEQUENCE , C.BOM_CODE , R.RTG_CODE , C.COMPONENT_ID , C.QTY_PER , C.QTY_CODE , C.YIELD , I.ITM_SETID , P.NEW_START_DATE ,P.NEW_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 )

# 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 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
3 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
4 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
5 BOM_CODE Number(2,0) SMALLINT NOT NULL CN# EN800-3.0, anna 09/21 added new field to database
6 RTG_CODE Number(2,0) SMALLINT NOT NULL Routing Code
7 COMPONENT_ID Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id.

Prompt Table: %EDITTABLE

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

Default Value: ASY

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

Default Value: 100

11 ITM_SETID Character(5) VARCHAR2(5) NOT NULL Item SetID
12 NEW_START_DATE Date(10) DATE Start Date
13 NEW_END_DATE Date(10) DATE Due Date
14 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
15 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
16 WORK_CENTER_CODE Character(10) VARCHAR2(10) NOT NULL Work Center
17 NEW_PRDN_QTY Number(12,4) DECIMAL(11,4) NOT NULL Production Start Qty
18 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure