Professional Documents
Culture Documents
MTL_SYSTEM_ITEMS_INTERFACE:-
To create an item using API in oracle, 1st you need to put data in interface
table MTL_SYSTEM_ITEMS_INTERFACE.
INSERT INTO MTL_SYSTEM_ITEMS_INTERFACE
(SEGMENT1,
DESCRIPTION,
ORGANIZATION_ID,
TRANSACTION_TYPE,
TEMPLATE_ID,
PROCESS_FLAG,
SET_PROCESS_ID,
CREATION_DATE,
CREATED_BY,
LAST_UPDATE_DATE,
LAST_UPDATED_BY,
LAST_UPDATE_LOGIN)
VALUES
(ITEM NAME, --- Name of the Item
ITEM DESCRIPTION, -- Description for the Item
ORGANIZATION_ID, -- Organization ID or GLOBAL MASTER ITEM
TRANSACTION_TYPE, -- It can be INSERT OR UPDATE
TEMPLATE_ID, -- Template ID which you want to apply on this item
1, -- Put process flag as 1
SET_PROCESS_ID, -- Unique number generated by sequence, will be passed to
Item Import
SYSDATE,
FND_GLOBAL.USER_ID,
SYSDATE,
FND_GLOBAL.USER_ID,
FND_GLOBAL.LOGIN_ID);
Here v_request_id will give you the request ID of concurrent submitted to import the
program.
So, make sure that you are storing it and printing it in your log of main concurrent for
tracking purpose.
Thanks for visiting my blog, if you find it helpful then please put your comment and
share it with your Oracle friends.
Thanks a lot for your co-operation.
See you in next blog.