API to update the fields in the table cn_payment_transactions_all (OIC module)
HelloI have an obligation to put the lines of Sales Commission (Oracle Incentive Compensation package) waiting for a specific vendor, if the corresponding invoice line has a sum not equal to zero.
Now to put the commission lines on hold that to date the hold_flag of the cn_payment_transactions_all table is necessary.
I need help to find the API that I can use to update the hold_flag. I searched on the same metalink but can't find anything suitable.
Please advice what API should I use or reference where I can find all the documentation on that. Can I update the hold_flag directly in case I can't find any API for updating this indicator.
Thanks in advance...
Concerning
Lucile
Published by: user10816003 on December 28, 2009 06:05
Update of the base tables directly without using the approved API is not supported by Oracle, and may leave your database damaged without repair possible. If you can't find the information you need in the User Guides or ETRM, pl open an SR with the applicant for assistance on how to get what you need to support.
HTH
Srini
Tags: Oracle Applications
Similar Questions
-
What API can be used to update the table cs_estimate_details (repair)
I need to update the columns 'pricing_context' and 'pricing_attribute1' in the cs_estimate_details table.
Which API can be used to update the columns. Where can I update the table directly?
Try to use this "CS_Charge_Details_PVT" which in turn call "CS_ESTIMATE_DETAILS_PKG".
-
How to update the table when change list item in the classic report
Hello
I worked with apex 4.2 and I create normal classic report with list (named loved) select a column, now I want to update the table when the user changes the list with the new value, I can't create a dynamic action to do this, I create checkbox with the primary key and the loop for check point to update the table but I can not get the value of the list item. and for more speed, the user want to do it when changing the value from the list.
My question
1. how to do it in javascript and get the value of the list item and update the table with the new value
2. do I have to use the API to create the list item so I can get the value of the report item or what.
Thank you
AhmedYou can find a lot of information in this forum (and outside in google) when you search for AJAX processes and demand. However, the tutorial in the link below should be useful:
http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/hol08/apexweb20/ajax_otn.htmBTW, if we answer your question, don't forget to mark the appropriate post as correct. It will help all of us in the forum.
-
API to update the routing resource rates
Hi all
I'm working on the routing API.
I've developed a procedure using the API ' * bom_rtg_pub * ' update the rate / amount and reverse-rate / amount of an item of routing. "
Now, I want to update the resource costs.
Navigation:
Itineraries-> resources.
In the form of resources after having clicked on the button prices,
I need to update the cost resource field.
Please help me to know what's going to serve for this API.
Thank you
RoselyneRoselyne,
I don't know what the API is used to update this field. However, you can enable the trace, update the field and generate the TKPROF file. You should find the API you're looking for in the output file then.
Kind regards
Hussein -
API to update the registration number in the VAT for provider/Supplier site
Hello
Is there a public API available to update the number of VAT registration for provider or on the website of the provider? I tried the API below with the provider and it did not work.
DECLARE
p_api_version NUMBER;
p_init_msg_list VARCHAR2 (200);
p_commit VARCHAR2 (200);
p_validation_level NUMBER;
x_return_status VARCHAR2 (200);
x_msg_count NUMBER;
x_msg_data VARCHAR2 (200);
lr_vendor_rec apps.ap_vendor_pub_pkg.r_vendor_rec_type;
lr_existing_vendor_rec ap_suppliers % ROWTYPE;
l_msg VARCHAR2 (200);
p_vendor_id NUMBER;
BEGIN
-Initialize session apps
-fnd_global.apps_initialize (1234, 50833, 200);
-mo_global.init ('SQLAP');
-fnd_client_info.set_org_context (101);
-Assign values of base
p_api_version: = 1.0;
p_init_msg_list: = fnd_api.g_true;
p_commit: = fnd_api.g_true;
p_validation_level: = fnd_api.g_valid_level_full;
p_vendor_id: = 588011;
-seller details
-Disable the seller
lr_vendor_rec.vendor_id: = 588011;
lr_vendor_rec.tax_reference: = '123XXX222 ';
lr_vendor_rec.vat_registration_num: = '123XXX222 ';
-lr_vendor_rec.end_date_active: = SYSDATE;
-lr_vendor_rec.enabled_flag: = 'n';
ap_vendor_pub_pkg.update_vendor (p_api_version = > p_api_version,)
p_init_msg_list = > p_init_msg_list,
p_commit = > p_commit,
p_validation_level = > p_validation_level,
x_return_status = > x_return_status,
x_msg_count = > x_msg_count,
x_msg_data = > x_msg_data,
p_vendor_rec = > lr_vendor_rec,
p_vendor_id = > p_vendor_id);
commit;
Dbms_output.put_line ('X_RETURN_STATUS =' | x_return_status);
Dbms_output.put_line ('X_MSG_COUNT =' | x_msg_count);
Dbms_output.put_line ('X_MSG_DATA =' | x_msg_data);
IF (x_return_status <>fnd_api.g_ret_sts_success) THEN
BECAUSE me in 1... fnd_msg_pub.count_msg LOOP
l_msg: = fnd_msg_pub.get (p_msg_index = > i,)
p_encoded = > fnd_api.g_false);
Dbms_output.put_line ('the API call failed with error' | l_msg);
END LOOP;
ON THE OTHER
Dbms_output.put_line ('the API call ended with SUCESSS status');
END IF;
END;
Could you please let me know if there I no API to update the same?
Kind regards
BS.
Who did not even after initialization of applications.
Could you please suggest is there anything else I need to do? or is there an other API to update the VAT number of the supplier?
Kind regards
BS.
-
How do I update the table in Jdev
Hello
I use Jdev 11.1.1.7.1.
The control of data, I added that ADF only read the table. When I click on the button create and return to the report screen, highlight lines are added.
Highlighted those who is not inserted into the DB table but he showed in the report. How to remove it. How can I update the table?
Kindly advice me.
Thank you
Swathi
That's what I got:
-You have a table read-only, and a link to create.
-When you press the link create a popup will be launched with a new record (may be a form in the same table iterator).
-When you press save to save the changes validation triggers, stop you to insert the record.
-After the fire of validation you will close the pop-up window (by pressing icon or by pressing Cancel).
-After closure of the pop-up window, you will find that reading one table has some blank lines.
If it is your problem if you have 2 choices:
1. in the AppModule you can make a new instance on the view object (to which redirect the table) If your view object called 'EmployeesView', so, in AppModule, you should have EmployeeView1 and EmployeeView2 and your table may point to EmployeeView1, and when you create new line create in EmployeeView2 and after completing the creation you can run the query and then refresh the table (as shown in the following code).
2 - the second option in the popup cancelListener link at the rear bean method then you can update the table by program as:
DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef. iter.getViewObject().executeQuery(); RequestContext.getCurrentInstance().addPartialTarget(getTableComponent());// from table Binding property bind it to object in back bean
-
Hi all
I have a page jspx, with a table and a button.
Create the table data control, and it contains 4 columns
(Name, card student, asked (Question or answer)).
I create the code for the button to work
1. Select a record
2 send email
3. when I send the request goes from Q to A
All work fine. The mail has been sent. The demand for DB password Q has. But in my jspx table refreshes.
Until I close and open again, it displays all the data.
How cal I solve it?
Thanks in advance
Christos.
Simply add partialTrigger on table pointing to the button.
It will update the table when the button is clicked.
-
How to update the table with the number management
Hello
I need as there is a loc_tab of the created table as below,
CREATE TABLE loc_tab
(
Country_ID NUMBER,
country_code VARCHAR2 (3),
country_name VARCHAR2 (50).
State_ID NUMBER,
state_code VARCHAR2 (3),
state_name VARCHAR2 (50).
city_id NUMBER,
city_code VARCHAR2 (3),
city_name VARCHAR2 (50)
);
I inserted records like below,
Now, I wanted to update the table such that all ID columns are updated with running number.COUNTRY_ID COUNTRY_CODE COUNTRY_NAME STATE_ID STATE_CODE STATE_NAME CITY_ID CITY_CODE CITY_NAME IND INDIA TN TAMIL NADU CHN CHENNAI IND INDIA TN TAMIL NADU TRI TRICHY IND INDIA TN TAMIL NADU CMT COIMBATORE IND INDIA TN TAMIL NADU MDU MADURAI IND INDIA AP ANDHRA PRADESH HYD HYDERABAD IND INDIA AP ANDHRA PRADESH SEC SECUNDRABAD AUS AUSTRALIA QLD QUEENSLAND BRI BRISBANE AUS AUSTRALIA TAS TASMANIA HB HOBART AUS AUSTRALIA TAS TASMANIA CCE CITY OF CLEARANCE AUS AUSTRALIA TAS TASMANIA BUR BURNIE
Each ID columns should get incremented so that, for Country_ID column corresponding to "India" If country_id is 1, that there must be one for all the lines with the name as "India". Likewise for "Australia".
In the case of State, she also has the same logic with numbers repeated until the very name of the State comes.
For the city, it of course will hold separate ID only because the name of the city will not get duplicated.
This update must be done in the normal way using simple SQL such as no PLSQL don't like looping, etc... is involved.
Here are the contents of the table, and that's how the table should be updated,
Thank you and best regards,COUNTRY_ID COUNTRY_CODE COUNTRY_NAME STATE_ID STATE_CODE STATE_NAME CITY_ID CITY_CODE CITY_NAME 1 IND INDIA 1 TN TAMIL NADU 1 CHN CHENNAI 1 IND INDIA 1 TN TAMIL NADU 2 TRI TRICHY 1 IND INDIA 1 TN TAMIL NADU 3 CMT COIMBATORE 1 IND INDIA 1 TN TAMIL NADU 4 MDU MADURAI 1 IND INDIA 2 AP ANDHRA PRADESH 1 HYD HYDERABAD 1 IND INDIA 2 AP ANDHRA PRADESH 2 SEC SECUNDRABAD 2 AUS AUSTRALIA 1 QLD QUEENSLAND 1 BRI BRISBANE 2 AUS AUSTRALIA 2 TAS TASMANIA 1 HB HOBART 2 AUS AUSTRALIA 2 TAS TASMANIA 2 CCE CITY OF CLEARANCE 2 AUS AUSTRALIA 2 TAS TASMANIA 3 BUR BURNIE
Shiva
-
Update the table on the dialog flow back task...
Hi all
I have a table. In a context menu of the table, a user uses a menu command to launch a workflow task merely as inline popup dialog box, which allows them to alter certain data associated with the selected line. It all works very well.
What I'm trying to understand, that's how I trigger a refresh of partial page on the table once the workflow returned and the dialog box closes. I tried to call a support as target bean method of the "listener after" for the call activity of workflow that call the stubborn workflow, which calls AdfFacesContext.getCurrentInstance () .addPartialTarget (table), but which did not cause a refresh of the table. I waited a bit that would be the case.
So, what event can I link at the right time in order to update the table?
Thank youHello
When you open a workflow bounded in a small popup, then you use the earpiece back on the component that runs the pop-up window to refresh the table. On http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html, see example #69
Frank
-
Update the table of contents, errors in bookmarks
When I update my table of contenst, it creates errors in my favorites. I have a hierarchy of level three with my titles of paragraph in my table of contents. When I update the table of contents, it takes the last item in my lowest level and a level higher than it is actually.
Any ideas of what is happening and how can I fix?
OK, thanks to your last message, I began to explore the Table of contents dialog box and understood what the problem was. It had to do with the levels that I had assigned to the table of content items, which I was incompatible. Now I have the right levels assigned to the table of content items and it updated bookmarks perfectly!
Thanks for your help.
-
Text disappears by updating the table of contents
I work with documents several pages that have been created by someone else in CS3 and then I convert it into CS5. Several times when I tried to update the table of contents, all text in the document disappears. All the objects to hold their positions and nothing else changes except that there is no visible text. I checked the table of contents style settings and can find no difference between a document that updates correctly and which don't. Around her, the only way is to copy and paste the content into a new document. This does not happen with all documents, only about 30%.
Text disappearing when you update a table of contents is usually a symtom of havint put the table of contents in the main story line. The table of contents must be in a separate story, no wire to anything, because the update replaces the whole story.
-
Hi all
could you please provide me with the API to update the information of GROUP of R12.
Thank you
AushTry:
HZ_PARTY_V2PUB.update_person
HZ_PARTY_V2PUB.update_group
HZ_PARTY_V2PUB.update_organizationIt will be useful.
-
Update the table using discoverer
Hello
I'm trying to update a table whenever the user runs a report of the Office of the discoverer. I tried to use a function to do the job, but I get the error below.
ORA-14551: cannot perform the DML operation within a query.
I also tried to
1. create a procedure and update the table in this procedure.
2. function to create and call the procedure created earlier in this function and use it in the discoverer, but still does not work and I get the same error ORA-14551.
Please let me know if this is possible at all the. If SO, let me know the steps to do so.
Thank you.Hello
Yes you can update the discoverer dashboards using a PL/SQL function. You must make the function a standalone transaction. for example
FUNCTION update_record (key_field VARCHAR2) RETURN VARCHAR2
IS
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
..
UPDATE your_table
..
COMMIT;
..Rod West
-
Is there an API that updates the e-mail addresses of the employees?
Quick question - is there an API that updates the e-mail addresses of the employees?
All of the API used, I see everything just to 'create an employee' - no updates?
your
StevenUse hr_person_api.update_us_person API from the input parameters required etc...
-
APEX: Update the table fields
I am in dilemma here.
I have a table as a table for the fields in this example two, a field is 'LASTMODIFIED' date and the other
field, "Q1" where the user can be updated when necessary.
"I have used trigger, so whenever the user updates the Q1, the ' LASTMODIFIED ' is updated to the last sysdate.
This method works.
"But during my UAT, I realized that if the"Q1"is null, the ' LASTMODIFIED ' will not update, until
There is a value.
I tried to tweak the trigger by checking if it has the value zero.
create or replace TRIGGER "my_table_BIU_TRG".
BEFORE THE INSERT OR UPDATE
ON my table
FOR EACH LINE
BEGIN
If
: NEW. Q1! =: OLD. Q1 or
: OLD. Q1 = null
then
: NEW. LASTMODIFIED: = SYSDATE;
END IF;
END;
I was thinking about dynamic help to trigger the change, but because it is a tabular presentation,
and with my limited knowledge, I think that maybe this isn't the right approach.
Please indicate how to set my tirgger
YAhooo! Jitendra thanks!
Maybe you are looking for
-
Portege R500 - can I use 3 GB of RAM?
Hallo,may I ask if there is a way to start with 3 GB of RAM, so to use the the 1 GB that he will not be able to see as a ramdisk? Thank you.
-
change the property of element in array for 'initialized '.
I'm a newcomer here. And it's a simple question. The objective of this part is to record the data in the table. You can see that if the array element is not initialized, it will be not recorded in the worksheet, which saves space in the disk. So chan
-
HP dv6 6140tx: Ram compatibility
My laptop have received 2 slots and is expandable up to 16 GB. The laptop came with Ramaxel 4 GB ddr3 1333 mhz ram (rmt3020ec58e9f-1333) in 1 location. Now, I want to add a 4 GB stick in the second slot to improve it to 8 GB. The same ram brand is no
-
I have a hp Pavilion working with XP but recently I installed Windows Office 2007. Since then, I have problems with the sound system. I got a message saying that the Generic Host Process for Win32 Services has had a problem and will end. Then I have
-
In Vista, lost the Japanese IME icon in the taskbar
I used the cleaner software to help you get rid of the junk in my VIsta system and I lost my Japanese IME icon in the taskbar. I went to the regional settings deleted IME and put them again, I changed the regional language with no luck... Why can't d