Customer Communication Tab details query at site level

Hi,
Can anyone please provide query to get the customer communication tab details in 11i at site level.
Regards
Dev

Hi Octavio,
Thank you for sending me this query. I am working on Customer Interface in R11i. For updating the records I need to check already existing data for a particular customer in a particular site. I am getting all the details except the communication tab details.
I am writing the below query but it is giving multiple rows and same data. Some phone numbers and email addresses are missing in the communication tab . Please correct me what mistake i am doing.
SELECT hcp.email_address,
,hcp.phone_area_code
,hcp.phone_number
,hcp.phone_extension
,hcp.phone_line_type
FROM ra_customers rc
,ra_addresses_all raa
,hz_party_relationships hpr
,hz_contact_points hcp
WHERE rc.party_id = raa.party_id
AND rc.party_id = hpr.object_id
AND hcp.owner_table_id = raa.party_site_id
AND rc.orig_system_reference = 'C100233' -- This I will get from the file for update
AND raa.orig_system_reference = 'A100961' -- This I will get from the file for update
AND hcp.orig_system_reference = '<Phone Reference>' -- This I will get from the file for update
Regards
Dev

Similar Messages

  • Contacts details of customer at the Communication tab defined at the Site level in oracle AR

    Hi Expert,
       Please tell me that how I find out recently updated  Contacts details(Multiple contacts) of customer at the Communication tab defined at the Site level in oracle AR
    Thanks in advance.

    Hi Octavio,
    Thank you for sending me this query. I am working on Customer Interface in R11i. For updating the records I need to check already existing data for a particular customer in a particular site. I am getting all the details except the communication tab details.
    I am writing the below query but it is giving multiple rows and same data. Some phone numbers and email addresses are missing in the communication tab . Please correct me what mistake i am doing.
    SELECT hcp.email_address,
    ,hcp.phone_area_code
    ,hcp.phone_number
    ,hcp.phone_extension
    ,hcp.phone_line_type
    FROM ra_customers rc
    ,ra_addresses_all raa
    ,hz_party_relationships hpr
    ,hz_contact_points hcp
    WHERE rc.party_id = raa.party_id
    AND rc.party_id = hpr.object_id
    AND hcp.owner_table_id = raa.party_site_id
    AND rc.orig_system_reference = 'C100233' -- This I will get from the file for update
    AND raa.orig_system_reference = 'A100961' -- This I will get from the file for update
    AND hcp.orig_system_reference = '<Phone Reference>' -- This I will get from the file for update
    Regards
    Dev

  • Recently updated  Contacts details of customer at the Communication tab defined at the Site level in oracle  AR

    Hi Expert,
        Please let me know How to find out recently updated  Contacts details of customer at the Communication tab defined at the Site level in oracle  AR.
    Thanks in advance.

    Hi -
    Please use the below code to get the Contacts at the Account level.
    where Sold to Org id is the Customer Account Id.
    SELECT hp2.person_last_name||', '||hp2.person_first_name
    FROM apps.hz_parties hp,
    apps.hz_parties hp2,
    apps.hz_relationships hr,
    apps.hz_cust_accounts hca
    WHERE 1 = 1
    AND hca.party_id = hp.party_id
    AND hca.cust_account_id = :sold_to_org_id
    AND hr.subject_id = hp.party_id
    AND hr.relationship_type = 'CONTACT'
    AND hp2.party_id = hr.object_id
    AND hr.object_type = 'PERSON'
    AND hp.party_id = hr.subject_id
    Thanks
    Vyaghresh
    Edited by: user11990386 on Jun 20, 2011 2:33 PM

  • Vendor adress details(Email adrerss of other communication tab)

    Hi All,
    I need email addresses maintained in Other communication tab of a vendor .
    I will be thankful if somebody will guide me the table or function module that will fetch other communication tab details for me.
    Thanks.

    You can use BAPI: BAPI_PARTNEREMPLOYEE_CREATE / Change/Delete to create/ change / delete the contact person but it is online.
    Test and see if you are actually looking for this.

  • Want to change customer enhancement tab name in CJ20N

    Hi Friends
    As per our requirement, we have created customer enhancement tab in CJ20N (project definition level).
    It shows the name as cust.enhancement, but as per our requirement we want to change the tab name.
    But we are not able to change that.
    if anybody come accross this type of scenario, kindly let me know.
    Thanks
    Gowrishankar
    Edited by: gowrishankar p on Mar 30, 2010 1:26 PM
    Edited by: gowrishankar p on Mar 31, 2010 9:39 AM

    Hi mithilesh,
    we can do it. but it may need access key. Find out the screen number and program name.
    Go to se51 and input the program name and screen number then select Layout ->display.
    click on that tab, move change mode then give the text what do you want.
    Give Points if useful.
    Regards,
    Jogesh.Mutyala

  • Customer conversion - automatically populate the Contact details of the Customer at site Level

    Hi
    Requirement is to populate the Contact details of the Customer at site Level.
    I could't find the API where site_id , contact details can be passed, so that data will be automatically display.
    Please suggest the process for this.
    Thanks.

    Hi,
    Please review the following MOS doc. for the same.
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Using TCA API's Including Examples [ID 201243.1]    
    Customer Account Creation Using TCA APIs [837568.1]
    Oracle Trading Community: TCA API Overview, Setup, Sample Scripts and Troubleshooting (Doc ID 1637029.2)

  • Payment term at site level in AR Customer interface

    Is there anyway to assign *‘Payment Terms’* to Customer at Site level using interface table.
    Navigation : Customer>Address> business purpose > bill_to>Details > ‘Payment terms’
    Please help.
    Regards
    Suresh

    Kindly find the (Bug 245300 : NEED CUST INTERFACE TO UPLOAD IMPORTANT FIELDS E.G. SIC CODE, SALES CHANNEL CODE) bug on metalink.

  • Customer Level Contact and Customer Site Level Contact

    Hi,
    How to create a customer level contact and Customer site level contact details for the existing Customer using standard API's. please Guide me any one with Queries.
    It will be great help for me.
    Thanks,
    Prakash

    Pl post your EBS version. For 11i, all public APIs are listed at http://irep.oracle.com. For R12, APIs can be explored using the Integration Repository responsibility in your instance
    HTH
    Srini

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

  • Customizing CO class on site level is not taking effect

    Hello,
    I extended a CO class and changed the region "Controller Class" on Site level from "Inherit" to my newly created class
    But the personalization is not taking effect when i run the page; any idea why?
    thanks

    Ash,
    begin
    jdr_utils.listcustomizations('your page path like /oracle/apps/pon/award/completion/webui/ponCompleteAward2PG');
    end;
    will give the personalization availble for your page, then get the details using,
    begin
    jdr_utils.printDocument('output of the above query');
    end;
    Make sure the above script is giving your controller in place and see what level your contoller is attached.
    Thanks.
    With Regards,
    Kali.
    OSSi.

  • 특정 SUPPLIER SITE LEVEL의 DATA수정 시도시 RE-QUERY ERROR

    제품 : FIN_AP
    작성날짜 : 2004-05-19
    특정 SUPPLIER SITE LEVEL의 DATA수정 시도시 RE-QUERY ERROR
    =================================================
    Problem Description
    특정 Supplier Site level의 Data수정 시도시 아래의 Message발생
    ==============================================
    record has been updated, re-query block to see change
    ==============================================
    Solution Description
    아래의 SQL을 실행해서 "CHK_TRAIL_SPACE"라는 Procedure를
    만든 후 생성된 Procedure를 다음의 방법으로 실행하면, Input Table의
    어떤 Column에 NULL문자가 들어갔는지 확인할 수 있다.
    set serveroutput on
    execute chk_trail_space(<table_name to check>);
    i.e. (execute chk_trail_space('PO_VENDORS');)
    trailspace.sql:
    ===============================================================================
    CREATE OR REPLACE PROCEDURE CHK_TRAIL_SPACE (p_table_name in varchar)
    IS
    v_table_name varchar(30);
    v_column_name varchar(30);
    v_column_name_c char(30);
    v_space_count number;
    v_ret number; -- temp holder for above
    v_initial_space_counter number;
    dyn_cursor number;
    CURSOR TABLE1 IS
    SELECT table_name
    FROM DBA_TABLES
    WHERE table_name = p_table_name;
    CURSOR COLUMN1 IS
    SELECT column_name
    FROM DBA_TAB_COLUMNS
    WHERE table_name = v_table_name;
    BEGIN
    OPEN TABLE1;
    LOOP
    -- FOR crec1 in TABLE1 LOOP
    fetch TABLE1 into v_table_name;
    IF (TABLE1%NOTFOUND) THEN
    exit;
    END IF;
    dbms_output.put_line(v_table_name);
    dbms_output.put_line
    v_initial_space_counter := 0;
    OPEN COLUMN1;
    LOOP
    -- FOR crec2 in COLUMN1 LOOP
    fetch COLUMN1 into v_column_name;
    IF (COLUMN1%NOTFOUND) THEN
    exit;
    END IF;
    dyn_cursor := DBMS_SQL.OPEN_CURSOR;
    DBMS_SQL.PARSE
    (dyn_cursor,
    'SELECT COUNT(*) ' ||
    'FROM ' || p_table_name ||
    ' WHERE ' || v_column_name || ' LIKE ''% ''',
    DBMS_SQL.NATIVE);
    DBMS_SQL.define_column (dyn_cursor, 1, v_space_count);
    v_ret := DBMS_SQL.EXECUTE(dyn_cursor);
    if DBMS_SQL.fetch_rows(dyn_cursor) > 0 then
    DBMS_SQL.column_value (dyn_cursor, 1, v_space_count);
    end if;
    DBMS_SQL.CLOSE_CURSOR(dyn_cursor);
    IF v_space_count > 0 THEN
    v_initial_space_counter := v_initial_space_counter + 1;
    END IF;
    v_column_name_c := v_column_name;
    IF v_space_count > 0 THEN
    dbms_output.put_line(' ' || v_column_name_c || to_char(v_space_count))&
    #059;
    END IF;
    end loop;
    close column1;
    end loop;
    close table1;
    END CHK_TRAIL_SPACE;
    ====================================================================
    NULL문자가 들어간 Column이 확인되면,
    update po_vendors
    set vendor_name = rtrim(vendor_name);
    위의 방법으로 수정하면 된다.
    Reference Documents
    Note :234048.1

    If I delete the purchase details/line item, the supplier site can be changed.
    The error appeared again after the new line item selected,click on "Shipment" button, and change the supplier site.
    It's not able to change it. Any reason caused by the line item shipment? how it relate?

  • Forms not active in Communication tab in Customs Declaration

    Hi,
    The forms (Shippers Letter of Instructions, SED, COO etc) are not active and not showing up in "Communication" tab of Customs Declaration while creating a customs declaration manually from transaction /SAPSLL/CL_CUS_01.
    Appreciate any help in pointing to missing configuration or activation of BAdI etc. 
    Followed the steps in "Communication Processes" in Customs Management in IMG
    1. Action Profile:          US_CU_EX      (US: Customs Processing (Export)
    No changes made
    2. Action Definition:
    Action Definition     Description     Sort Order
    US_CU_EX_CUSEX_M_UAES2     Export Declaration Option 2 (US)     0
    US_CU_EX_CUSEX_P_COO     Certificate of Origin (US)     
    US_CU_EX_CUSEX_P_SED     Shipper's Export Declaration (US)     0
    US_CU_EX_CUSEX_P_SLI     Shipper's Letter of Instructions (US)     
    No changes made
    3. Messages for Communication Process:
    Message     Description     Message Type     Scheme
    P0350     Certificate of Origin (US)     /SAPSLL/CUS_EXP     CUS_US
    P0360     Shipper's Export Declaration (US)     /SAPSLL/CUS_EXP     CUS_US
    P0370     Shipper's Letter of Instructions (US)     /SAPSLL/CUS_EXP     CUS_US
    Assigned Scheme
    4. Control Settings for Communication Process:
    Process – CUSEX     
    CUSEX     Export     Export/Dispatch     Export / Reexport
    Activities:
    CUSEX     Export Declaration          SED
    Messages:
    M0410     Export Declaration Option 2 (US)
    P0130     NAFTA Certificate of Origin (NAFTA)
    P0140     Export Packing List NAFTA (NAFTA)
    P0350     Certificate of Origin (US)
    P0360     Shipper's Export Declaration (US)
    P0370     Shipper's Letter of Instructions (US)
    5.Print Control for Foreign Trade Documents:
    Assigned Message to Legal Unit
    6. Print Profile:
    Defined Print Profile (where to assign this?)
    Thanks
    Sreekar

    Hi Venkat,
    Sorry for delay in reply and thanks for helping me out on this issue. We have worked out the ADS configuration issues, set up master data for printer, set up .xdc files for printer etc. and are now able to display the forms and able to 'print preview' the forms.
    However, when I print preview the form, the print icon is grayed out. I am not able to print the form. Can you please advise what am I missing?
    Thanks
    Sreekar

  • Query for  customer and its all the underlying sites in AR

    Hi Expert,
      Please help me to build a query for a customer and its all the underlying sites .
    Thanks

    Please check this thread:
    Running Total in QLD
    Thanks,
    Gordon

  • Customer Exit in query on aggregation level

    Hi,
    I try to have variables filled with a customer exit.
    The coding of the customer exit is correct, this have been tested in queries on multiproviders.
    Unfortunately it is not working when these variables are used on level of aggregation levels.
    What I would like to achieve:
    We have some planning queries on aggregation levels. Different users can plan on the same query (and aggregation level), but not for the same set of data. Therefore the query should be restricted to the authorized values. Unfortunately we can not switch to the new authorization concept (analysis authorizations) yet, but we already need this functionality very soon.
    The customer exits are the only possible option. Unfortunately it seems that the customer exits are not being executed when the variables are used in queries on aggregation levels.
    The variables are not ready for input and should be filled in I_STEP = 2
    Is this normal? If so, is there a work around?
    Thanks in advance for quick replies!
    Kind regards,
    Bart

    Hi,
    You can debug your query by putting the break-point in your exit code and execute the query in RSRT. This way you will be able to find if your customer exit is actually being called or not. If it is being called then there can be some logical problem with your code due to which the variable values are not getting populated.
    Regards,
    Deepti

  • Unable to Create Customer Profile at Site Level

    Hello All,
    I am working on R12 Customer Conversions.
    As part of this, i am trying to load the customer profile amounts at levels. 1. Account Level 2. Site Level
    At Account Level, When ever i create a new account defaultly a new record is creating in hz_customer_profiles for the account_id. And i am passing 'cust_account_profile_id' to the hz_customer_profile_v2pub.create_cust_profile_amt. And able to do create customer profile amounts successfully.
    But
    At the Site level, when ever i create a new site, its NOT creating a record in HZ_CUSTOMER_PROFILES. If it creates i can have this 'CUST_ACCOUNT_PROFILE_ID' and pass it to the API
    but its not doing so.
    Could you please tell is there any setup for Creating HZ_CUSTOMER_PROFILES while creating SITE Use.
    Please help me in this.
    Thank you,
    Aush

    Hi Aush,
    There is not specific setup for the same. You might not using the APIs correctly. Did you use hz_cust_account_site_v2pub.create_cust_acct_site API to create site? Once you create the site, you need to defined the site use using api, hz_cust_account_site_v2pub.create_cust_site_use. This Site use api will insert the record into HZ_CUSTOMER_PROFILES for the site record.
    Once you create the site use, then you can define the profile amount using hz_customer_profile_v2pub.create_cust_profile_am API. Hope this is helps you.
    - Kiran

Maybe you are looking for

  • Error the application was unable to start correctly (0xc0000018)

    Hello All, If anyone could guide me on a step by step fix on how to fix error the application was unable to start correctly (0xc0000018)*. I receive this error message when I click on my Design Center. I have successfully installed the Warehouse beca

  • How can I disable a Custom Object Test?

    I wonder if there is a way to disable a Custom Object Test. When I do a right click I don't see the option as in the other items under the frame node. I don't want to delete them because I may use them as reference in the future. So far I've been sav

  • Deployment Of Net beans Project

    {color:#008000}*Hi* *Plz any one tell me that how can I create Installation setup of my Project in net beans..........*{color}

  • Update of Photoshop CS 5 not possible

    Hi all, after a new installation of my Photoshop CS 5, I start an upgrade which end with following mistake: By download of these update there is a mistake. Shut the event and try it later again. This I have done without result. Please explain and man

  • Introscope Host Agent for ABAP only instance, fails with java.lang.NullPoin

    Hello, I'm trying to configure the Introscope Host Agent Adapter for ABAP 7.02 instance. Solman Version is 7.1 ST 4, BASIS SP9. I did created the Trust relationship between DAA and hostctrl and also the same setup working find for Java Instance or AB