SF_PA_PID_VW5

(SQL View)
Index Back

Prdn IDs: By PID, status 40-70

02/17/98:Saritha: Assigned 'SF_PA_PID_LVW5' as related language record 2/19/98 RS RL View Type OTH D 06/07/99 SPL CN# MG800-11.0 Added configuration code to record.

SELECT b.business_unit , b.production_id , b.prdn_area_code , b.inv_item_id , c.descr , b.prod_status , b.production_type , b.completed_qty , b.scrap_qty , b.config_code FROM PS_SF_PRDNID_HEADR b , PS_MASTER_ITEM_TBL c , PS_SET_CNTRL_REC d WHERE b.ma_prdn_id_flg = 'Y' AND (b.prod_status = '40' OR b.prod_status = '50' OR b.prod_status = '60' OR b.prod_status = '70') AND (b.production_type = 'PR' OR b.production_type = 'RW' OR b.production_type = 'TD') AND d.recname = 'MASTER_ITEM_TBL' AND d.setcntrlvalue = b.business_unit AND c.setid=d.setid AND c.inv_item_id=b.inv_item_id

  • Related Language Record: SF_PA_PID_LVW5
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

    Prompt Table: BUS_UNIT_TBL_MG

    2 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
    3 PRDN_AREA_CODE Character(10) VARCHAR2(10) NOT NULL Production Area
    4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

    Prompt Table: MASTER_ITEM_TBL

    5 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    6 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
    7 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
    8 COMPLETED_QTY Signed Number(13,4) DECIMAL(11,4) NOT NULL Completed Qty
    9 SCRAP_QTY Signed Number(13,4) DECIMAL(11,4) NOT NULL Scrapped Qty
    10 CONFIG_CODE Character(50) VARCHAR2(50) NOT NULL Product Configurator

    Prompt Table: CP_CONFIG_VW