100% found this document useful (1 vote)
420 views5 pages

Model PIM 08 PDF

Uploaded by

Raja Pappireddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
420 views5 pages

Model PIM 08 PDF

Uploaded by

Raja Pappireddy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

R12 PIM Attribute Flow Diagram – Note 1079665.

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

Import Items Public APIs


DL1 : INVENTORY_ITEM_ID, ORGANIZATION_ID
DL2 : INVENTORY_ITEM_ID, ORGANIZATION_ID INCOIN EGO_USER_ATTRS_DATA_PUB
EGOIJAVA File: INVPOPIB.pls File: EGOPEFBB.pls
File:EgoItemConcurrentProgram.java Package: INVPOPIF Procedure: PROCESS_USER_ATTRS_DATA
Procedure:runProgram Procedure: INOPINP_OPEN_INTERFACE_PROCESS
EGO_UI_ITEM_PUB
EGO_ITEM_OPEN_INTERFACE_PVT File: EGOITUIB.pls
EGOICI File: EGOPOPIB.pls Procedure: PROCESS_ITEM
Import Catalog Items
Procedure: ITEM_OPEN_INTERFACE_PROCESS EGO_ITEM_PUB
File: EgoImportItemsJCP.java
Procedure:runProgram Procedure: PROCESS_ITEM_ENTITIES File: EGOPITMB.pls
Procedure: PROCESS_ITEM_CATEGORY_RECORDS Procedure: PROCESS_ITEM
R12 PIM Flow Quick Help Table - Processing Details and Troubleshooting
EGO_ITM_USR_ATTR_INTRFC EGO_MTL_SY_ITEMS_EXT_... FND_DESCR_FLEX_COLUMN_USAGES

Interface table for user defined attributes. EGO_MTL_SY_ITEMS_EXT_B Attribute definition.


Base table that holds values for attributes
Processed Flag User Defined Attribute values / One row of user defined REQUIRED_FLAG = N / No
PROCESS_STATUS = 3 / Scheduled attribute data. Special that has partitions. Also have REQUIRED_FLAG = Y / Yes
multiple rows depending on need to accommodate more
PROCESS_STATUS = 4 / Processed attributes. Translations are stored in APPLICATION_COLUMN_NAME = C_EXT_ATTR## / Character
EGO_MTL_SY_ITEMS_EXT_TL that contain long name of user APPLICATION_COLUMN_NAME = N_EXT_ATTR## / Number
Transaction Types defined attributes. APPLICATION_COLUMN_NAME = D_EXT_ATTR## / Date
TRANSACTION_TYPE = CREATE / Create new APPLICATION_COLUMN_NAME = TL_EXT_ATTR## / Translatable
Includes columns for character, numeric and date
TRANSACTION_TYPE = UPDATE / Update existing
attributes:
TRANSACTION_TYPE = SYNC / Update existing or create if C_EXT_ATTR## / Character
does not exist N_EXT_ATTR## / Number
D_EXT_ATTR## / Date

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

Troubleshooting PLM Note 463444.1 Data types for attributes.


Data Types
Purging Interface Tables Note 1101824.1 DATA_TYPE = C / Character (Attributes C_EXT_ATTR##)
DATA_TYPE = N / Number (Attributes N_EXT_ATTR##)
DATA_TYPE = X / Standard Date (Attributes D_EXT_ATTR##)
DATA_TYPE = Y / Standard Date and Time (Attributes D_EXT_ATTR##)
DATA_TYPE = A / Translatable (Attributes TL_EXT_ATTR##)

ITEM RELATIONSHIP ITEM RELATIONSHIP ATTRIBUTE RELATIONSHIP

MTL_SYSTEM_ITEMS_B MTL_SYSTEM_ITEMS_B FND_DESCR_FLEX_COLUMN_USAGES


ORGANIZATION_CODE and ITEM_NUMBER join to ORGANIZATION_ID and INVENTORY_ITEM_ID join to the There is not a direct ID join. Instead, the APPLICATION_ID ,
ORGANIZATION_CODE and SEGMENT1…x (as many same ids in MTL_SYSTEM_ITEMS_B. DESCRIPTIVE_FLEXFIELD_NAME, DESCRIPTIVE_FLEX_CONTEXT_CODE,
segments as using) in MTL_SYSTEM_ITEMS_B and APPLICATION_COLUMN_NAME in EGO_FND_DF_COL_USGS_EXT
join to the same in FND_DESCR_FLEX_COLUMN_USAGES.

© Oracle Corporation – Proprietary


Programs

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

© Oracle Corporation – Proprietary


Items Attribute Groups Attributes

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-

MTL_ITEM_REVISIONS_B – Revision information o PK2_VALUE-


EGO_FND_DF_COL_USGS_EXT o PK3_VALUE-
o PK4_VALUE-

EGO_FND_DF_COL_USGS_EXT - Describes information to be o PK5_VALUE-


Item Catalog Categories (ICC) collected for attributes - per etrm: This table contains metadata o C_EXT_ATTR1 to 40: Character based attributes
information about Attributes.
o N_EXT_ATTR1 to 20: Number based attributes
MTL_ITEM_CATALOG_GROUPS_B # ATTR_ID: Unique identifier
o UOM_EXT_ATTR1 to 20: Unit of measure if required for numeric
* APPLICATION_ID: 702 / BOM , 431/PIM values
MTL_ITEM_CATALOG_GROUPS_B- Describes the catalog for inventory, or
the item catalog category for PIM * DESCRIPTIVE_FLEXFIELD_NAME: Shortname describing flexfield o D_EXT_ATTR1 to 10: Date attributes
like BOM_COMPONENT_BASE, EGO_ITEMMGMT_GROUP
# ITEM_CATALOG_GROUP_ID: Interfaces
* DESCRIPTIVE_FLEX_CONTEXT_CODE: Some name like component
SEGMENT1: ICC Name detail, Foreign_Currency_test
o ITEM_NUM_GEN_METHOD: S/Sequence, I / ? , U / ?, NULL
EGO_ITM_USR_ATTR_INTRFC
* APPLICATION_COLUMN_NAME: Column like N_EX_ATTR1
o ITEM_NUM_SEQ_NAME- Sequence numbering if enabled. * DATA_TYPE: C/Character, N/Numeric, D/Date EGO_ITM_USR_ATTR_INTRFC – Interface used by Excel Import

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

© Oracle Corporation – Proprietary


Valuesets Attachments Security

EGO_VALUE_SETS_V FND_ATTACHED_DOCUMENTS EGO_ROLE_DETAILS_V

* VALUE_SET_ID: Unique key # ATTACHED_DOCUMENT_ID EGO_ROLE_DETAILS_V – stores details of role

* 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_VALUE_SET_EXT- This table is used to capture parent-child Other Document tables


relationships between value sets.
FND_FORM_FUNCTIONS
# VALUE_SET_ID - Primary Key constituent. Foreign Key to FND_DOCUMENTS_LONG_RAW - store raw
FND_FLEX_VALUE_SETS.FLEX_VALUE_SET_ID denoting child
value set FND_DOCUMENTS_LONG_TEXT - store long text Function tables used in security.
# PARENT_VALUE_SET_ID - Primary Key constituent. Foreign key FND_DOCUMENTS_SHORT_TEXT- store shortext
to FND_FLEX_VALUE_SETS.FLEX_VALUE_SET_ID denoting parent FND_LOBS- Uploaded file attachment
value set

EGO_OBJ_ROLE_MAPPINGS

Templates Mappings of objects and roles.

EGO_TEMPL_ATTRIBUTES
# Template_ID
Joins to EGO_FND_DF_COL_USGS_EXT by attribute_id
EGO_PEOPLE_V

View for people used in security.

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

© Oracle Corporation – Proprietary

You might also like