SF_BOM_DC_VW(SQL View) |
Index Back |
---|---|
SF BOM Componenet Doc View/* CN# EN800-3.0, 01/22/99 anna added bomcode */ 06/22/99 SGL CN# EN800 8.0 removed BOM_TYPE = 'PR' from SQL so will search for all BOM types 04/06/03 PWF Modified column order in SQL to be consistent with the record field order. |
SELECT a.business_unit , a.inv_item_id , a.bom_code , b.bom_state , b.bom_type , a.component_id , a.op_sequence , a.date_in_effect , a.date_obsolete , %subrec(dc_dc_sbr,b) , a.qty_code , a.sub_supply_flg , a.phantom_item_flag FROM PS_SF_BOM_CP_VW a , ps_en_bom_comp_dc b WHERE a.business_unit = b.business_unit AND a.inv_item_id = b.inv_item_id AND a.bom_code = b.bom_code AND b.bom_state = 'PR' AND a.component_id = b.component_id AND a.op_sequence = b.op_sequence AND a.date_in_effect = b.date_in_effect |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | INV_ITEM_ID | Character(18) | VARCHAR2(18) NOT NULL | Item ID |
3 | BOM_CODE | Number(2,0) | SMALLINT NOT NULL | CN# EN800-3.0, anna 09/21 added new field to database |
4 | BOM_STATE | Character(2) | VARCHAR2(2) NOT NULL |
BOM State
EN=Engineering PR=Manufacturing |
5 | BOM_TYPE | Character(2) | VARCHAR2(2) NOT NULL |
03/26/00 RML Added a label "Type"
PR=Production RW=Rework |
6 | COMPONENT_ID | Character(18) | VARCHAR2(18) NOT NULL | 04/10/00 (Internet Architecture) SCC: Uppercase label Id. |
7 | OP_SEQUENCE | Number(4,0) | SMALLINT NOT NULL | Operation Sequence |
8 | DATE_IN_EFFECT | Date(10) | DATE | 01/27/2000 RML Added "As of date" label 03/23/2004 SFC Added PRICE_LIST_DATE label 06/04/2004 SFC Added PRODUCT_PRICE_DAT label |
9 | DATE_OBSOLETE | Date(10) | DATE | Obsolete Date |
10 | DC_OBJECT_ID | Character(16) | VARCHAR2(16) NOT NULL | Document Object ID |
11 | DC_FIXED | Character(1) | VARCHAR2(1) NOT NULL |
fixed to specific doc version
N=No Y=Yes Y/N Table Edit Default Value: N |
12 | DC_OBJECT_NAME | Character(254) | VARCHAR2(254) NOT NULL | Document Name |
13 | DC_TITLE | Character(64) | VARCHAR2(64) NOT NULL | Title |
14 | QTY_CODE | Character(3) | VARCHAR2(3) NOT NULL |
Per
ASY=Assembly ORD=Order |
15 | SUB_SUPPLY_FLG | Character(1) | VARCHAR2(1) NOT NULL | Subcontract Supply |
16 | PHANTOM_ITEM_FLAG | Character(1) | VARCHAR2(1) NOT NULL | Phantom Item |