Sie sind auf Seite 1von 6

5/10/2011 Oracle Apps Knowledge Sharing

HOME POSTS RSS COMMENTS RSS CONTENTS

M e a n t f o r s h a r i n g o u r k n o w l e d g e r e l a t e d t o O ra c l e E - B u s i n e s s S u i t e

Search
pow ered by

Ads by Google Oracle ERP Apps CRM Apps 11I Training EBS 11I
Video Tutorials
M o n d a y , M a rc h 7 , 2 0 1 1

Item import based on Item template in R12 (insert


script)

Donate U s

M ain M enu
Home
Table Of Contents
Useful Links
Video Tutorials!!

Subscribe via email


In this post, I tried to explain the steps to IMPORT an ITEM with its attributes based on ITEM
TEMPLATE in R12 Oracle Apps.
STEP1: Get the template id using the below query
SELECT template_id Enter your email address:
,template_name
,description
FROM MTL_ITEM_TEMPLATES;
Subscribe

Delivered by FeedBurner
STEP2: Check the choosed template's related item attribute values using the below query
SELECT template_id
,attribute_name
,enabled_flag
,report_user_value
FROM MTL_ITEM_TEMPL_ATTRIBUTES
WHERE template_id = 107;

STEP3: Run the below insert script to create a record in the standard item interface table to
create a item based on item template
INSERT
INTO
MTL_SYSTEM_ITEMS_INTERFACE
(
process_flag,
set_process_id,
transaction_type,

www.shareoracleapps.com/search?upda… 1/6
5/10/2011 Oracle Apps Knowledge Sharing
organization_id,
segment1,
description,
TEMPLATE_ID
)
VALUES
(
1,
1,
'CREATE',
204,
'TESTITEM01',
'Testing Item Import With Template',
107
);
Categories
COMMIT;
Accounting (6)
AP (34)
API's (95)
STEP4: Run the wrapper script given in the below link to submit the "ITEM IMPORT" concurrent
AR (48)
program from backend Wrapper Script to Submit Item Import Cash Management (1)
DBA (2)
FND (48)
STEP5: Run the below query to verify the creation of the item
Forms Personalization (4)
SELECT *
Interview Questions (15)
FROM mtl_system_items_b
Inventory (24)
WHERE segment1 = 'TESTITEM01';
iSuppliers (1)
Oracle (17)
Oracle Alerts (3)
Oracle apps (241)
You might also like:
Oracle E-Business Tax (1)
Oracle General Ledger (18)
Oracle Payments (7)
Oracle Process Manufacturing (1)
Oracle Purchasing (5)
Order Management (44)
Item import (Item External Tables in Autoinvoice Error: Auto Lockbox Item categories in PLSQL (10)
conversion) Oracle with You cannot over Interface oracle apps R12
Example - apply this Processing in Scripts (45)
Unloading Data ... transaction Oracle Apps SOA (6)
LinkWithin Sub Ledger Accounting (6)
TCA (19)
S hare d by Te am se arch at 11:11 PM 0 co mme nts Workflow (3)
Ke yw o rds : API's, Inve nto ry, Oracle apps, S cripts

Popular Pages Today


1. Procure To Pay Cycle in
T h u r s d a y , M a rc h 3 , 2 0 1 1
Oracle Apps R12 (P2P Cycle)
Script to Submit Item Import (INCOIN) using | Oracle Apps Knowledge
Sharing 16.45%
FND_REQUEST in Oracle Apps R12 2. Forms Personalization in
Oracle Apps R12 Example:
Who's in 2011 Top 20 ERP?
Zoom Functionality | Oracle
2011 Top 20 ERP Software
Rankings Download Report from Apps Knowledge
Top IT Analyst Sharing 14.32%
Busine ss-Software .com /Be stER P
3. Oracle Apps Knowledge
HRMS Consulting| Orasys Sharing 12.61%
HRMS Consulting HRMS
Production Support 4. WSH_DELIVERY_DETA
www.orasyss.com ILS.RELEASED_STAT US (
Pick Release Status) | Oracle
Oracle Configurator Apps Knowledge
Keste award winning CZ
www.shareoracleapps.com/search?upda… 2/6
5/10/2011
Keste award winning CZ Oracle Apps Knowledge Sharing
solutions. EBS and Fusion M-W. Sharing 10.04%
www.k e ste .com 5. Chart of Accounts
Implementation in Oracle
Apps R12 (Part 2) | Oracle
Apps Knowledge
Sharing 9.83%
6. Data Flow of Order to Cash
SET SERVEROUTPUT ON; Cycle in Oracle Apps R12
-- Wrapper to submit item import via FND_REQUEST.SUBMIT_REQUEST (O2C cycle) | Oracle Apps
DECLARE Knowledge Sharing 8.55%
v_sub_status BOOLEAN; 7. Oracle Receivables
Transaction Types R12 |
Oracle Apps Knowledge
FUNCTION submit_item_import
Sharing 7.91%
RETURN BOOLEAN
8. Oracle Apps Knowledge
IS
Sharing 7.48%
v_organization_id NUMBER := 0;
9. PAYABLES OPEN INTERFACE
v_request_id NUMBER := 0;
IMPORT BASICS (R12) |
v_phase VARCHAR2(240);
Oracle Apps Knowledge
v_status VARCHAR2(240);
Sharing 6.62%
v_request_phase VARCHAR2(240);
10. Forms Personalization in
v_request_status VARCHAR2(240);
Oracle Apps Overview - Part
v_finished BOOLEAN; 1 | Oracle Apps Knowledge
v_message VARCHAR2(240); Sharing 6.20%
v_sub_status BOOLEAN := FALSE;

BEGIN
FND_GLOBAL.APPS_INITIALIZE(1318,50583,401);
MO_GLOBAL.SET_POLICY_CONTEXT('S','204');
FND_GLOBAL.SET_NLS_CONTEXT('AMERICAN'); --This is for Language specific
view
MO_GLOBAL.INIT('INV');

v_request_id := Fnd_Request.submit_request
(
application => 'INV',
program => 'INCOIN',
description => NULL,
start_time => SYSDATE,
sub_request => FALSE,
argument1 => 204, -- Organization id
argument2 => 1, -- All organizations
argument3 => 1, -- Validate Items
argument4 => 1, -- Process Items
argument5 => 1, -- Delete Processed Rows
argument6 => NULL, -- Process Set (Null for All)
argument7 => 1, -- Create or Update Items
argument8 => 1 -- Gather Statistics
);
COMMIT;

IF ( v_request_id = 0 ) THEN
dbms_output.put_line( 'Item Import Program Not Submitted');
v_sub_status := FALSE;
ELSE
v_finished := fnd_concurrent.wait_for_request
(
request_id => v_request_id,
interval => 0,
max_wait => 0,
phase => v_phase,

www.shareoracleapps.com/search?upda… 3/6
5/10/2011 Oracle Apps Knowledge Sharing
status => v_status,
dev_phase => v_request_phase, Live Traffic Feed
dev_status => v_request_status,
message => v_message
); Get a rush of New Visitors!
here to advertise with Feedjit Advertise on
DBMS_OUTPUT.PUT_LINE('Request Phase : '|| v_request_phase ); Feedjit
DBMS_OUTPUT.PUT_LINE('Request Status : '|| v_request_status ); A visitor from San Diego, California
DBMS_OUTPUT.PUT_LINE('Request id : '|| v_request_id ); viewed "Oracle Apps Knowledge
Sharing" 0 secs ago
--Testing end statusv_request_id A visitor from Buting, Rizal viewed "
IF ( UPPER(v_request_status) = 'NORMAL') THEN import based on Item template in R12
v_sub_status := TRUE; (insert script) | Oracle Apps Knowledge
END IF; Sharing" 12 mins ago
END IF; A visitor from Hyderabad, Andhra
RETURN (v_sub_status); Pradesh viewed
EXCEPTION "OE_ORDER_PUB.PROCESS_ORDER
WHEN OTHERS THEN to Release a hold on sales order in R12 |
DBMS_OUTPUT.PUT_LINE('Error in Submitting Item Import Program and error Oracle Apps Knowledge Sharing" 17 mins
is '||SUBSTR(SQLERRM,1,200)); ago
RETURN (FALSE); A visitor from Wilmington, Delaware
END submit_item_import; viewed "Auto Lockbox Interface
Processing in Oracle Apps | Oracle Apps
BEGIN Knowledge Sharing" 20 mins ago
v_sub_status := submit_item_import(); A visitor from Bogotá, Cundinamarca
IF v_sub_status THEN viewed "Oracle Apps Knowledge
DBMS_OUTPUT.PUT_LINE( 'Item Import Status: Sucessful'); Sharing" 24 mins ago
ELSE A visitor from Bangkok, Krung Thep
DBMS_OUTPUT.PUT_LINE( 'Item Import Status: Failed'); "Payables Open Interface Import process
END IF; in Graphical Representation | Oracle Apps
END; Knowledge Sharing" via
1.bp.blogspot.com 25 mins ago
You might also like: A visitor from Bangkok, Krung Thep
viewed "Payables Invoice Types in Oralce
Apps | Oracle Apps Knowledge Sharing
28 mins ago
A visitor from Karachi, Sindh viewed
"Chart of Accounts Implementation in
Oracle Apps R12 (Part 2) | Oracle Apps
Script to Submit What is External Table information Payables Open Auto Lockbox
Item Import Tables in Oracle about Value Sets Interface Import Interface
Knowledge Sharing" 30 mins ago
(INCOIN) using 10g with Example? process in Processing in A visitor from Karachi, Sindh viewed
FND_REQUEST in Graphical ... Oracle Apps
...
"Chart of Accounts Implementation in
LinkWithin Oracle Apps R12 (Part 2) | Oracle Apps
Knowledge Sharing" 30 mins ago
S hare d by Te am se arch at 6:29 AM 0 co mme nts
Ke yw o rds : API's, Orac le apps, S cripts Articles Archive
▼ 2011 (68)
► May (11)
Newer Posts Home Older Posts ▼ March (23)
API to Update a Customer
Account TCA R12
(HZ_CUST_...
API to create a Person Type
Party and Customer Acc...
API to Create a Party Site
Use TCA R12
(HZ_PARTY_S...
API to Create a Party Site
TCA R12

www.shareoracleapps.com/search?upda… 4/6
5/10/2011 Oracle Apps Knowledge Sharing
(HZ_PARTY_SITE_...
API to Create a Customer
Site Use TCA R12
(HZ_CUST...
API to Create a Customer
Site TCA R12
(HZ_CUST_ACC...
API to Create a Customer
Profile TCA R12
(HZ_CUSTO...
API to Create a Customer
Account for an existing
P...
API to Create a Phone
Number (Contacts) TCA
R12 (H...
API to update a Customer
Profile TCA R12
(HZ_CUSTO...
API to update a Customer
Account Relationship TCA
...
API to populate loc_id
HZ_LOCATIONS R12
(HZ_TAX_A...
Create a Customer Account
Relationship API
HZ_CUST...
API to create Group in TCA
R12
(HZ_PARTY_V2PUB.CRE...
hz_party_contact_v2pub.cre
ate_org_contact - API to...
API to Update Customer
Address in Oracle TCA
R12 (...
Create Party of type
Organization in Oracle
TCA us...
API to create customer
Addresses in TCA R12
(HZ_LO...
API to create Party and
Customer Account in R12
(H...
Item import based on Item
template in R12 (insert ...
Script to Submit Item Import
(INCOIN) using FND_RE...
Tables involved with security
rules in oracle apps...
API to Create Item Specific
UOM Conversion
(INV_CO...

► February (20)
► January (14)

► 2010 (211)
► 2009 (2)

www.shareoracleapps.com/search?upda… 5/6
5/10/2011 Oracle Apps Knowledge Sharing

Site Info

2010 Oracle Apps Knowledge Sharing - Powered by Blogger


Designed by Wordpress by WebTreat s

www.shareoracleapps.com/search?upda… 6/6

Das könnte Ihnen auch gefallen