Model PIM 08 PDF
Model PIM 08 PDF
1 [18-Nov-2010]
Import from Excel
Setup PIM
2 1
Business Entities
Attribute apply to a business entity level:
1. Item EGOEDITATTRGRPPG.xml EGOITEMTYPELISTPGL.xml
WEB ADI 2. Item-Organization Attribute Group Definition Setup Workbench
File: BneAsyncUploadJob.java 3. Item-Revision
4. Item-Supplier
Procedure: createAsyncUploadJob
5. Item-Supplier-Site
6. Item-Supplier-Site-Organization PIM Attribute Groups Attribute Valuesets
LEGEND
EGO_OBJ_AG_ASSOCS_B FND_FLEX_VALUE_SETS
Associate Attribute Group to ICC Attribute Value Sets
WebADI Loading Tables DL11
User/Action
DL8
DL6
FND_FLEX_VALUES
BNE_ASYNC_UPLOAD_JOBS EGO_DATA_LEVEL_B Value Set for Flexfields
Storage of upload Jobs. 1 row per Job A list of the data levels / business Form
entities. DL11: FLEX_VALUE_SET_ID
DL7
EGO_BULKLOAD_INTF
Staging items and attributes Button
EGO_FND_DSC_FLX_CTX_EXT
Overview attribute group info.
Package
DL9
Item Search queries DL10
EGO_ITEM_BULKLOAD_PKG item information. FND_DESCR_FLEX_COLUMN_USAGES
File: EGOIBLKB.pls Describes attribute setup Table
Procedure: LOAD_ITEM_INTERFACE
Inventory Items DL6: DATA_LEVEL_ID
DL7: EOAAB.CLASSIFICATION_CODE = MICGB.ITEM_CATALOG_GROUP_ID
MTL_ITEM_CATALOG_GROUPS_B
Item Catalog Categories (ICC)
DL8: ATTR_GROUP_ID Annotation
Import via Interface DL9: APPLICATION_ID, DESCRIPTIVE_FLEXFIELD_NAME ,
Also called “Catalog Group” in Inventory DESCRIPTIVE_FLEX_CONTEXT_CODE
3 D10: FLEX_VALUE_SET_ID
DL3
1 to Many
MTL_PARAMETERS
Inventory Organizations Relationship
DL5 Private / Internal APIs
Interface Tables DL12
MTL_SYSTEM_ITEMS_B PIM Attributes EGO_USER_ATTRS_DATA_PVT
Items 1 to 1
MTL_SYSTEM_ITEMS_INTERFACE File: EGOPEFBB.pls
Item interface DL4 DL13 EGO_MTL_SY_ITEMS_EXT_B Procedure: PROCESS_USER_ATTRS_DATA Relationship
MTL_ITEM_REVISIONS User Defined Attributes
DL1
Item Revisions EGO_USER_ATTRS_BULK_PVT
MTL_ITEM_REVISIONS_INTERFACE DL12: ATTR_GROUP_ID File: EGOVBUAB.pls
DL3: ITEM_CATALOG_GROUP_ID DL13 : ITEM_CATALOG_GROUP_ID Data Flow
Item revision interface DL4 : INVENTORY_ITEM_ID, ORGANIZATION_ID Procedure:BULK_LOAD_USER_ATTRS_DATA
DL2 DL5: ORGANIZATION_ID
EGO_ITM_USR_ATTR_INTRFC
Item Attribute interface
EGO_MTL_SY_ITEMS_EXT_TL
This has translated values. Translations allow up to 1000
characters: TL_EXT_ATTR## / Translatable
REFERENCES EGO_FND_DF_COL_USGS_EXT
EGOIJAVA
Program: EGO Spreadsheet Java Concurrent Program
This is the program that imports the item/attribute data from Excel.
Performance
1. When debugging performance issues, you would want to enable trace using the concurrent program.
You do this via concurrent > programs > define.
Query the program: EGO Spreadsheet Java Concurrent Program
Set Trace = Y.
See Note 463444.1 Troubleshooting PLM
2. Correct Trace File?
The trace file might show something like the following where it mentions "EGOIJAVA":
=====================
PARSING IN CURSOR #49 len=272 dep=1 uid=47 oct=3 lid=47 tim=1243761040532882 hv=2384391842 ad='623c2358‘
SELECT 'TRACE_USER_DETAILS: TIMESTAMP=11-MAY-10:20:55:05: USER_NAME=MFG: CONC_REQUEST_ID=5411977: OLTP_OPT_MODE= :
CONC_OPT_MODE= : CONC_PROG_EXE=EGOIJAVA: CONC_PROG_NAME=EGO Spreadsheet Java Concurrent Program: RESPONSIBILITY=Development
Manager: APPL_NAME=EGO' FROM DUAL
EGOICI
Program:
Similar to the EGOIJAVA, the EGOICI also imports item data.
Here is a list of some of the objects used by the EGOICI program. There are a number of flows but this highlights some of the objects used.
The EGOICI (EgoImportItemsJCP.java) calls > runProgram (uses EgoIntfAM.xml)
1. The program EgoIntfAMImpl.java calls > ..processIntf that calls > ..processImport that calls > ..callItemsProgram
that calls > EGO_ITEM_OPEN_INTERFACE_PVT.item_open_interface_process (EGOPOPIB.pls) that calls > INVPOPIF.inopinp_open_interface_process (INVPOPIB.pls)
2. Also the program EgoIntfAMImpl.java calls > ..propagateItemNumberToChildEntities that calls > EGO_IMPORT_UTIL_PVT.Propagate_Item_Num_To_Child (EGOVIMUB.pls)
that calls > EGO_IMPORT_UTIL_PVT.Propagate_Item_Num_To_Child (EGOVIMUB.pls) that calls > UPDATE MTL_SYSTEM_ITEMS_INTERFACE
that calls > EGO_IMPORT_UTIL_PVT.Propagate_Item_Num_To_Child (EGOVIMUB.pls) that calls > EGO_USER_ATTRS_BULK_PVT (EGOVBUAB.pls)
3. Here are some other references within the XML:
EgoIntfAM.xml ===> EgoAttrMappingsToActionVO.xml
EgoIntfAM.xml ===> EgoIccInBatchVO.xml
EgoIntfAM.xml ===> EgoIccFunctionGenActionVO.xml
MTL_SYSTEM_ITEMS_B EGO_MTL_SY_ITEMS_EXT_B
EGO_FND_DSC_FLX_CTX_EXT
# Inventory_item_id: ID of item EGO_MTL_SY_ITEMS_EXT_B – User Defined Attribute values / One
# Organization_ID: Organization id where item is entered row of user defined attribute data.
* Segment1 to 20: Part number. Often use just segment1 for the part EGO_FND_DSC_FLX_CTX_EXT - This table contains metadata -Comment: Special that has partitions. Also have multiple rows
number. information about Attribute Groups. This table is an extension on depending on need to accomodate more attributes.
FND_DECR_FLEX_CONTEXTS.
* ITEM_CATALOG_GROUP_ID- Item catalog category -- Translations – Translations are stored in
# ATTR_GROUP_ID - unique id EGO_MTL_SY_ITEMS_EXT_TL that contain long name of user
o Attribute1 to 15: Descriptive flexfields limited to 15. defined attributes.
* DESCRIPTIVE_FLEXFIELD_NAME- Attribute Group Type to which
* PURCHASING_ITEM_FLAG the Attribute Group belongs (part of the foreign key to # EXTENSION_ID
FND_DESCR_FLEX_CONTEXTS)
* SHIPPABLE_ITEM_FLAG * ORGANIZATION_ID - Organization. Foreign key to
* DESCRIPTIVE_FLEX_CONTEXT_CODE- Internal name of the MTL_SYSTEM_ITEMS_B along with item.
* CUSTOMER_ORDER_FLAG
Attribute Group (part of the foreign key to
* INTERNAL_ORDER_FLAG FND_DESCR_FLEX_CONTEXTS) * INVENTORY_ITEM_ID - Item id. Foreign key to
MTL_SYSTEM_ITEMS_B along with organization.
* SERVICE_ITEM_FLAG * MULTI_ROW - Defines if the Attribute Group is Multi-Row
* ITEM_CATALOG_GROUP_ID- Related item catalog category
* INVENTORY_ITEM_FLAG
* ATTR_GROUP_ID- Attribute group identifier
MTL_ITEM_REVISIONS_B o PK1_VALUE-
EGO_OBJ_AG_ASSOCS_B * VALUE_SET_ID
* VALUE_SET_NAME
EGO_OBJ_AG_ASSOCS_B - Holds the association of an attribute group to a
item catalog category
# ASSOCIATION_ID
* DATA_LEVEL: CHANGE_LEVEL, CHANGE_LINE_LEVEL,
COMPONENTS_LEVEL, ITEM_LEVEL, ITEM_REVISION_LEVEL
* ATTR_GROUP_ID
* EOAAB.CLASSIFICATION_CODE = MICGB.ITEM_CATALOG_GROUP_ID
* VALUE_SET_NAME: Name of valueset * Document_id- FK to FND_DOCUMENTS - Roles come from objects where have function/menu:
* FORMAT_CODE: C/Character, etc. o PK1_VALUE- FK to organization_id in mtl_item_revisions (for -- SELECT objects.display_name OBJECT_DISPLAY_NAME,
PIM docs) menus.user_menu_name ROLE_DISPLAY_NAME,
* VALIDATION_MEANING: Table/Validate with query, menus.description ROLE_DESCRIPTION, menus.menu_id ROLE_ID
Independent/Provide a specific value list o PK2_VALUE- FK to inventory_item_id in mtl_item_revisions(for from fnd_menus_tl menus, fnd_objects_tl objects WHERE
PIM docs) objects.language = USERENV('LANG') and menus.language =
o PK3_VALUE- FK to revision_id in mtl_item_revisions (for PIM USERENV('LANG') and exists (select 1 from fnd_form_functions f,
EGO_VALUE_SET_VALUES_V fnd_menu_entries e where e.menu_id = menus.menu_id and
docs)
e.function_id = f.function_id and f.object_id = objects.object_id)
* Enabled_Flag = Y/N (Yes or No) FND_DOCUMENTS
* FLEX_VALUE_SET_ID: Valueset foreign key
FND_DOCUMENTS- Describe attachment EGO_ROLE_PRIVILEGES_V
* FLEX_VALUE_ID: Id of value
# Document_ID
* FLEX_VALUE: Value of value Listing roles and privileges.
EGO_VALUE_SET_EXT
EGO_OBJ_ROLE_MAPPINGS
EGO_TEMPL_ATTRIBUTES
# Template_ID
Joins to EGO_FND_DF_COL_USGS_EXT by attribute_id
EGO_PEOPLE_V
MTL_ITEM_TEMPL_ATTRIBUTES
# Template_ID
Joins to EGO_FND_DF_COL_USGS_EXT by attribute_name in
MTL_ITEM_TEMPL_ATTRIBUTES equal to
'MTL_SYSTEM_ITEMS.'|| application_column_name in
EGO_FND_DF_COL_USGS_EXT