API for creating objects?
Hi allis there a way taken in charge to create objects (pages, areas, articles,...) by script?
We need to migrate the repository based systems (c++), so it would be very nice...
Thank you for your help.
JFLE
jfle wrote:
is there a way taken in charge to create objects (pages, areas, articles,...) by script?
In a Word, no.
Tags: Database
Similar Questions
-
Hello
Is there an API for creating value and the value of values in R12?
Thank you
Praveen
Published by: praveen Elvis on April 9, 2009 12:18 AMHello
Try FND_FLEX_VALUES_PKG API.
Oracle integration repository
http://IREP.Oracle.comR12, repository integration Oracle is shipped as part of the E-Business Suite (as a responsibility).
Kind regards
Hussein -
Hello everyone,
This is the API that I used for creating assets in R12.2 version:
----------------------set serveroutput on;
DECLARE
l_trans_rec FA_API_TYPES.trans_rec_type;
l_dist_trans_rec FA_API_TYPES.trans_rec_type;
l_asset_hdr_rec FA_API_TYPES.asset_hdr_rec_type;
l_asset_desc_rec FA_API_TYPES.asset_desc_rec_type;
l_asset_cat_rec FA_API_TYPES.asset_cat_rec_type;
l_asset_type_rec FA_API_TYPES.asset_type_rec_type;
l_asset_hierarchy_rec FA_API_TYPES.asset_hierarchy_rec_type;
l_asset_fin_rec FA_API_TYPES.asset_fin_rec_type;
l_asset_deprn_rec FA_API_TYPES.asset_deprn_rec_type;
l_asset_dist_rec FA_API_TYPES.asset_dist_rec_type;
l_asset_dist_tbl FA_API_TYPES.asset_dist_tbl_type;
l_inv_tbl FA_API_TYPES.inv_tbl_type;
l_inv_rate_tbl FA_API_TYPES.inv_rate_tbl_type;
l_return_status VARCHAR2 (1);
number of l_mesg_count;
l_mesg varchar2 (4000);
BEGIN
dbms_output. Enable (10000000);
FA_SRVR_MSG. Init_Server_Message;
-info desc
"- l_asset_desc_rec.asset_number: = ' 1234567 ';
l_asset_desc_rec.tag_number: = ' Vedic12345-2';
l_asset_desc_rec.Serial_number: = ' VEDIC3567-2';
l_asset_desc_rec.in_use_flag: = 'YES ';
l_asset_desc_rec.new_used: = "NEW";
l_asset_desc_rec.owned_leased: = "OWNER";
l_asset_desc_rec.current_units: = 1;
l_asset_desc_rec. Description: is "2 OFFICE of BUENOS AIRES".
l_asset_desc_rec.asset_key_ccid: = 3;--3
-Cat Info
-Valid value in FA_CATEGORIES
l_asset_cat_rec.category_id: = 5; -197
-type info
l_asset_type_rec.asset_type: = 'CAPITALIZED ';
-Property financial information-
l_asset_fin_rec.set_of_books_id: = 1;
l_asset_fin_rec.date_placed_in_service: = TO_DATE('25-SEP-2006','DD-MON-RRRR');
l_asset_fin_rec.deprn_start_date: = TO_DATE('25-SEP-2006','DD-MON-RRRR');
l_asset_fin_rec.deprn_method_code: = 'STL'; - STL
l_asset_fin_rec.life_in_months: = 240;
l_asset_fin_rec.original_cost: = 50000;
l_asset_fin_rec. Cost: = 50000;
l_asset_fin_rec.prorate_convention_code: = 'FOL-MONTHS ";
l_asset_fin_rec.salvage_type: = 'AMT "; -PCT - percentage
l_asset_fin_rec.salvage_value: = 1000;
l_asset_fin_rec.percent_salvage_value: = NULL;
l_asset_fin_rec.depreciate_flag: = 'YES ';
l_asset_fin_rec.orig_deprn_start_date: = TO_DATE('25-SEP-2006','DD-MON-RRRR');
-info deprn
l_asset_deprn_rec.set_of_books_id: = 1;
l_asset_deprn_rec.ytd_deprn: = 20000;
l_asset_deprn_rec.deprn_reserve: = 20000;
l_asset_deprn_rec.bonus_ytd_deprn: = 0;
l_asset_deprn_rec.bonus_deprn_reserve: = 0;
-Book / trans info
-Valid value in FA_BOOK_CONTROLS
l_asset_hdr_rec.book_type_code: = 'OPS CORP.;
-info distribution
l_asset_dist_rec.units_assigned: = 1;
-Valid registration of other Code GL with record type = 'E' (fresh)
l_asset_dist_rec.expense_ccid: = 14652;
-Valid value in places of FA
l_asset_dist_rec.location_ccid: = 824;
l_asset_dist_rec.assigned_to: = NULL;
l_asset_dist_rec.transaction_units: = l_asset_dist_rec.units_assigned;
l_asset_dist_tbl (1): = l_asset_dist_rec;
-call api
() FA_ADDITION_PUB.do_addition
-settings std
p_api_version = > 1.0,
p_init_msg_list = > FND_API. G_FALSE,
p_commit = > FND_API. G_FALSE,
p_validation_level = > FND_API. G_VALID_LEVEL_FULL,
p_calling_fn = > null,
x_return_status = > l_return_status,
x_msg_count = > l_mesg_count,
x_msg_data = > l_mesg,
-api settings
px_trans_rec = > l_trans_rec,
px_dist_trans_rec = > l_dist_trans_rec,
px_asset_hdr_rec = > l_asset_hdr_rec,
px_asset_desc_rec = > l_asset_desc_rec,
px_asset_type_rec = > l_asset_type_rec,
px_asset_cat_rec = > l_asset_cat_rec,
px_asset_hierarchy_rec = > l_asset_hierarchy_rec,
px_asset_fin_rec = > l_asset_fin_rec,
px_asset_deprn_rec = > l_asset_deprn_rec,
px_asset_dist_tbl = > l_asset_dist_tbl,
px_inv_tbl = > l_inv_tbl
);
-dump messages
l_mesg_count: = fnd_msg_pub.count_msg;
If l_mesg_count > 0 then
l_mesg: = Chr (10) | substr (fnd_msg_pub.get
(fnd_msg_pub. G_FIRST, fnd_api. G_FALSE),
1, 250);
dbms_output.put_line (l_mesg);
because me in 1... (l_mesg_count - 1) loop
l_mesg: =.
substr (fnd_msg_pub.get
(fnd_msg_pub. G_NEXT,
fnd_api. G_FALSE), 1, 250);
dbms_output.put_line (l_mesg);
end loop;
fnd_msg_pub.delete_msg ();
end if;
If (l_return_status <>FND_API. G_RET_STS_SUCCESS) then
dbms_output.put_line ('FAILURE');
on the other
dbms_output.put_line ('SUCCESS');
dbms_output.put_line ('ASSET_ID:' | to_char (l_asset_hdr_rec.asset_id));
dbms_output.put_line ('ASSET_NUMBER:' | l_asset_desc_rec.asset_number);
end if;
end;
/
In the end, I get successfully creating assets:
SUCCESS
ASSET_ID: 118656
ASSET_NUMBER: 118656
But when I ask in both front end and back end, that I can't see, please suggest me if Miss me something...
Select * from FA_ADDITIONS_B where asset_number = '118656'
Did you not want to commit?
p_commit -Online FND_API. G_FALSE,. See you soon,.
Vignesh
-
Hello world...
could someone tell me how to create the folder to a specific location with using platform-specific code.
I have the path in a variable of type ai::Filepath.
I couldn't find any more who can do.
can anyone suggest me?
Thank you
deepalone
Boost::filesystem
-
API bulk: creating custom objects, fields, and lists?
Hi all
I have searched and passed through the ticket of support for routing, but have not yet managed to find an answer to this question, so I thought that maybe the people who write the API would be the best ones to talk to
Anyway, in summary, my question is:-
Is it possible to create lists of contacts, the Contact fields and items customized by using the bulk API 1.0?
I know, it is possible to create new contacts and add them to an existing list, but I want to create a new list with the bulk API and then add my contacts on this new list.
Same kind of thing for the Contact fields. I want to be able to check if there is a Contact field and if not create one and then fill in the import.
Once again, even for custom objects. I know I can do a GET for all currently available Custom objects, but can I create a new using the API as a whole?
Any help would be most appreciated.
Thank you
Hi Chris,
You cannot create contact fields, shared lists or the custom objects through the bulk API (which in fact is a RESTful API), they must exist already.
You can use the REST or lists The SOAP API to create only shared the REST API to create the contact fields, but SOAP or REST currently supports the creation of custom data objects.
If you don't have it already, please take a look here, building on The Eloqua Platform - A Resource Guide and there REST API - Documentation for kernel objects that will hopefully more questions.
T.J.
-
There the rest APIs to retrieve the metadata for entity for eloqua objects?
There is a list of all the objects that are accessible by the REST for CRUD in this link: REST API - Documentation for kernel objects in the objects of the core section.
For each of the objects listed in the objects of the core section are there is a metadata field in the Properties section.
For example, for the purpose of the e-mail message, The REST API - to access Emails , under the Properties section, there entered corresponding to the fields of the object of the emails under the
Name, Type, Description and validation topics.Is there a REST API to retrieve the same information, i.e. metadata field for an object programmatically eloqua?
Otherwise, this is a serious obstacle to building systems that are the metadata engine and support for SOAP is removed...The closest to what you are looking for would be endpoints of assistance for a description of the fields. Example of /api/bulk/1.0/contact/fields
{
"items": [{}
'name': "E-mail address",
"internalName": "C_EmailAddress",
'dataType': 'emailAddress;
'hasReadOnlyConstraint': false,
'hasNotNullConstraint': false,
'hasUniquenessConstraint': true,
'Déclaration': '{{Contact.Field (C_EmailAddress)}}.
"uri": "/ contact/field/100001",
"converted': ' / Date (-2208970800000) /"
'updatedAt': ' / Date (-2208970800000) / ".
},
{
'name': "First name",
"internalName": "C_FirstName",
'dataType': "string",.
'hasReadOnlyConstraint': false,
'hasNotNullConstraint': false,
'hasUniquenessConstraint': false,
'Déclaration': '{{Contact.Field (C_FirstName)}}.
"uri": "/ contact/field/100002."
"converted': ' / Date (-2208970800000) /"
"updatedBy": "MgrzzzOracleCloudSupportP01E10",
'updatedAt': ' / Date (1408993722380) / ".
},.....
If so, it will also include an element "defaultValue". How many characters you can store in a field (precision) is documented here: Type of data (data and Digital Formats). The same endpoint exist in bulk 2.0, and there are variants for the account fields and Objetpersonnalise. Another exists in the REST through Api/rest/2.0/assets/contact/fields?depth=complete... It does not include the declaration of ML, but there other useful information such as the type of default update and a flag 'isAccountLinkageField '.
Similarly, if you describe a form via SOAP or REST, it also will give you the fields and their type.
Kind regards
Bojan
-
For each object, create a new layer and rename it
Hello!
I want to export an Illustrator file to DWG, and I have many things I want to keep the name. But to keep this info in AutoCAD, I need to transfer them as layer names (DWG/DXF export does not record the name of the object, but the name of the first level layer) and put all these layers as layers of level first (DWG/DXF export maintains just first layers of level).
So I would like to make or find a capable script something like this:
in my file,.
for each object,.
see if there is a layer with the name of the object
If there is any layer with the same name
then
Create a layer,
give the name of the object to the layer
endif
Place the object in this layer
Is there someone who can help me?
Thank you!
You can select your layer, then use "Release to layers", which will create a sublayer for each object that you have, and then a script can rename these layers based on the named object it contains... so you can drag them all out of their layer sublayers parent so that they become the main layers... everything that is explained here, including the script
-
R12 - API to create a serial numbers for ordered point in reception
Hi all
I had a requirement to create PO receipt using PL/SQL code. For this I created the PL/SQL code to insert data into the tables Interface below,
(a) rcv_headers_interface
(b) rcv_transactions_interface
After inserting data in the Interface table executed program simultaneous "receiving Transaction processor" to deal with the Interface to Base of Table table data. This process works perfectly fine for applications for "Non-catalogue." But if I try to treat any PO have the item in stock including series control is set on "at the reception" so I got following error in the Interface table.
"In case of failure to validate soap operas".
To resolve this problem, I need to create and number of process for the ordered article selected to receive. Can anyone guide me regarding how can I generate serial numbers using the APIs for the received PO.
Kind regards
PriyankaHello
Just fill out mtl_serial_numbers_temp table correctly (by specifying transaction_temp_id = RTI.interface_transaction_id)
and the serial number are respectively fm_serial_number - to_serial_number.You can records MSNT entermultiple with the same transaction_temp_id.
You may need to fill PRODUCT_TRANSACTION_ID = RTI.interface_transaction_id and PRODUCT_CODE = "RRS".
Oracle will create all the serial numbers for you when files handled.
Thank you
Claire -
API to create new objects in the inventory
Hi all
What is the api used to create articles (Master) in the inventory.
Thank you and best regards,
MaheshMahesh,
Please refer to the following documents.
Note: 395493.1 - how to use the public APIs for inventory (undocumented)
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=395493.1Note: 295475.1 - identify the public API to import items, categories and catalogs
https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=295475.1Additionally, you can check [repository integration Oracle | http://irep.oracle.com/].
Kind regards
Hussein -
Java API to create a password for a user
I used the Java API to create a user in Livecycle, but I can't seem to find a way to give this user a password.
Here is the code I use to add the user.
http://help.Adobe.com/en_US/LiveCycle/9.0/programLC/help/index.htm?content=000004.html
Once the user is defined in LiveCycle I want the user to set the password to a Web page. How to make this happen?
Thank you.
Take a look on change the password of the user recipe.
-
Creating objects of resource in R1 OIM11g
Hello
I am trying to exploit the old certificate IOM subsystem to complete the certificate. We should testify on the specific roles within the standard ROs, so my approach would be to create "virtual" resource objects where each Number represents a specific target system role.
Because we will need around 700-1000 ROs I want to write a batch tool that would create the ROs and the form definition and attached process.
It looks promising for the form to process API in tcFormDefinitionOperationsIntf but I can't find any API for the creation of the Office of receiver, or the creation of the process definition.
Anyone tried something similar?
Best regards
/ Martin
I suggest that you create your workflow resource sample object. Export using the Deployment Manager. Use the xml file, write a script to find and replace, and generate all the xml files that you need. You can import them manually or use the API Deployment Manager to import.
Or use Oracle identity analytics (OIA).
-Kevin
-
Hello, I hope someone can help. I use Windows 7 64-bit. on a high spec pc. When you run FS2004 (Flight Sim program) I get the error message "" run-time error '429': ActiveX component can't create object ". " That seems to relate to the flight or the CMF management computer program. This error seems to inhibit access to the CMF. I tried to load the latest ATI driver, but that makes things worse. Has anyone encountered this problem before? Hope it
Thanks in advance
Ianzee
Hello Diana
Unfortunately, none of the above worked. However, I downloaded a file recommended by Flight1 (the creators of one of the 2 games I had problems with) surprisingly, thisinstantly solved the problem it is called http://www.flight1.com/dx7vb.exe.
Perhaps in the future someone else have this same problem with Vista 64-bit where the game, they could also try this "correction". Of course, it worked for me!
Thank you very much for your help & trouble in front of me, it is appreciated.
Cordially Ianzee
-
Runtime error 429 - component ActiveX cannot create object
Hello
We have a VB6 program running on a machine in our office - running Windows XP Professional. He worked until a few days ago, but now, we get the error:
Runtime error 429 - component ActiveX cannot create object
We had a problem with a recently VBA program that was due to an update of Microsoft (KB960715) security and I was wondering if a similar problem could be the cause? Please let me know if you need further details.
Thank you very much
ChrisHello Chris stammer,
Thanks for posting on the Microsoft answers Forum.
If the problem was caused by a windows update, I'll try to see if you can do a system restore and go back before the update has been applied to your system. Click the number of the KB article and follow the steps in KB.
Marilyn
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think -
API for CCW ConfigSets Import / Export
Hello, is there a published API for import / export / share of ConfigSets, for example from/to a third party the CRM tool / CPQ? It seems that Netformx DesignXpert has these capabilities: http://www.netformx.com/DesignXpert_15.0.1
Hello Andrea,
Nice day!
Please be informed that, according to other research, there are APIs to create (import), get (export) and share configset. Import and export are based on XML API and don't use other formats. These APIs are available to partners of the strategy as Netformix. However, it is not available in CCW to 3 parts from the time.
If you have further clarification with this, kindly soft hand with your friends to raise this concern with the product team / developers.
Thank you and best regards,
Jen C.
CCW support team
-
Define a map or ORDER method for the object type
Hi gurus
I created an object and then its type and then I use this object and type based on line, see below:
Create the object
CREATE OR REPLACE
TYPE test_object
IS
OBJECT
(
next_appearance_dt DATE, - next_appearance_dt
youth_adult VARCHAR2 (5) - youth_adult
) ;
/Create the object Type
CREATE or REPLACE TYPE t_docket_object IS TABLE OF THE test_object;
/
Create function Pipeline
FUNCTION to CREATE or REPLACE f_report (p_dt date, p_c_cd VARCHAR2)
return t_test_object pipeline
IS
BEGIN
FOR J IN)
Select distinct test_object)
next_appearance_dt,--862,
'YOUTH '.
) AS test_object
Jen.next_appearance base
WHERE 1 = 1
AND (base.next_appearance_dt = p_dt)
AND (base.circuit_point_cd = p_c_cd)
- and cse.information_id = 322
-ORDER 15 - alias_name
)loop
PIPE ROW (J.test_object);
END loop;
END;/
Run function
SELECT * FROM TABLE (F_REPORT (TO_DATE('25-sep-2015','dd-mon-yyyy'),'1 '))
Error
ORA-22950: cannot ORDER objects without map or ORDER method
ORA-06512: at "F_REPORT", line 5
22950 00000 - "cannot ORDER objects without map or ORDER method.
* Cause: an object type must have a defined for map or ORDER method
all comparisons other than equality and inequality comparisons.
* Action: Define a map or ORDER method for the object type
I know the reason of this error and the reason is that I use the clause separate in my pipeline service, but do not know how to get rid of this error...
Confuse you the type of table with the object type. He forge
Select test_object (next_appearance_dt) test_object
Not:
Select t_test_object (next_appearance_dt) test_object
Then:
SQL > CREATE OR REPLACE
FUNCTION f_report (DATE p_dt 2,
3 P_C_CD VARCHAR2
4 )
5 t_test_object of RETURN
6 IN PIPELINE
7 EAST
BEGIN 8
9 FOR (IN) v_rec
10 WITH () DID
11. SELECT TO_DATE('01-jan-2015','dd-mon-yyyy') NEXT_APPEARANCE_DT
the double 12
13 )
14 select test_object (next_appearance_dt) test_object
15 from t
16 ) LOOP
PIPE 17 ROW (v_rec.test_object);
18 END OF LOOP;
END 19;
20.The function is created.
SY.
Maybe you are looking for
-
Middle mouse button opens the link in the TWO tabs
Like many users, I started only problems with Firefox since the onslaught of updates began. For the most part, they disappeared with newer versions, or are minor annoyances. MY PROBLEM: When I use the middle button of the mouse to open a link, it now
-
I went to my account and the password changed, now cannot reach server
I went to my account to change my password, then got an error message saying that I was unable to connect to the yahoo server. I have uninstall and reinstalled YAHOO, but ended up with the same question
-
DeskJet 3835: Black vertical lines when scanning - Deskjet 3835
Hello Whenever I scan using the document feeder, there are black vertical lines showing on the picture. This happens with the dish however. The printer is the 3835 Deskjet all in one set. Receive your answer. Thank you.
-
STARTING THE REQUIRED LINE TO SEND REPLIES THROUGH EMAIL ADDRESS QUERIES GIVE CURRENT ADDRESS IS WINDOW VISTA NO HTTP SUPPORTS LONGER HAVE UPGRADED TO PAK2 TO TRY AND FIX PROBLEM WOULD LIKE TO KNOW HOW TO SOLVE THIS PROBLEM, SO I CAN TURN MY TESTS IN
-
Changing the font size.
When I started my computer this morning the font size was so small that I could hardly read the. It was fine yesterday. I have Windows Vista. I made no settings myself.