API for creating value
HelloIs 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 AM
Hello
Try FND_FLEX_VALUES_PKG API.
Oracle integration repository
http://IREP.Oracle.com
R12, repository integration Oracle is shipped as part of the E-Business Suite (as a responsibility).
Kind regards
Hussein
Tags: Oracle Applications
Similar Questions
-
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
You can someone suggest me the name of the API for loading of values in the set of values.
Thank you
Nitin SinghTry FND_FLEX_VAL_API
-
API for the value PayLocation in HRMS
Hi all
I'm new to the HRMS.
can someone tell me the api to set the PAYLOCATION value for an assignment?
Thank you
Rambaud.Strange... I don't see a reason why it shouldn't work...
You can try the code below, with your changes-
DECLARE
l_special_ceiling_step_id NUMBER;
l_people_group_id NUMBER: = NULL;
l_soft_coding_keyflex_id NUMBER;
l_group_name VARCHAR2 (100);
l_effective_start_date DATE;
l_effective_end_date DATE;
l_org_now_no_manager_warning BOOLEAN;
l_other_manager_warning BOOLEAN;
l_spp_delete_warning BOOLEAN;
l_entries_changed VARCHAR2 (100);
l_tax_district_changed_warning BOOLEAN;
l_concatenated_segments VARCHAR2 (100);
l_gsp_post_process_warning VARCHAR2 (100);
BEGIN
hr_assignment_api.update_emp_asg_criteria
(p_effective_date-online sysdate
p_validate-online FALSE
, p_datetrack_update_mode-online "CORRECTION".
p_assignment_id-online 8277
, p_segment1-online "A"; -change this to your value
, p_segment2-online 'B ';. -change this to your value
, p_segment3-online 'C '. -change this to your value
p_object_version_number-online 33
p_special_ceiling_step_id-online l_special_ceiling_step_id
p_people_group_id-online l_people_group_id
p_soft_coding_keyflex_id-online l_soft_coding_keyflex_id
p_group_name-online l_group_name
p_effective_start_date-online l_effective_start_date
p_effective_end_date-online l_effective_end_date
p_org_now_no_manager_warning-online l_org_now_no_manager_warning
p_other_manager_warning-online l_other_manager_warning
p_spp_delete_warning-online l_spp_delete_warning
p_entries_changed_warning-online l_entries_changed
p_tax_district_changed_warning-online l_tax_district_changed_warning
p_concatenated_segments-online l_concatenated_segments
p_gsp_post_process_warning-online l_gsp_post_process_warning
);
END; -
API for creating objects?
Hi all
is 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.
JFLEjfle wrote:
is there a way taken in charge to create objects (pages, areas, articles,...) by script?
In a Word, no.
-
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
-
failed to create value for the message Analyzer "at line 54.
I get the following error, can someone please?
failed to create value for the message Analyzer "at line 54.
Hi ejpeppjep,
Check if this article helps you fix the problem: http://support.microsoft.com/kb/823768
If the problem persists, we recommend that you try the following steps and check the result.
Step 1: a. Click Start, click Run, type cmd and click ok.
b. at the command prompt, type sfc/scannow and press ENTER.
c. once the analysis is complete, restart the computer and check if the problem persists.Note: You will be asked to insert the Windows XP disk, if a file is missing.
For more information, see Description of Windows XP System File Checker (Sfc.exe)
Step 2: If the problem persists, restore the computer to an earlier time
see How to restore Windows XP to a previous state .Visit our Microsoft answers feedback Forum and let us know what you think.
-
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 -
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.
-
Process command API, update the value of the attribute FDF
I use oe_order_pub.process_order to create a return order and as part of the logic that I need to fill attribute FDF, I see that value is updated in their respective fields once return order is created by API, when question and check the backend, I see the value of the attribute in the field. But when I check since before its is not visible in the field.
Once I have change the value of the attribute of front end is visible, my question is why is not visible after API has created the return order.
Attribute is a Date field and we have defined it for use the FND_DATE4 value in the configuration of the FDF, we in R12.
Appreciate your help on this.
Thank you!
Edited by: User910243567 Sep 26, 2011 08:54Hello
You update OE_ORDER_HEADERS_ALL. field of CONTEXT in your script to update the attributes? If you did not update that or somehow that's getting updated with null, then you won't be able to see the attributes of the front. Let me know.
-
I use a graph with a left and right axis (2 data sets). I try to use a slider to select a point in time (x) and the values of y in the two sets of data. I can't understand how the control, the value that is returned for the value is when you use the GetGraphCursor call.
GetGraphCursor (panelHandle, PANEL_GRAPH, yourCursorNumber, & x & y)
Using SetCursorAttribute with the attribute ATTR_CURSOR_YAXIS must be what you are looking for. The online help for this attribute explains wery well:
Description: Used to change the y-axis which is associated with the bar graph.
When a graphics cursor is created, the Y axis with which it is associated is determined by the value of ATTR_ACTIVE_YAXIS. Subsequently, the association can be changed using ATTR_CURSOR_YAXIS.
The y-axis associate serves as reference for the coordinates of the cursor position in calls to SetGraphCursor and GetGraphCursor. -
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
-
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.
-
FDMEE mapping for a value empty in the cloud of SEEP
Because we cannot write scripts in SEEP Cloud, how you géreriez mapping for empty values from the source file?
For example, if the cost center is < white >, map it to C1111.
You could create a residual mapping, try fundamentally to the scope of all your entity with explicit values, between, multidim, in several parts, such as maps and let the last as mapping to map to C1111.
For example, if you have 5 entities A, B, C, D, E, you could create 5 explicit as cards:
A-> E1
B-> E2
C-> E3
D-> E4
E-> E5
and a supplement like the (residual) mapping
*-> C1111
Note: you must ensure that all other entities of vacuum are covered with your mappings but the residue.
Hope that helps
-
Hi gurus,
I try to hide the column to secure the table for a specified user, here are the details of the code that I use to apply security and DB:
Version of DB: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0
Security features:
create or replace function kr_sec_function_papf (p_object_schema IN VARCHAR2,
nom_objet_p VARCHAR2)
return varchar2
as
p_nid varchar2 (200);
Whoami varchar2 (100);
Start
If SYS_CONTEXT (' USERENV', 'SESSION_USER' ") ="VPDTEST ".
then
p_nid: = 'national_identifier = national_identifier';
return (p_nid);
on the other
p_nid: = '1 = 2';
return (p_nid);
end if;
end kr_sec_function_papf;
/
Code to add the policy:
BEGIN
DBMS_RLS. () ADD_POLICY
object_schema = > 'APPS,'
object_name = > "PER_ALL_PEOPLE_F"
POLICY_NAME = > "secure_emp"
policy_function = > 'kr_sec_function_papf ',.
statement_types = > "SELECT."
sec_relevant_cols = > 'NATIONAL_IDENTIFIER ',.
sec_relevant_cols_opt = > DBMS_RLS. ALL_ROWS);
END;
/
I get the error message when executing the above plsql block, the error is:
ORA-28104: entry for sec_relevant_cols value is invalid
ORA-06512: at "SYS." DBMS_RLS", line 20
ORA-06512: at line 2
Someone please help me solve the problem.
Thanks in advance.
~ Krishna Nand Singh
Hello world
I had this problem to be solved.
The problem is with the object_schema-online 'APPS', setting the schema name of the object is 'HR' and APPS a with the same name.
The Correct code should be:
BEGIN
DBMS_RLS. () ADD_POLICY
object_schema-online 'HR ',.
object_name-online "PER_ALL_PEOPLE_F."
POLICY_NAME-online "secure_emp."
policy_function-online "kr_sec_function_papf."
statement_types-online "SELECT."
sec_relevant_cols-online "NATIONAL_IDENTIFIER."
sec_relevant_cols_opt-online DBMS_RLS. ALL_ROWS);
END;
/
Thank you
Krishna Nand Singh
Maybe you are looking for
-
Sometimes, when I boot up and load Firefox, it loads without my igoogle homepage. Occasionally, it will fail to load once I've used Firefox with the igoogle homepage. It's frustrating. Have to reboot several times to get the home page to reload. When
-
Tab control + Vi script problem
Hello I have a tab control in my sub vi, which in turn has a secondary (let say sp) now I have an another vi which must be loaded in the secondary of the tab. But I get an error message saying invalid reference vi in insert vi. Opening a vi reference
-
Excessive use of ink Photo Printer 7520
I do not print photos but continues to go to the empty ink cartridge. Why is the printer using ink photo when I'm not print photos? How to do that just use the regular black ink?
-
Hi everyone, is it possible to replace the default value for the size of datagram bridge programmatically? Thank you
-
It seems that forcing a string table, indicates that he has the correct content, but just .comes (', ') does not work. -What is that supposed to work in QML? Is there something else that replaces it? I have the code following, that I create, push m