R12 Supplier Bank Account Update API error

Hi All ,
While updating the supplier bank accounts by using API (iby_ext_bankacct_pub.update_ext_bank_acct). i am getting below error.
The record is locked by other users for modifications.
Could you please help on this ...
Thanks in Advance,
Thanks,
Lakshminarayana

One of the reason of this error is incorrect object_version_number. In API iby_ext_bankacct_pub.update_ext_bank_acct there is a parameter p_ext_bank_acct_rec, in this record type one field is object_version_number. Pass the correct version number which is same as for the given bank account.
Below is the query to find the correct object_version_number --
SELECT object_version_number
FROM IBY_EXT_BANK_ACCOUNTS
WHERE ext_bank_account_id = <bank_account_id>;
Thanks,
PC

Similar Messages

  • Supplier Bank Account Load API

    Hi all,
    Can you any one please let me know if there is any API to load Supplier Bank Account Information for existing suppliers.
    Thanks,
    Vinod.

    You should probably ask this question in an E Business Suite forum.

  • API for end dating a Supplier Bank account- R12

    Hi
    I'm looking for a API to end date a supplier bank account.
    Could someone help me wiht this.
    THanks

    Hi;
    All APIs are listed in Oracle Integration Repository.First check below
    http://irep.oracle.com/index.html
    Please check below which could be helpful for your issue:
    How to set Bank Account Uses End Date to Specific Supplier Site [ID 726763.1]
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Update supplier bank account details using open Interface

    In R12, how do you update/create the supplier bank accounts for existing supplier and supplier site? Is it correct that the bank account details cannot be
    imported individually and it can only be imported along with the supplier or supplier site? Please provide the steps if we can update the bank account details (like the import program and all that?)
    Thanks in advance!
    -Shirish

    One of the reason of this error is incorrect object_version_number. In API iby_ext_bankacct_pub.update_ext_bank_acct there is a parameter p_ext_bank_acct_rec, in this record type one field is object_version_number. Pass the correct version number which is same as for the given bank account.
    Below is the query to find the correct object_version_number --
    SELECT object_version_number
    FROM IBY_EXT_BANK_ACCOUNTS
    WHERE ext_bank_account_id = <bank_account_id>;
    Thanks,
    PC

  • Supplier Bank Accounts, unable to view banking details at site level - R12

    Hi All,
    I've loaded Supplier banks & branches, and linked bank account with supplier through API.
    However, when I query on the Supplier Banking Details screen (Payables Super User > Suppliers > Inquiry > Suppliers > Banking Details) and select Site for account assignment level and select the site name, I do not see anything.
    From the backend tables, I can see the bank accounts created and linked to suppliers. However, nothing is displayed after querying there or on the Search Supplier Bank Account Assignment screen either.
    Is it a configuration / setup / profile / security setting that's preventing the records from being displayed on the screen?
    Any help / advise is appreciated - apps version R12.1.3
    Thanks in advance,
    LG

    Using the overloaded version of the API appears to add a bank account that's displayed by the user interface in Vendors. No warranties since I can't explain why (just guess). Association value appears to be S for supplier and SS for site.
    set serveroutput on
    DECLARE
    lv_return_status varchar2(1);
    lv_msg_count number;
    lv_msg_data varchar2(2000);
    l_bank_id number;
    l_branch_id number;
    l_end_date date;
    l_start_date date;
    l_acct_id number;
    l_response IBY_FNDCPT_COMMON_PUB.Result_rec_type;
    l_bank_acct_rec apps.iby_ext_bankacct_pub.extbankacct_rec_type;
    BEGIN
    l_bank_acct_rec.bank_id := 14761;
    l_bank_acct_rec.branch_id := 662490;
    l_bank_acct_rec.country_code := 'US';
    l_bank_acct_rec.bank_account_name := 'YOUNG DAVID 2';
    l_bank_acct_rec.bank_account_num := '9999990380';
    l_bank_acct_rec.currency := 'USD';
    l_bank_acct_rec.acct_type := 'CHECKING';
    select party_id into l_bank_acct_rec.acct_owner_party_id
    from AP.ap_suppliers where segment1 = '18606407610';
    IBY_EXT_BANKACCT_PUB.create_ext_bank_acct (
    p_api_version => 1,
    p_ext_bank_acct_rec => l_bank_acct_rec,
    x_acct_id C,
    --x_start_date     => l_start_date,
    --x_end_date          => l_end_date,
    x_return_status => lv_return_status,
    x_msg_count => lv_msg_count,
    x_msg_data => lv_msg_data,
    x_response => l_response
    IBY_EXT_BANKACCT_PUB.create_ext_bank_acct (
    p_api_version => 1,
    p_init_msg_list => FND_API.G_FALSE,
    p_ext_bank_acct_rec => l_bank_acct_rec,
    p_association_level => 'S' ,
    p_supplier_site_id => null ,
    p_party_site_id => null ,
    p_org_id => 1712,
    p_org_type          =>     'OPERATING_UNIT',
    x_acct_id => l_acct_id,
    x_return_status => lv_return_status,
    x_msg_count => lv_msg_count,
    x_msg_data => lv_msg_data,
    x_response => l_response
    dbms_output.put_line(lv_return_status||'-'||lv_msg_count||'-'||lv_msg_data|| '-' || l_acct_id);
    dbms_output.put_line(l_response.Result_Code ||'-'||l_response.Result_Message );
    end;
    /

  • API to load Supplier Bank Account Information

    Hi all,
    Can you any one please let me know if there is any API to load Supplier Bank Account Information for existing suppliers.
    Thanks,
    Vinod.

    In Release 11i the answer is no - direct load to tables.
    In Release 12 the answer is yes, check out:
    IBY_EXT_BANKACCT_PUB.create_ext_bank
    IBY_EXT_BANKACCT_PUB.create_ext_bank_branch
    IBY_EXT_BANKACCT_PUB.create_ext_bank_acct
    IBY_DISBURSEMENT_SETUP_PUB.Create_External_Payee
    IBY_DISBURSEMENT_SETUP_PUB.Set_Payee_Instr_Assignment
    Regards,
    Gareth

  • Duplicate Supplier Bank Account Details

    Hi Friends,
    I am an Oracle Finance Functional Consultant. I got into an issue i regards to Duplicate supplier bank account details. While making payment to on of the suppliers through payment workbench in Oracle Payables, under remit-to account number field, i can see 2 account numbers xxxxx1234 and xxxxx1234 out of which, i understood that one is a duplicate account number. So, can someone please help me deleting that duplicate account.
    Thanks in advance..
    Regards,
    Venkat

    Hi Raju,
    Thanks for your valuable time and reply. I checked the document on cash management. But, unfortunately didn't find any information required. Actually, there are 2 supplier bank accounts created through "Bank Details" option in Oracle Payables.
    Example:
    for Dallas (supplier site) : xxxxx1234 (A/c number)
    for Chicago (supplier site): xxxxx3456 (A/c number)
    so, in payment workbench, if i select the supplier site as Dallas, then i can see xxxxx1234 twice in the LOV under Remit-to account number field.
    And if i select the supplier site as Chicago, then i can see xxxxx3456 twice in the LOV under Remit-to account number field.
    I am not able to understand why the account number is getting doubled. Can you please help me understanding the reason behind this doubling of account numbers.
    Regards,
    Venkatesh

  • What is no masking for supplier bank account

    Hi,
    what is no masking for supplier bank account? Can someone explain or provide a link please?
    Regards
    846691

    Pl post details of EBS version. Pl see if these MOS Docs can help
    How To Mask Supplier Bank Account Numbers In Release 12?          (Doc ID 436993.1)
    Where Can I Set No Masking For Supplier Bank Account          (Doc ID 762325.1)
    How To Change the Supplier Bank Account Masking in UI          (Doc ID 877074.1)
    HTH
    Srini

  • Supplier Bank account error Attribute BankPartyid in ExtBankAccountsAM.ExtB

    Hi All,
    We are currently experiencing an issue where by a user attempts to create a Bank Account for an Employee at site level and upon selecting apply an error message is returned; Attribute BankPartyid in ExtBankAccountsAM.ExtB
    We are using Oracle EBS 12.1.3 Financials, the page navigation is UK AP Super User > Suppliers > Entry
    Document Name /oracle/apps/iby/fundcapture/setup/components/webui/CreateExtBankAcctPG
    Has anyone had issues previously where this error is returned. Its a bit intermittent, and seems more like a PC issue. The same user has logged into Oracle using their own credentials on my PC and not exeprienced the issue. I've attempted to clear down their PC Cache and cleared down the Global Cache configuration. I would like to attempt to log in using my own credentials on the effected users machine and attempt to replicate, however, I would like to avoid this as we have auditing set up, so wouldn't want my name showing on Bank set up reports (unless really neccessary)
    I hope this provides enough detail and an overview of the scenario. If you require any further information, please let me know.
    Thanks
    Simon

    Hi,
    There is at least one known bug that sounds similar. In note 1600150.1, R12:Error When Creating External Bank Accoount "Attribute BankPartyId in ExtBankAccountsAM.ExtBankBranchesVO1 is required", patch 16921273 is suggested.
    In note 1668742.1, Creating Customer Bank Account: Attribute BankPartyid in ExtBankAccountsAM.ExtBankBranchesVO1 is required, the solution was to ensure that all descriptive flexfield values were entered.
    Regards,
    Cheryl

  • R12 Search on Supplier Bank Account Number

    Hi,
    We want to search our suppliers on the bank account number, which is stored at site level. But I'm missing
    the field Bank account number on the Suppliers Inquiry Page.
    Is is possible to add this field to the Suppliers inquiry page?

    Hi
    Please find the attached document for the Bank details which you were Refering for . Also i dnt find any source for atatching the doc , so i will tell the naviagtion
    Invoice > Supplier > Inquiry
    Here clik you will the supplier page on the left hand side you will find the Bank details . Please give the bank account number and do the necessary transaction .
    Please update me once ur question is rectified
    Regards,
    user12025158
    Edited by: user12025158 on Aug 19, 2010 3:49 AM

  • R12 Supplier banks update locking HZ Tables problem

    Hi all,
    In R12 I need to update some bank_branch data. Using APPS.IBY_EXT_BANKACCT_PUB.update_ext_bank_branch api I get locking errors
    How to find correct object_version_number values below?
    l_bank_branch_rec_type.bch_object_version_number
    l_bank_branch_rec_type.typ_object_version_number
    l_bank_branch_rec_type.rfc_object_version_number
    l_bank_branch_rec_type.eft_object_version_number
    Thanks in advance.

    Hi,
    version: 12.1.1
    I tried to call api
    l_bank_branch_rec_type.branch_name := r8.branch_code||'/'||r8.swift;
    l_bank_branch_rec_type.branch_type := 'OTHER';
    l_bank_branch_rec_type.bank_party_id := l_bank_id;
    l_bank_branch_rec_type.branch_number := nvl(r8.branch_code,'');
    l_bank_branch_rec_type.branch_party_id := l_branch_id;
    l_bank_branch_rec_type.bic := r8.swift;
    l_bank_branch_rec_type.bch_object_version_number := 1;
    l_bank_branch_rec_type.typ_object_version_number := 1;
    APPS.IBY_EXT_BANKACCT_PUB.update_ext_bank_branch (
    p_api_version => 1.0,
    p_init_msg_list => 'T',
    p_ext_bank_branch_rec => l_bank_branch_rec_type,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    x_response => l_response
    and get error
    This record in table HZ_PARTIES cannot be locked as it has been updated by another user.
    l_bank_branch_rec_type.bch_object_version_number
    l_bank_branch_rec_type.typ_object_version_number
    changes every update but ho to get correct object_version_number values?
    Thanks in advance.

  • Creating Supplier Bank Accounts and assigning to Supplier.

    Hi Team,
    Step 1: I have created Suppliers,Sites and contacts.
    Step 2: I have created one Supplier Bank and one Supplier Bank Branch.
    In HZ_PARTIES I am able to see 3 records outof which one corresponds to Bank record and the other branch record and the other one is the relationship one.
    Step 3 : For Account creation and assigning to Supplier level I am using the following API iby_ext_bankacct_pub.create_ext_bank_acct and passing these values,
    p_in_acct_rec.bank_id := 62462; (party_id from hz_parties)
    p_in_acct_rec.branch_id := 62464; (partyd_id from hz_parties)
    p_in_acct_rec.country_code := 'DE';
    p_in_acct_rec.bank_account_name := 'AKU BÜROMÖBELMNTAGE';
    p_in_acct_rec.bank_account_num := 8707629220;
    p_in_acct_rec.acct_owner_party_id := 23267; (party_id from ap_suppliers)
    p_in_acct_rec.currency := 'GER';
    p_in_acct_rec.object_version_number := '1.0';
    p_in_acct_rec.start_date := sysdate;
    p_in_acct_rec.foreign_payment_use_flag := 'Y';
    p_in_acct_rec.payment_factor_flag := 'N';
    iby_ext_bankacct_pub.create_ext_bank_acct
    p_api_version => 1.0,
    p_init_msg_list => fnd_api.g_true,
    p_ext_bank_acct_rec => p_in_acct_rec,
    p_association_level => 'S',
    p_supplier_site_id => 1376, (getting from ap_suppliers)
    p_party_site_id => 16202,
    p_org_id => 304,
    p_org_type => 'OPERATING_UNIT',
    x_acct_id => l_account_id,
    x_return_status => v_return_status,
    x_msg_count => v_msg_count,
    x_msg_data => v_msg_data,
    x_response => x_result_rec_type
    I am passing the above values to the API.
    API is running succesfully.
    I am able to check account details in the following table IBY_EXT_BANK_ACCOUNTS
    After running the above API records are getting populated in these 3 tables IBY_EXT_BANK_ACCOUNTS, iby_account_owners, IBY_PMT_INSTR_USES_ALL
    I am using the following query to cross verify whether the account is created and assigned to Supplier or not,
    select s.vendor_name, ss.vendor_site_code,
    eb.bank_name, ebb.bank_branch_name, ebb.branch_number,
    eba.BANK_ACCOUNT_NUM, eba.BANK_ACCOUNT_NAME
    from ap.ap_suppliers s, ap.ap_supplier_sites_all ss,
    apps.iby_ext_bank_accounts eba,
    apps.iby_account_owners ao, apps.iby_ext_banks_v eb, apps.iby_ext_bank_branches_v ebb
    where s.vendor_id = ss.vendor_id
    and ao.account_owner_party_id = s.party_id
    and eba.ext_bank_account_id = ao.ext_bank_account_id
    and eb.bank_party_id = ebb.bank_party_id
    and eba.branch_id = ebb.branch_party_id
    and eba.bank_id = eb.bank_party_id;
    I am able to see the the record after running the above query.
    I want the account to be attached to the Supplier level.
    If I go to Supplier screen --> and if go to Bank details, I am unable to see the bank account attached to this supplier.

    Hi,
    Did you solved the issue? I have the same task and it works for me. Check if you specify the supplier level in the bank details. Once you specify the association level equal to 'S' you have to choose from the list item - "Supplier level". Here is my code which is same as yours i think...:
    set serveroutput on size 1000000;
    DECLARE
    l_bank_acct_rec apps.iby_ext_bankacct_pub.extbankacct_rec_type;
    out_mesg apps.iby_fndcpt_common_pub.result_rec_type;
    L_ACCT NUMBER;
    l_assign apps.iby_fndcpt_setup_pub.pmtinstrassignment_tbl_type;
    l_payee_rec apps.iby_disbursement_setup_pub.payeecontext_rec_type;
    l_return_status VARCHAR2 (30);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2 (3000);
    l_msg_dummy VARCHAR2 (3000);
    l_output VARCHAR2 (3000);
    l_bank_id NUMBER;
    l_branch_id NUMBER;
    l_bank VARCHAR2 (1000);
    l_acct_owner_party_id NUMBER;
    l_supplier_site_id NUMBER;
    l_party_site_id NUMBER;
    --exec_bank_acct EXCEPTION;
    l_msg_index NUMBER := 0;
    V_RETURN_STATUS varchar2(20);
    V_MSG_COUNT number;
    v_msg_data varchar2(500);
    BEGIN
    FND_GLOBAL.APPS_INITIALIZE(1112, 50639, 200);
    l_bank_acct_rec.bank_id := 5087; --(party_id from hz_parties)
    l_bank_acct_rec.branch_id := 5087; --(partyd_id from hz_parties)
    l_bank_acct_rec.country_code := 'BG';
    l_bank_acct_rec.bank_account_name := '45623123';
    l_bank_acct_rec.bank_account_num := 123145124123;
    l_bank_acct_rec.acct_owner_party_id := 183732;-- (party_id from ap_suppliers)
    l_bank_acct_rec.currency := 'BGN';
    l_bank_acct_rec.object_version_number := '1.0';
    l_bank_acct_rec.start_date := sysdate;
    --l_bank_acct_rec.foreign_payment_use_flag := 'Y';
    --l_bank_acct_rec.payment_factor_flag := 'N';
    apps.iby_ext_bankacct_pub.create_ext_bank_acct
    (p_api_version => 1.0,
    p_init_msg_list => 'F',
    p_ext_bank_acct_rec => l_bank_acct_rec,
    p_association_level => 'S',
    p_supplier_site_id => 3020,
    p_party_site_id => 43594,
    p_org_id => 81,
    p_org_type => 'OPERATING_UNIT',
    x_acct_id => l_acct,
    x_return_status => l_return_status,
    x_msg_count => l_msg_count,
    x_msg_data => l_msg_data,
    x_response => out_mesg
    COMMIT;
    dbms_output.put_line (l_return_status);
    IF l_return_status IN ('E') THEN
    dbms_output.put_line (l_msg_count);
    FOR i IN 1 .. l_msg_count
    LOOP
    apps.fnd_msg_pub.get( i, apps.fnd_api.g_false, l_msg_data, l_msg_index );
    l_msg_data := l_msg_data || 'Bank Account API Error ';
    DBMS_OUTPUT.PUT_LINE( 'Error :- '||l_msg_data);
    END LOOP;
    dbms_output.put_line (l_msg_data);
    end if;
    end;
    /EBS Version: 12.1.3
    DB: 11.1.0.7.0
    BR,
    Bahchevanov.

  • R12: Supplier Banking Details - LOV does not return value

    Hi!
    I am having a problem when selecting a Bank for a supplier.
    I click on the icon to open the LOV and search for the bank i want to add for a particular supplier.
    When i click on the select button, the value of the bank name does not appear in the text box.
    In another environment it works perfectly.
    Please help..
    Vik

    Hi Vik,
    In R12, while defining the bank and bank accounts, there is a section called ACCOUNT OWNER and USE, where we specify that this bank can be used for which application for e.g. Payables, Payroll, Recievables and Treasury,
    Can you please check that the above bank account is enabled for use by Payables application.
    I am thinking that might be one of the cause , why the bank name is not available at the supplier level..
    Thanks
    Manish Jain.

  • R12 Supplier Conversion by using API  OR Standard interface table ?

    R12 Supplier Conversion should be done via  API  OR  Standard interface table? Why ?
    Which approach is more suitable  kindly let us know your thoughts.
    Thanks  in advance

    We have used interface tables just to have better control and reprocessing abilities. You may need to be little careful about the TCA tables.

  • Customer Bank Accounts Interface/API

    Hello guys
    I wonder if you can help me please. I've defined a new bank account in AR and I want to load customers under my new bank account. Is there an Interface or API to programmatically do this? If so, please tell me what interface table or API to use. I'm on Oracle Apps R11.5.10
    Thanks for all you help.

    Hi,
    Review the following links:
    Customer Conversion
    Customer Conversion
    API for loading Bank account details for the Customer
    API for loading Bank account details for the Customer
    Note: 296593.1 - How To Load Banks Into AP Using Ar_bank_directory Table?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296593.1
    Oracle Integration Repository
    http://irep.oracle.com
    Regards,
    Hussein

Maybe you are looking for