SF_PRDNID_H_VW

(SQL View)
Index Back

Production ID's Header Record

07/07/97 MEG CN# SF750-1.0: In view text, removed join to sf_prdn_area_it and use ma_prdn_id_flg from sf_prdnid_headr. 9/8/97 ebn CN#EN750-1.0 : Added Reference Routing Item for Master Routing Enhancement CN# EN800-3.0, Sep 21 98, Anna Added field BomCode 12/18/98 lee 8.0 enhancement force rank #1785. Sort by PID in descending order. 06/08/99 SPL CN# MG800-11.0 Added configuration code to record. 7/19/99 WHS CN#SF800-28.0: Allow view to include InProcess production.

SELECT a.business_unit , a.production_id , a.prod_status , a.prdn_area_code , a.inv_item_id , a.production_type , a.bom_code , a.rtg_code , a.ref_routing_item , a.scheduling_method , a.new_start_date , a.new_start_time , a.new_start_shift , a.new_end_date , a.new_end_time , a.new_end_shift , a.revision , a.config_code FROM PS_SF_PRDNID_HEADR a WHERE a.ma_prdn_id_flg = 'Y' AND a.prod_status <= '30'

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

Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT

Prompt Table: SP_BUMGOP_NONVW

2 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID

Default Value: NEXT

Prompt Table: SF_PRID_H_VW

3 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
4 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area

Prompt Table: SF_PRDN_AREA

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 BOM_CODE Number(2,0) SMALLINT NOT NULL CN# EN800-3.0, anna 09/21 added new field to database
8 RTG_CODE Number(2,0) SMALLINT NOT NULL Routing Code

Prompt Table: EN_RTG_HDR_VW

9 REF_ROUTING_ITEM Character(18) VARCHAR2(18) NOT NULL Reference Routing Item
10 SCHEDULING_METHOD Character(3) VARCHAR2(3) NOT NULL Scheduling Method
BWD=Backward
FWD=Forward
11 NEW_START_DATE Date(10) DATE Start Date
12 NEW_START_TIME Time(15) TIMESTAMP Start Time
13 NEW_START_SHIFT Signed Number(2,0) DECIMAL(1) NOT NULL Start Shift
14 NEW_END_DATE Date(10) DATE Due Date
15 NEW_END_TIME Time(15) TIMESTAMP Due Time
16 NEW_END_SHIFT Signed Number(2,0) DECIMAL(1) NOT NULL Due Shift
17 REVISION Character(4) VARCHAR2(4) NOT NULL 01/27/2000 RML Added "As of" label

Prompt Table: EN_REV_SRCH

18 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator

Prompt Table: CP_CONFIG_VW