Вы находитесь на странице: 1из 11

<Insert Picture Here>

IOI – Basics
Presenters’ Names Twila Chavez , Mike McMillan
Presenters’ Titles “How to use the Item Open Interface”
IOI

• IOI basic operation


• Import Items, categories and revisions
• Profiles

2
PROFILE OPTIONS (as used for THIS demo)

• INV: Default Item Status Active


• INV: Item Default Template Null
• INV: Item Form Folder Category Set Null
• INV: Item Master Flexfield Null
• INV: Default Primary Unit of Measure Each

3
Basic Operation

• 1 or more rows inserted into the MTL_SYSTEM_ITEMS_INTERFACE


• The six minimum field are
– ORGANIZATION_ID or ORGANIZATION_CODE
– PROCESS_FLAG must be 1
– SET_PROCESS_ID -- used to link 1 or more rows together.
– TRANSACTION_TYPE -- CREATE , UPDATE OR SYNC
– SEGMENT1 to Segment..20 OR ITEM_NUMBER
– DESCRIPTION -- Plain text.

4
Basic Operation DEMO

• Over the Demo


– Create an Item in V1 Vision Operations
– Add template via the form.
– Create the Item in M1 to show the attributes are copied from the master.
– Create the item in M2 show data written in the interface is not overwritten.
– The order of precedence
• User provided data written to interface
• Template data is copied for attributes that have not provided by the user
• Copy down master item attributes that have not provided by the user or
a template.
– Demo – Mike McMillan

5
Importing Item, Categories, and Revision History

The Demo will cover


– Create an Item
– Create Categories with other than the Default Values
– Create a Revision History for the Item
– Show how the SET_PROCESS_ID is used to link the tables
together. (MTL SYSTEM_ITEMS_INTERFACE,
MTL_ITEM_CATEGORIES_INTERFACE, and
MTL_ITEM_REVISIONS_INTERFACE)
– How the SET_PROCESS_ID is set to 3 in the sql scripts to
match the "Process set" in the INCOIN concurrent process
– Demo -- Twila Chavez

6
Trouble Shooting

• Download and run the Oracle Bill of Materials Setup Check Script(bomcheck.sql) in Note.244145.1. The
script must be run on your server via SQL*PLUS. The script will generate a file named "bomcheck.txt".
Please upload this to MetaLink. When requested for application Ids , just press the return key

• WHAT look for:


SECTION 5. Database Triggers :
- custom triggers on MTL_ITEM_CATEGORIES, MTL_ITEM_REVISIONS and MTL_SYSTEM_ITEMS_B
SECTION 6. Table Indexes :
- custom Indexed on MTL_ITEM_CATEGORIES, MTL_ITEM_REVISIONS and MTL_SYSTEM_ITEMS_B
SECTION 7. Package Versions :
- versions and invalids
SECTION 9 Form Versions :
- collect the form data
SECTION 13. Item Attribute Controls :
- Show the control level and status attribute controls
Section 14. Organization list
- Shows the Master /Child organization relationship
Section 15. System Items Segment list :
- Show the number of item Segments.

7
Trouble Shooting
Continued

• Truncate all IOI interface tables before loading mtl_system_items_interface:


ex. TRUNCATE TABLE <tablename>
MTL_SYSTEM_ITEMS_INTERFACE
MTL_INTERFACE_ERRORS
MTL_ITEM_REVISIONS_INTERFACE
MTL_ITEM_CATEGORIES_INTERFACE
These are not historical tables and they are not meant to hold large amounts of data

• Set the following profiles:


Set the following profile values for the user:
a) INV: Debug Trace = YES
b) INV: Debug Level = 102
c) MRP: Debug Mode = YES
d) MRP: Trace = Yes
The log can be found under the pull down menu at the top
View-> Request then upload the log file form that INCOIN request

8
Reference Material

• Note:268968.1 Understanding Item Import and Debugging


Problems with Item Import
• Note:423551.1 How to create a Category Set and Assign Items to
Categories
• Note:458544.1 Inventory Item Open Interface SR Template
• Note: 1457314.1 How to use the Item Open Interface

9
Discussion
<Insert Picture Here>

Questions

Answers

10
Thank You

11

Вам также может понравиться