APS_WO_VW

(SQL View)
Index Back

APS Integ Work Order View


SELECT I.ITM_SETID , P.BUSINESS_UNIT , P.PRODUCTION_ID , P.PROD_STATUS , P.INV_ITEM_ID , P.PRODUCTION_TYPE , P.ORIG_PRDN_END_QTY , P.ORIG_UOM , P.BOM_CODE , P.RTG_CODE , P.PRDN_CREATED_DTTM , P.NEW_START_DATE , P.NEW_START_TIME , P.NEW_END_DATE , P.NEW_END_TIME , P.PLAN_FROZEN_FLG , P.COMP_CLOSE_DT FROM PS_SF_PRDNID_HEADR P , PS_APS_ITEM_BU_VW I WHERE P.PROD_STATUS IN ( '10', '15', '20', '30') AND I.INV_ITEM_ID = P.INV_ITEM_ID AND I.BUSINESS_UNIT = P.BUSINESS_UNIT

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

Prompt Table: SP_BUMGOP_NONVW

3 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
4 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
5 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: SF_PA_IT_ID_VW

6 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

Default Value: PR

7 ORIG_PRDN_END_QTY Number(12,4) DECIMAL(11,4) NOT NULL Expected Prdn Qty
8 ORIG_UOM Character(3) VARCHAR2(3) NOT NULL Original Unit of Measure
9 BOM_CODE Number(2,0) SMALLINT NOT NULL CN# EN800-3.0, anna 09/21 added new field to database

Prompt Table: %EDITTABLE

10 RTG_CODE Number(2,0) SMALLINT NOT NULL Routing Code

Prompt Table: %EDITTABLE2

11 PRDN_CREATED_DTTM DateTime(26) TIMESTAMP Production Created DateTime
12 NEW_START_DATE Date(10) DATE Start Date
13 NEW_START_TIME Time(15) TIMESTAMP Start Time
14 NEW_END_DATE Date(10) DATE Due Date
15 NEW_END_TIME Time(15) TIMESTAMP Due Time
16 PLAN_FROZEN_FLG Character(1) VARCHAR2(1) NOT NULL 11/01/01 PCL (CN#PL900-1): Updated
N=No
Y=Yes

Default Value: N

17 COMP_CLOSE_DT Date(10) DATE Date of Completion