Bank accounts query

Dear All ,
this is regarding maintaining different bank accounts for EoU and Domestic division:
How do we ensure that we pick the right bank a/c if we  have a common vendor between domestic and eou?
Have we need to  split the vendors in domestic and vendor in EOU  (ie duplicated the vendors) or do we differ via the payment method?
If we differ via payment method, Pl guide with  the process if we do have to select only EoU or only domestic open items?
Regards ,

Hi,
"Partner Bank Type" option is availble for these type of specific situations.
You can see the partner bank type filed in the VENDOR MASTER in the PAYMENT TRANSACTION screen , in that after the IBAN this field is available. this is 4 char specific. maintain seperate partner bank type for each bank.
AND
in the invoice you  have the field availble there you enter the parnter bank type based on the transaction. select the proper parnter bank type and at the time of F110  system picks the relevant bank accordingly.
VVR

Similar Messages

  • Bank Account Detials Query

    Good Day,
    I would like to ask how can I get the Account Usage, Account Type and Foreign Exchange Charges of the Bank Account in a Query.
    The tables that I have looked for so far is CE_BANK_ACCOUNTS and CE_BANK_BRANCHES_V
    Thanks,

    Hi Ivruksha,
    Thanks for your reply. I think it is not a bug issue because the account_owner_party_id is not -99. It seems that the records are ok. May be my SQL statement is incorrect. Can you and anybody help? Thanks.
    Regards,
    Edmond

  • Query is returning multiple records for a bank account id and party id

    Hi All,
    I am not getting why this query is returning multiple records for a particular bank account id and party id:
    SELECT instrument_payment_use_id
    ,instrument_type
    ,instrument_id
    ,start_date
    ,ext_pmt_party_id
    FROM iby_pmt_instr_uses_all
    WHERE instrument_id =:lv_num_ext_bank_account_id
    and exists (select 1 from iby_external_payees_all b where PAYEE_PARTY_ID= :lv_num_party_id and b.ext_payee_id = ext_pmt_party_id)
    I want above values to be used in api iby_disbursement_setup_pub.set_payee_instr_assignment in R12.
    Please help asap.
    Thanks

    O/P of query run for
    SELECT rowid, instrument_payment_use_id
    FROM iby_pmt_instr_uses_all
    WHERE instrument_id =6642
    AND EXISTS (
    SELECT 1
    FROM iby_external_payees_all b
    WHERE payee_party_id= 85470
    AND b.ext_payee_id = ext_pmt_party_id);
    is below:
    Rowid     INSTRUMENT_PAYMENT_USE_ID
    AABiDXAGIAABhiKAAS     236586
    AABiDXAGRAABSjtAAz     148437
    The version is R12

  • How to build query to give daily balance across bank accounts? (to then plot in a graph)

    How would one build a query to give daily balance across bank accounts? (to then plot in a graph)
    Assumptions:
    * There is a table TRANSACTIONS which includes columns TRANS_DATE, AMOUNT and BANK_ID. It does NOT include a column for balance. So current balance for a bank account is the sum of the AMOUNTs for that BANK_ID for example. Balance on date XX will be the sum
    of all AMOUNTS for that BANK_ID for all TRANS_DATE's prior and including the date XX.
    * There is not necessarily transactions on every day for each bank
    * Table BANKS which has BANK_ID and TITLE
    Would like a query that gives: Supply StartDate and EndDate for the query:
    Date Bank1Balance Bank2Balance Bank3Balance TotalBalance
    1/1/15 $100 $200 $100 $400
    1/2/15 $200 $200 $100 $500
    etc

    You'll find examples of queries for computing balances in various contexts in Balances.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    The queries in this little demo file return balances per transaction, however, whereas you appear to wish to return balances at close of business per day.  This can easily be done by means of a subquery which sums all transactions to date.  To return
    balances for all dates regardless of whether or not any transactions have been undertaken on the day, an auxiliary calendar table can be introduced into the database to plug the gaps,  The Calendar.zip file in my same OneDrive folder has means of generating
    such a table.
    With the introduction of an auxiliary calendar table into the database a query can then be written to return the balance per customer at close of business per day over the period 2009 - 2012 covered by the data in the Transactions table:
    SELECT CustomerID, Firstname, LastName, calDate,
       (SELECT SUM(TransactionAmount)
         FROM Transactions
         WHERE Transactions.CustomerID = Customers.CustomerID
         AND Transactions.TransactionDate <= Calendar.calDate) AS Balance
    FROM Calendar,Customers
    WHERE calDate BETWEEN #2009-01-01# AND #2012-12-31#
    ORDER BY CustomerID, CalDate;
    Rows for each customer/date are returned by means of the Cartesian product of the Calendar and Customers tables (the latter analogous to your Banks table), and the subquery returns the balance at close of each day by correlating the Transactions table with
    the Customers and Calendar tables, returning the sum of all transactions per customer up to and including the date in question.  In this example credit and debit transactions are expressed as positive and negative values in a single column of course,
    but where separate credit and debit columns are used its merely a case of summing (Credit-Debit), as done in some of the examples in my demo.
    To return the data in a horizontal format per date I'd suggest the use of a report which returns one row per date, and within it a multi-column subreport in across-then down column layout, linking the subreport to the parent report on the date columns.
    Ken Sheridan, Stafford, England

  • Query to get primary contact for a bank account

    Hi guys,
    I'm new to R12 and have a requirement to build a report sending a letter to the primary contact of a bank account.
    I narrowed it down to this:
    -- get relationship_id for the given bank account
    SELECT relationship_id FROM CE_CONTACT_ASSIGNMENTS
    WHERE BANK_PARTY_ID = 26433
    AND BRANCH_PARTY_ID = 26439
    AND BANK_ACCOUNT_ID = 17002
    and assignment_type = 'ACCOUNT';
    -- get party_id of contact
    SELECT subject_id FROM HZ_RELATIONSHIPS WHERE RELATIONSHIP_ID in (16091)
    and subject_type = 'PERSON';
    -- get contact details
    SELECT * FROM HZ_PARTIES WHERE PARTY_ID IN (36458)
    and status = 'A';
    This is all well and good. The problem came when I added another contact to the account so both queries we're returning 2 results. I also found that both of them had the primary flag checked (from the web view) which I find odd. Worse in none of the tables above am I able to find a primary flag column. How do I find this column and is it possible to restrict the primary flag to only one contact as it seems to be appearing for two contacts.
    Thanks

    Hi,
    you can get ext.price using following SQL.
    SELECT (ORDERED_QUANTITY * UNIT_SELLING_PRICE) EXTENDED_PRICE
    from oe_order_lines_all WHERE line_id = :P_LINE_ID
    HTH
    Sanjay

  • 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

  • Vendor payment having two bank accounts in same branch, through APP

    Hi,
    I want to make payments to a particular vendor who has two bank accounts in the same branch.
    Also his invoice says to pay 40% to one account and 60% of invoice amount to other account
    How should i move forward especially when making payments through APP.
    Kindly help.
    Regards,
    Parin Vadodaria

    thanks,
    It is allowing me to put the partner bank type in FBL1N but my query is:
    If two line items generated during FB60 it should allow me to assign different Partner Bank for different line items on the screen of FB60....
    Is that possible?
    Thanking You,
    Parin

  • Payment Process Request Status Report - unmask bank account number

    Dears,
    My requirement is to unmask bank account number in Payment Process Request Status Report (short code: IBY_FD_PPR_STATUS_PRT). It is possible to achieve?
    Thanks for any help and suggestions.
    Rgds,
    Marcin

    Sunil wrote:
    Guys,
    Can you please tell me what is the Data Definition name associated with Payment Process Request Status Report.
    Looking forward to your replies.
    Thanks.
    -SunilLogin to (XML Publisher Administrator) responsibility and click on Templates, query "Payment Process Request Status Report" and click on Go and this should show the "Data Definition". You can also click on "Payment Process Request Status Report" link and get all the details (Template Files, File name, Localized/Translatable Template ..etc).
    Thanks,
    Hussein

  • Bank Account Sttaus showing as "." instead of Submitted

    Hi,
    I created a bank account in AP Italy and saved the record. The status should be submitted but instead there is a "." So it cannot be approved.Can any profile setting to checked?
    Kindly any help will be needful for me
    Thanks and Regards

    Hi Chin,
    For the SBO std definition, the segmented account will use the code _SYS000..1 in the table or query result (select acctcode from oact). SAP AG want to differentiate the unsegmented account with segmented account. You could use -; ,; . in the segment separator. 
    In the programming languange's point of view,  it is also known that the code field of table OACT have int (integer) as its data type.
    So, the SAP AG development probably find difficulties to join the integer, numeric or alphanumeirc combination into one column. That's why they use the _SYS000..1 in their B1 product.
    JimM

  • Assign Bank account to the Customer

    Hi,
    How to assign bank account to the customer?? in AR or CM????
    pls help me n step by step fashion...
    thanks a lot n advance..

    Hi Prety,
    You may create or assign a bank account to a customer from the customer definition page in AR.
    Query the customer, go to bank account definition page and define the bank details. Once you save the record the bank account is assigned to the customer or customer site.
    The Bank and Branch information will then be available in CM. But the bank account information is maintained in payment tables (IBY).
    Hope this helps.
    Ramesh

  • DME file-f110-change of bank account

    we are making payment to a vendor thru payment method E i.e EFT and DME file gets created and is sent to bank.At the time of F110 if i change the bank account number for the same method will still dme file be created or any changes are req for this.

    Hi,
    For this query you can do the changes in bank details in APP
    First create a proposal as normally and go to the  edit proposal  and select  reallocate  button  there you can change bank details as your wish
    May be this information is useful toyou
    If you have any doubt for this feel free to ask
    Regards
    Surya

  • 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;
    /

  • 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

  • Payee Bank Account Details

    Hi Experts,
    I am developing a report of remittance advice in R12.
    in that i need payee bank account details(payee bank account number, Payee branch number).
    in front end navigation was
    payables resp-->suppliers-->entry
    in supplers query i queried for any supplier and went to banking details
    here i am seeing branch number and account number fields.
    Could you please tell me which tables store these two fields(branch number and account number of supplier form).
    Thanks
    Ashok
    Edited by: 886640 on Nov 23, 2011 4:27 AM

    Hi experts,
    for supplier detail i am running the following query but output is zero rows.
    please guide me to move forward.
    SELECT party_supp.party_name supplier_name
    , aps.SEGMENT1 supplier_number
    , ieb.BANK_ACCOUNT_NUM bank_account_num
    , branch_prof.BANK_OR_BRANCH_NUMBER branch_number
    FROM hz_parties party_supp
    , ap_suppliers aps
    , hz_party_sites site_supp
    , ap_supplier_sites_all ass
    , iby_external_payees_all iep
    , iby_pmt_instr_uses_all ipi
    , iby_ext_bank_accounts ieb
    , hz_parties party_bank
    , hz_parties party_branch
    , hz_organization_profiles bank_prof
    , hz_organization_profiles branch_prof
    WHERE 1=1
    AND party_supp.PARTY_ID=aps.PARTY_ID
    and party_supp.PARTY_ID=site_supp.PARTY_ID
    AND site_supp.PARTY_SITE_ID=ass.PARTY_SITE_ID
    AND ass.VENDOR_ID=aps.VENDOR_ID
    AND iep.PAYEE_PARTY_ID=party_supp.PARTY_ID
    AND iep.PARTY_SITE_ID=site_supp.PARTY_SITE_ID
    AND iep.SUPPLIER_SITE_ID=ass.VENDOR_SITE_ID
    AND iep.EXT_PAYEE_ID=ipi.EXT_PMT_PARTY_ID
    AND ipi.INSTRUMENT_ID=ieb.EXT_BANK_ACCOUNT_ID
    AND ieb.BANK_ID=party_bank.PARTY_ID
    AND ieb.BRANCH_ID=party_branch.PARTY_ID
    AND party_branch.PARTY_ID=branch_prof.PARTY_ID
    AND party_bank.PARTY_ID=bank_prof.PARTY_ID

  • 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.

Maybe you are looking for

  • Mac OSX Lion Server Network User Login Issue

    We have in the office a server running Mac OSX Lion, and several network users who've all been running happily for quite a will. About a month ago I was added to the system, and initially we had a few issues relating to the home directory, but we cha

  • Immutable String in a swing.text.Document

    Hello, I want to add to a text component an 'immutable' bit of text. That is a string that is one 'item', it can not be broken or split. If for example if you wanted to delete you would have to delete the whole thing, not part of it. Does anyone know

  • CATS Field selection screen

    Hi, In CATS field selection screen -> Screen groups -> under work list and Data entry selection, I have chosen the fields Network, Activity Type, Activity, Sender Cost center, Plant, Total and Short text to be displayed / input. Out of these in CAT2,

  • Bind Directly to Driver File

    I have an ASP application that connects to a Oracle 9 driver through a DSN. My manager wants to eliminate the DSN connection and bind directly to the driver file. I am seeking help in identifying the syntax as well as the necessary files I need to ha

  • Help me.Skype Won't open!

    When I opened my PC with WIndows XP ,i conected to my internet and then tried to acces skype witch was working,till i close my pc.It keeps putting me to download a index.html wich opens my browser to a page that has nothing on it.Please help me! Atta