IN_PROUT_QCD_VW

(SQL View)
Index Back

IN Peggable Supply View

07/26/04 EGS: Created

SELECT A.BUSINESS_UNIT , A.PRODUCTION_ID , A.MG_OUTPUT_TYPE , A.MG_OUTPUT_ITEM , A.OP_SEQUENCE , A.MG_OUTPUT_QTY_CODE FROM PS_SF_OUTPUT_LIST A , PS_SF_PRDNID_HEADR B WHERE B.PROD_STATUS < '40' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.PRODUCTION_ID = B.PRODUCTION_ID AND A.MG_OUTPUT_TYPE <> 'WB' AND A.CONFIG_CODE = ' ' AND B.MA_PRDN_ID_FLG = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_IN Character(5) VARCHAR2(5) NOT NULL Inventory Unit
2 PRODUCTION_ID Character(10) VARCHAR2(10) NOT NULL Production ID
3 MG_OUTPUT_TYPE Character(2) VARCHAR2(2) NOT NULL 10/22/98 (CN#EN800-6.0) LAJ...Created Stores the output item type on a Bill of Materials. The type could represent either a co-product (primary or secondary) or a by-product (waste or recycle). 11/23/98 (CN#SF800-13) JNW added teardown xlat
CP=Primary
CS=Co-Product
RB=Recycle
TD=Teardown
WB=Waste
4 MG_OUTPUT_ITEM Character(18) VARCHAR2(18) NOT NULL 04/10/00 (Internet Architecture) SCC: Uppercase label Id. 10/22/98 (CN#EN800-6.0) LAJ...Created Stores the output item number on a Bill of Materials. This item may be either a co-product or a by-product on the BOM. The output type field determines which one it represents. There should always be at least one output item on the BOM at all times; this output item is the same as the BOMs item id.
5 OP_SEQUENCE Number(4,0) SMALLINT NOT NULL Operation Sequence
6 MG_OUTPUT_QTY_CODE Character(3) VARCHAR2(3) NOT NULL 01/28/98 (CN#EN800-6.0) LAJ...Created Stores the quantity code for an output item on a Bill of Materials. It was created with the same values as qty_code, but by separating these two fields, it allows greater flexibility in the future.
ASY=Assembly
ORD=Order