API for RA_CUSTOMER_TRX_ALL to update attribute columns

Hi,
Not sure if this is the right place for this but does anybody know if there is an API for updating RA_CUSTOMER_TRX_ALL table
I'm wanting to update the Attibute columns.
Thanks
Malcolm

Oracle typically does not provide APIs for ATTRIBUTE columns as these need to be maintained by customers.
HTH
Srini

Similar Messages

  • Updating attribute columns

    Hi,
    we are on oracle applications 11i.
    We have a requirement to create a descriptive flexfield in the items form and suppliers form to accept ids generated in another system. update would be from database end.
    what is the impact of updating attribute columns in two tables: MTL_SYSTEM_ITEMS_B and po_vendors with a simple procedure, i.e without using existing Oracle APIs?
    Regards

    Hi,
    here is why i think i need to insert a row the value set table : fnd_flex_values .
    after i update the record of the table and alter attribute field with value XXX for value set segment GLOBAL_ID, I go to the application and query the record. It gives me error:
    Value XXX for the flexfield segment Global ID does not exist in the value set XX_GLOBAL_ID.
    this error only goes away when i insert the value XXX to the descriptive flexfield segment values list.
    I defined the value set as independent. If you have another mean where i can accomplish this, I will like to know about it.
    From ittoolbox forum i had the name of the package, which is fnd_flex_values_pkg. I need more details on the tables that i need to update or insert rows into and about the package; if possible.
    thanks

  • R12 API for Payment Method Update at supplier site

    Hi
    I am using api AP_VENDOR_PUB_PKG.Update_Vendor_Site to update the Payment Method at Supplier Site level. The below code executes with no error but dont update the payment method. The requirement is to update the payment method to SEPA
    Code :
    DECLARE
    v_error_reason VARCHAR2 (2000) := NULL;
    v_msg_data VARCHAR2 (1000) := NULL;
    v_msg_count NUMBER := NULL;
    v_return_status VARCHAR2 (100) := NULL;
    v_vensite_rec_type      AP_VENDOR_PUB_PKG.r_vendor_site_rec_type;
    ext_payee_rec           IBY_DISBURSEMENT_SETUP_PUB.EXTERNAL_PAYEE_REC_TYPE;
    BEGIN
    DBMS_OUTPUT.put_line ('BEFORE apps initialization');
    --Fnd_Global.apps_initialize(-1,20639,200);
    fnd_global.apps_initialize(730908,141200,401);
    --DBMS_OUTPUT.put_line ('AFTER apps initialization');
    v_error_reason := NULL;
    v_return_status := NULL;
    v_msg_count := NULL;
    v_msg_data := NULL;
    --ext_payee_rec.default_pmt_method := 'SEPA';
    v_vensite_rec_type.org_id := 2796;
    v_vensite_rec_type.vendor_site_code := '0653-01NEUSS';
    v_vensite_rec_type.ext_payee_rec.default_pmt_method := 'SEPA';
    --v_vensite_rec_type.ext_payee_rec.default_pmt_method:= 'CHECK';
    DBMS_OUTPUT.put_line ('BEFORE remittance API');
    AP_VENDOR_PUB_PKG.Update_Vendor_Site
    ( 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,
    x_return_status =>v_return_status ,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data,
    p_vendor_site_rec =>v_vensite_rec_type,
    p_vendor_site_id => '393130'
    commit;
    DBMS_OUTPUT.put_line ('AFTER pymt mtd API');
    DBMS_OUTPUT.put_line (v_return_status);
    DBMS_OUTPUT.put_line (v_msg_count);
    DBMS_OUTPUT.put_line (v_msg_data);
    IF v_return_status = fnd_api.g_ret_sts_success THEN
         IF v_msg_count >= 1 THEN
    FOR i IN 1 .. v_msg_count
    LOOP
    IF v_error_reason IS NULL THEN
    v_error_reason := SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false), 1, 255);
    ELSE
    v_error_reason := v_error_reason|| ' ,'|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false), 1, 255);
    END IF;
    DBMS_OUTPUT.put_line ('VENDOR_remittance email UPDATE API ERROR-' || v_error_reason);
    END LOOP;
    END IF;
    ROLLBACK;
    ELSE
    DBMS_OUTPUT.put_line ('The updateion is sucessful');
    COMMIT;
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.put_line (SQLERRM || '-' || SQLCODE);
    END;
    the fnd_api.g_ret_sts_success returns value as 'U' . Means it did not completed successfully
    Do I need to user following API ?
    IBY_DISBURSEMENT_SETUP_PUB.Update_External_Payee instead of above API?
    Thanks for help
    Best Regards
    Nikhilesh
    Edited by: user10238025 on Apr 26, 2013 5:38 AM

    Hi Irfan,
    thanks for reply.
    we are on application version 12.1.1 .
    But i have one doubt here, if we update directly ap_supplier_sites_all table, it won't impact on TCA tables know?
    Thanks.
    Edited by: user627525 on Jul 27, 2010 12:16 AM

  • API for loading and updating Workplans into Projects

    Hi Projects Gurus,
    Is there any API that can load workplan into Project Accounting module?
    Thanks,

    Dear,
    I Assume when you say project accounting module means oracle project management module.
    As per my understanding there is no API for the same but I guess you can use Microsoft project plan integration with oracle projects and create the workplan in oracle project management.
    Thanks
    :-)

  • Oracle API for sale rep update

    Hi ,
    I want to update sales rep information by using the API -HZ_CUST_ACCOUNT_SITE_V2PUb.update_cust_site_use.
    I have four fields which i want to update through the form..please help me in writing the syntax to achieve this.I want to write this syntax in when -pressed-button trigger.
    Thanks
    .

    Please check the document "Oracle CRM Application Foundation API Reference Guide" on this link
    http://download.oracle.com/docs/cd/A97501_01/html/crmdoc.html
    The Oracle CRM Application Foundation 'API Reference Guide' Part No. A90092-03. Page 3-24. Package JTF_RS_SALESREPS_PUB
    contains the following procedures:
    - Create SalesRep
    - Update SalesRep
    If you find my (or anyone else's ) reply helpful or correct, please mark it so.+
    Thanks
    Naveed

  • Can we update oracle standard table Attributes column by custom trigger?

    Can we update the oracle Standard table's Attributes column using custom trigger? Is it allowed by oracle? Is this supported?
    Thanks

    ATTRIBUTE columns store DFF information and therefore custom code can be used to update their contents. Care must be taken that such updates do not cause "logical" corruption (an ATTRIBUTE column may be designed to store the color of a product, for example, but an incorrect SQL statement can update the value to a numeric one, thus causing corruption - Oracle does not have a means to check the validity of these update statements). Also, some localizations, such as Brazil and India, reserve some ATTRIBUTE columns for their use - updating such columns is not supported. More information may be found in the Flexfields Guide for your release at http://www.oracle.com/technology/documentation/applications.html
    HTH
    Srini

  • API for AP_BANK_ACCOUNTS

    Is there an API for Bank Accounts update? I am specifically looking for an API that allow me to update a DFF in the AP_BANK_ACCOUNTS table. The Bank Account record has already been created, and I need to update a DFF on this table using an API.
    thanks
    Jay.

    Hi Srini,
    Unfortuantely, Development has not released any API's for maintaing bank account information in the 11i version of Oracle Applications. This is only available in R12.
    Cheryl

  • Issues in updating OE_ORDER_HEADERS_ALL attribute columns in trigger

    I have the requirement to update the attribute4 of the oe_order_headers_all based on certain data validations. A DFF has been defined on attribute4 as well. When i try to create a before insert trigger on oe_order_headers_all to update the attribute4 values, trigger completes without any errors, but the attribute4 is not getting updated with the data.
    Is there any restriction to insert the values on attribute columns of the Oracle base tables? Because when i tried the after update trigger the attribute columns could retain the values.
    Can somebody help me out on this issue?

    Create Or Replace Trigger OE_HEADER_TRIG_TEST
    Before insert
    ON OE_ORDER_HEADERS_ALL
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    declare
    v_customer_number ra_customers.customer_number%type;
    v_ship_to_org_id oe_order_headers_all.ship_to_org_id%type ;
    v_country_code varchar2(50);
    begin
    v_ship_to_org_id := :NEW.ship_to_org_id;
    select rac.customer_number,
    country
    into v_customer_number,
    v_country_code
    from ra_addresses_all raa,
    ra_site_uses_all ras,
    ra_customers rac
    where ras.address_id = raa.address_id
    and ras.site_use_id = v_ship_to_org_id
    and ras.primary_flag = 'Y'
    and raa.customer_id = rac.customer_id;
    :new.attribute4 := v_customer_number;
    :new.attribute5 := v_country_code;
    exception
    when others then
    raise_application_error(-20202,'Error in trigger'||sqlerrm);
    end;
    **I have verified that attributes are getting assigned in the trigger but is not stored in the table.

  • Issue with update_task API for updating Scheduled Dates for Task..

    Hi All,
    We have a requirement to update the project and task dates to a specified period from the current dates. I dont want to update all the tasks, and hence using the update_task API. The scheduled_finish_Date is the column from "pa_proj_elem_ver_schedule" which we want to update. As, this is the date which is shown on the Workplan tab for the tasks for (Scheduled Start and Scheduled Finish Date). I want to extend this scheduled_finish_Date to some days , say for eg. 60 days.
    To achieve, that update_task api is being used and the parameter for the scheduled_date is : p_scheduled_finish_date, this is passed as call to pa_project_pub.update_task API.
    We are also updating the completion data, which is happening fine and is updating the pa_tasks : completion_date column.
    Problem is with scheduled date, Please let me know how to go about this issue.
    Here is the sample code for calling the API :
    pa_project_pub.update_task
    (p_api_version_number => l_api_version_number_i,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => lt_return_status,
    p_pm_product_code => l_pm_product_code,
    --p_structure_updates_flag      => g_no,
    p_pm_project_reference => l_proj_reference,
    p_pa_project_id => p_project_id_i,
    p_pm_task_reference => p_pm_task_reference_i,
    p_pa_task_id => p_task_id_i,
    p_task_name => p_task_name_i,
    p_task_number => p_task_number_i,
    p_pa_parent_task_id => p_parent_task_id_i,
    p_task_completion_date => p_tsk_actual_finish_date_i,
    --Transaction Date (shown on the screen)
    p_scheduled_finish_date => p_tsk_sched_end_date_i,
    -- Scheduled Date (shown on the screen)
    p_out_pa_task_id => l_pt_task_id,
    p_out_pm_task_reference => l_pt_task_ref
    I am really not sure if I am missing anything here, please suggest as to how to update the Schedule Start and Finish Dates using the API.
    Waiting in anticipation!
    Thank you
    Anand.

    Hello,
    Make sure the wf is active in QA (re-activate if possible), check the transport for errors, check authorizations for WF-BATCH perhaps delete and recreate via SWU3?), refresh the buffers (SWU_OBUF).
    Please let me know if any of this helps.
    regards
    Rick Bakker
    Hanabi Technology

  • How to update the Interface API for an integrator

    I need to update the data type of one of the procedure's parameters used as interface API for an integrator used for our application. What all scripts I need to run in order to make the integrator conformed with API changes.
    I have modified the parameter's data type in PL/SQL API and made the corresponding changes in bne_interface_cols_b. I am facing the following error message on click of upload button.
    Unable to load validator oracle.apps.ozf.webadi.integrator.component.OzfOperatingUnitComponent.;Unable to upload column CODE_CONVERSION_WEBADI.P_ORG_ID. Data type is 12 when the expected type is 2.

    Update following records for correct type.
    select * from bne_attributes
    where attribute_code in (select attribute_code fron bne_param_list_items
    where param_list_code = (select upload_param_list_code fron
    bne_interfaces_vl where integrator_code = <your integrator>))
    Message was edited by:
    DineshS

  • Need API for updating vacancy in "DateTrack History of Assignments"

    Hi Friends,
    I am updating organization,job,location and Grade through hr_assignment_api.update_emp_asg_criteria at assignment level. Here I want to update the vacancy Name located at "DateTrack History of Assignments". WHich API I need to use to update "DateTrack History of Assignments".
    "DateTrack History of Assignments"
    For Getting this screen, goto Assignment screen,
    then click on "Date Track History"
    then click on "full History".
    I am seeing old vacancy names but not new one. I need to update that vacance name.
    Thanks in advance

    Hi Subhabrata,
    I am not sure if there is any standard API to do this update.
    Looks like you have requirement to pay the commission only when the invoice is fully paid.
    Customizing like this is not the best option. There are outbox ways to design the collection/plan so that you pay commission when the invoice is paid.
    Thanks
    Srini Parimi
    Edited by: user12263675 on Dec 29, 2009 10:40 AM

  • API for updating pay_people_groups table..

    Hi,
    Is there any API for updating pay_people_groups table. I know we can do it using hr_assignment_api.update_emp_asg_criteria but this API updates the assignement with the new pay_group_id. I want to know is there is any API which can only update the pay_people_groups and not the assignment.
    Regards,
    Shabana.

    Hi,
    Technically you want update values for people group. If you remember At the time of definition of people group you created value set and attached people group flex field.
    People group are created on the basis of combination of segments. So you have to update only values not people group.
    I doubt oracle provides API to update key flex field.
    You may get API to update values try out that option.
    Hope this helps.
    Sathish

  • API for Updating fileds in cn_payment_transactions_all table(OIC module)

    Hi,
    I have a requirement to put the Sales Commission Lines (Oracle Incentive Compensation module) on hold for a particular Salesperson if the corresponding invoice line has an amount due not equal to zero.
    Now to put the commission lines on hold I need to update the hold_flag of the cn_payment_transactions_all table.
    I need help to find the API which I can use to update the hold_flag.I searched metalink on the same but did not find anything suitable.
    Please advice which API I should use or any reference where I can find any suitable documents on that.Can i update the hold_flag directly in case i do not find any API to update this flag.
    Thanks in advance......
    Regards
    Subhabrata
    Edited by: user10816003 on Dec 28, 2009 6:05 AM

    Hi Subhabrata,
    I am not sure if there is any standard API to do this update.
    Looks like you have requirement to pay the commission only when the invoice is fully paid.
    Customizing like this is not the best option. There are outbox ways to design the collection/plan so that you pay commission when the invoice is paid.
    Thanks
    Srini Parimi
    Edited by: user12263675 on Dec 29, 2009 10:40 AM

  • Update a column for a subset of data

    Hi all,
    I hope you can help me with some suggestions in how to solve the issue i have for the table below
    SQL> select * from table1;
    NAME                         ID CONCAT               SAME_GR
    A                            10 100|200|300
    B                            11 100|200|300
    C                            12 100|200
    D                            10 100|200|300
    SQL> What i need to do is to flag the rows which have the same ID & Concat value by updating the same_gr column with the same value, something like
    SQL> select * from table1;
    NAME                         ID CONCAT               SAME_GR
    A                            10 100|200|300              GR1
    B                            11 100|200|300              GR2
    C                            12 100|200                   GR3
    D                            10 100|200|300             GR1
    SQL> One important note is that the value in SAME_GR column should have the form of GR<sequence>
    I've been trying to use lag/lead functions but i can't succeed in updating the column with the same value for each group of rows where ID & CONCAT are the same.
    I forgot to mention i'm on 11gR1.
    Any help is very much appreciated.
    Cheers,
    Dani
    Edited by: DanyC on Jun 18, 2010 10:40 AM

    yes, you can.. all you need to do add is sum operation. after dense_Rank column sepecify + 254 and thus it will add up the value with dense rank output.
    sample run...
    PRAZY@11gR2> select ename,dense_rank() over (partition by deptno order by empno) from emp;
    ENAME      DENSE_RANK()OVER(PARTITIONBYDEPTNOORDERBYEMPNO)
    CLARK                                                    1
    KING                                                     2
    MILLER                                                   3
    SMITH                                                    1
    JONES                                                    2
    SCOTT                                                    3
    ADAMS                                                    4
    FORD                                                     5
    ALLEN                                                    1
    WARD                                                     2
    MARTIN                                                   3
    BLAKE                                                    4
    TURNER                                                   5
    JAMES                                                    6
    14 rows selected.
    Elapsed: 00:00:00.13
    PRAZY@11gR2> select ename,dense_rank() over (partition by deptno order by empno)+300 from emp;
    ENAME      DENSE_RANK()OVER(PARTITIONBYDEPTNOORDERBYEMPNO)+300
    CLARK                                                      301
    KING                                                       302
    MILLER                                                     303
    SMITH                                                      301
    JONES                                                      302
    SCOTT                                                      303
    ADAMS                                                      304
    FORD                                                       305
    ALLEN                                                      301
    WARD                                                       302
    MARTIN                                                     303
    BLAKE                                                      304
    TURNER                                                     305
    JAMES                                                      306
    14 rows selected.
    Elapsed: 00:00:00.01Regards,
    Prazy

  • Getting error when updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1

    Hi,
    I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
    the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
    updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
    any help in this regard is highly appreciated
    Thanks,
    Santosh Sutar  

    Hi Satosh Sutar,
    Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
    From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
    And here is an article about updating apps for Office and menifest schema files in the project for your reference:
    How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for