Loading

Sunday, May 26, 2013

Query to fetch Trading partner Details of Bank Branch for EDI Payments








Below query is shared by our Guest Author jain.anurag1988@gmail.com , This query is used to verify whether the Trading partner setup exists for a BANK BRANCH.


SELECT DISTINCT cba.bank_account_name, 
                cvv.bank_branch_name, 
                bktph.tp_code
           FROM ce_bank_accounts cba,
                ce_bank_branches_v cvv,
                hz_contact_points hcp,
                ece_tp_headers bktph,
                ece_tp_details bktpd
          WHERE hcp.owner_table_id     = cba.bank_branch_id
            AND cvv.branch_party_id    = cba.bank_branch_id
            AND bktph.tp_header_id     = hcp.edi_tp_header_id(+)
            AND bktpd.tp_header_id     = bktph.tp_header_id(+)
            AND bktpd.document_id      = 'PYO'
            AND hcp.owner_table_name   = 'HZ_PARTIES'
            AND hcp.contact_point_type = 'EDI'
            AND bktpd.edi_flag         = 'Y';

Thank you Anurag

2 Responses to “Query to fetch Trading partner Details of Bank Branch for EDI Payments”

Anurag Jain said...
May 30, 2013 at 4:20 AM

Hey .. thanks man.. :) . will try to contribute more.. Anurag


Sridevi Koduru said...
August 17, 2014 at 11:09 PM

I am Sridevi Koduru, Senior Oracle Apps Trainer at Oracleappstechnical.com With 8 Yrs Exp on Oracle Apps and 13 Yrs IT Exp Providing Online Training on Oracle Apps Technical, Oracle Apps Financial Functional, Oracle Apps SCM, Oracle Apps HRMS, Oracle Financial for Indian Localization, SQL, PL/SQL and D2K. I have Provided Training for 500+ Professionals Most of them are Working in Real Time now.

Contact for (One to One Personal Online Training) on Oracle Apps Technical, Oracle Apps Financial Functional, Oracle Apps SCM, Oracle Apps HRMS, Oracle Financial for Indian Localization, SQL, PL/SQL and D2K at training@oracleappstechnical.com | sridevikoduru@oracleappstechnical.com | +91-9581017828 | http://www.oracleappstechnical.com

Linkedin profile - http://in.linkedin.com/pub/sridevi-koduru/8b/76a/9b8/


Post a Comment

Disclaimer

The ideas, thoughts and concepts expressed here are my own. They, in no way reflect those of my employer or any other organization/client that I am associated. The articles presented doesn't imply to any particular organization or client and are meant only for knowledge Sharing purpose. The articles can't be reproduced or copied without the Owner's knowledge or permission.