AR Customer account Bill-to site's primary flag error

Hi all,
A AR Customer account has 2 Bill-to site, BOTH of them has primary flag checked. Both of them are protected by ready only.
I created a similar seniaro by updating primary_flag = 'Y' in hz_cust_site_uses_all table and use API to fix it, but API couldn't change any one of them to value 'N'
I'm affraid update sql statement is harmful to the record. Any other solution to uncheck one of them?
Thanks!

please raise SR with oracle for your issue
You need a datafix I guess
;) AppsMAsti :)
Sharing is Caring

Similar Messages

  • Billing Document to be shift to other customer accounts with same invoice number

    Hi,
    For a long period of time we were maintaining different projects and site of a customer in a single account.
    Now there is a requirement to distribute individual invoices to respective individual customer accounts for that site or project.
    But doing that we also want to shift the invoices with following:
    1) invoice numbers should be same (as it was generate originally)
    2) Keep the same purchase order number
    3) keep the same date of the invoice (as it was raise in the main accounts)
    4) Keep the same salesperson
    5) after doing step 1 to 4, we also want to close the main account by offsetting entries to avoid duplications.
    After practicing above, we want the following result:
    1) individual statement of accounts with the same invoice dates, Purchase Order Number and saleman reference.
    best regards,
    adnan abbasi

    Hi,
    We knew by their PURCHASE ORDER NUMBERS and to separate them from each other,
    we will make a manual list in EXCEL to upload in the SYSTEM.
    customer code: 55555 (merge account for all projects and sites):
    invoice     date           assignment/LPO    value
    1111     12.12.2012   proj1/00001            4000.00
    1112     13.12.2012   proj2/00002            3500.00
    1113      14.12.2012  proj1/00002            2300.00
    1114      14.12.2012  proj3/00001            1500.00
    1115      15.12.2012  proj2/00003            1300.00
    from above we know with reference to LPO that there are 3 projects, so we will make excel sheet for 3 projects as:
    excel sheet1:
    1111   12.12.2012 proj1/00001     4000.00
    1113    14.12.2012 proj1/00002    2300.00
    excel sheet2:
    1112   13.12.2012   proj2/00002    3500.00
    1115    15.12.2012  proj2/00003    1300.00
    excel sheet3:
    1114  14.12.2012  proj3/00001     1500.00
    now to upload in the system I want to make 3 new accounts:
    55556 (for project1)
    55557 (for project2)
    55558 (for project3)
    but problem it that we want to keep date and invoice number exactly the same as originally booked in customer account no. 55555.
    regards,
    adnan

  • Customer Account Sites page behavior

    Hi
    I am novice to OAF. I will take my best shot to explain the problem.
    Oracle Applications : 12.0.4
    Problem : Customer Account Sites page is displaying account sites in DESCENDING order of PURPOSES instead of ASCENDING.
    All the times, account sites were displayed in Ascending order of purposes. This will list Bill-To sites first and then 'Ship-To'. All of a sudden, account sites are started showing in reverse order listing 'Ship-To' first and then 'Bill-To'.
    There are no customizations, patches, personalizations applied to this form.
    Same form works in all other instances other than Production as expected (listing Bill-To sites first).
    What could be the reason so that sorting order of data element PURPOSES to change from Ascending to Desending? How to fix it?
    Please help.
    Regards,

    This is happening for all users.
    As a work around... User are using either clicking on Purpose column to sort again or filtering out 'Bill-To' sites. This is causing them irritation.
    Regards,

  • Attaching Revenue GL code to Customer Bill To site

    Hi Experts,
    I 've a requirement to attach/ add a revenue GL account to the customer Bill To site programmatically. Can you please suggest whether there are any APIs to achieve this. Any inputs on this will be immensely helpful.
    Thanks,
    Ganapathi

    I was able to attach the revenue GL code using the hz_cust_account_site_v2pub.update_cust_site_use API.
    Thanks,
    Ganapathi

  • Error while creating customer account sites from backend

    I am creating Customer Account Sites using the TCA API from Toad.
    I am getting the following error
    The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    The Operating unit has been defined.
    I am using the following code:
    DECLARE
    p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_cust_acct_site_id NUMBER;
    BEGIN
    p_cust_acct_site_rec.cust_account_id := 9462;
    p_cust_acct_site_rec.party_site_id := 5473;
    --p_cust_acct_site_rec.language := 'US';
    p_cust_acct_site_rec.org_id := 126;
    p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
    hz_cust_account_site_v2pub.create_cust_acct_site(
    'T',
    p_cust_acct_site_rec,
    x_cust_acct_site_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line(SubStr('x_return_status =
    '||x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count
    LOOP
    dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    Thanks and Regards,
    K tanna

    Duplicate post.
    Error while creating customer account sites
    Error while creating customer account sites

  • Error While Creating Customer Account Site.

    Hi ,
    I am creating a customer thru API's.
    I am succesffuly creating location,party,party site,party site use,customer account.But unable to create customer account site. I am getting the below error:
    Unable to process your transaction. The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    Could anyone help me to resolve out this issue.

    Hi,
    What is the application release?
    Did you set the Application/Multi-org context properly before using this API?
    Note: 732671.1 - 'Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly
    Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
    Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
    Regards,
    Hussein

  • Error while creating customer account sites

    I am creating Customer Account Sites using the TCA API from Toad.
    I am getting the following error
    The operating unit is either invalid or it cannot be derived. Please verify your Multi-Org profile options.
    The Operating unit has been defined.
    I am using the following code:
    DECLARE
    p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    x_cust_acct_site_id NUMBER;
    BEGIN
    p_cust_acct_site_rec.cust_account_id := 9462;
    p_cust_acct_site_rec.party_site_id := 5473;
    --p_cust_acct_site_rec.language := 'US';
    p_cust_acct_site_rec.org_id := 126;
    p_cust_acct_site_rec.created_by_module := 'TCA-EXAMPLE';
    hz_cust_account_site_v2pub.create_cust_acct_site(
    'T',
    p_cust_acct_site_rec,
    x_cust_acct_site_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line(SubStr('x_return_status =
    '||x_return_status,1,255));
    dbms_output.put_line('x_msg_count = '||TO_CHAR(x_msg_count));
    dbms_output.put_line(SubStr('x_msg_data = '||x_msg_data,1,255));
    IF x_msg_count >1 THEN
    FOR I IN 1..x_msg_count
    LOOP
    dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded =>
    FND_API.G_FALSE ), 1, 255));
    END LOOP;
    END IF;
    END;
    Thanks and Regards,
    K tanna

    Hi,
    Please mention the application release along with the database version and OS.
    Please see if ('Change PO API' Errors with 'Multi-Org profile options' as Org Context Is Not Set Correctly [ID 732671.1]) helps.
    More details about setting the application context can be found in these docs.
    Note: 209185.1 - How To Set the Applications Context (FND_GLOBAL.APPS_INITIALIZE)
    Note: 420787.1 - Oracle Applications Multiple Organizations Access Control for Custom Code
    Note: 462383.1 - SQL Queries and Multi-Org Architecture in Release 12
    Note: 165042.1 - FAQ - Multiple Organizations Architechure (Multi-Org)
    Thanks,
    Hussein

  • Create Contact details @ Customer Account Site

    Hi guys
    After loads of efforts I managed to create a contact @ Customer Account Site level using below API Call
    DECLARE
    p_cr_cust_acc_role_rec HZ_CUST_ACCOUNT_ROLE_V2PUB.cust_account_role_rec_type;
    x_cust_account_role_id NUMBER;
    x_return_status VARCHAR2(2000);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(2000);
    BEGIN
    -- NOTE:
    -- must be unique CUST_ACCOUNT_ID, PARTY_ID,ROLE_TYPE
    -- must be unique CUST_ACCT_SITE_ID, PARTY_ID,ROLE_TYPE
    p_cr_cust_acc_role_rec.party_id := 2126134; --value for party_id from step 8>
    p_cr_cust_acc_role_rec.cust_account_id := 999059; --value for cust_account_id from step 2>
    p_cr_cust_acc_role_rec.primary_flag := 'Y';
    p_cr_cust_acc_role_rec.role_type := 'CONTACT';
    p_cr_cust_acc_role_rec.created_by_module := 'TCA_V2_API';
    ---For attaching the contact to a particular site
    p_cr_cust_acc_role_rec.cust_acct_site_id := 29422; --Value for x_cust_acct_site_id from step >5
    HZ_CUST_ACCOUNT_ROLE_V2PUB.create_cust_account_role(
    'T',
    p_cr_cust_acc_role_rec,
    x_cust_account_role_id,
    x_return_status,
    x_msg_count,
    x_msg_data);
    dbms_output.put_line('***************************');
    dbms_output.put_line('Output information ....');
    dbms_output.put_line('***************************');
    dbms_output.put_line('x_cust_account_role_id: '||x_cust_account_role_id);
    dbms_output.put_line('x_return_status: '||x_return_status);
    dbms_output.put_line('x_msg_count: '||x_msg_count);
    dbms_output.put_line('x_msg_data: '||x_msg_data);
    dbms_output.put_line('***************************');
    IF x_msg_count >1 THEN
      FOR I IN 1..x_msg_count
       LOOP
        dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
      END LOOP;
    END IF;
        IF x_return_status = FND_API.G_RET_STS_SUCCESS THEN
    COMMIT;
    ELSE
    ROLLBACK;
    END IF;
    END;
    Now I want to attach "Address/Email/Phone number" to this contact @ the Account site level. Please let me know how and which APIs I need to call
    Regards,
    Raj

    Okay I found the solution.
    Reference material : How to Create Contact,Phone, Email under Communication tab for Customer Account Site using API [ID 985500.1]
    docs.oracle.com/cd/B34956_01/current/acrobat/120hztig.pdf
    Repeat Run --3. Create a physical location with customer account site level Address (ie, Specific contact address details). Note down x_location_id value
    GET "x_party_id: " from "--8. Create a relation cont-org using party_id from step 7 and party_id from step 2"
    Now Run "--4. Create a party site using party_id from step 2 and location_id from step 3" passing "x_party_id" from Step 8 & x_location_id from Step 3
    Commit the changes and you will able to populate the account site specific contact person details
    Regards,
    rajesh

  • Create Customer Account Site fail ORA-01400

    When creating customer account site in Oracle EBS r12.0.4, Error occur:
    The following SQL error occurred: ORA-01400: cannot insert NULL into ("AR"."HZ_CUST_ACCOUNTS_M"."CUSTOMER_MERGE_HEADER_ID").
    Can anyone help me solve this problem?
    Thanks in advanced!

    How do you create the customer account? From the application (if yes, mention the Navigation Path) or using an API (mention the API)?
    The following SQL error occurred: ORA-01400: cannot insert NULL into ("AR"."HZ_CUST_ACCOUNTS_M"."CUSTOMER_MERGE_HEADER_ID").Does this happen when creating any customer account or with specific ones only?
    Are you passing all the mandatory fields when creating the custom account?
    Obtain the FRD log for details about the error.
    Thanks,
    Hussein

  • Creation of Customer Accounting from Billing

    Hi Gurus,
    I have a slightly complicated problem that I request your help with.
    In standard SAP functionality if we bill different services (e.g. S1, S2, S3) in one invoice (I1), in the customer account this invoice is reflected as I1 and the net value.
    e.g.
    Invoice Details : I1
    S1 : 10 INR
    S2 : 20 INR
    S3 : 30 INR
    Entry in Customer Account
    Item 1 : I1 : 60 INR
    However due to certain business requirements, we need the invoice to update the customer account as shown below.
    Item 1 : I1 : 10 INR
    Item 2 : I1 : 20 INR
    Item 3 : I1 : 30 INR
    We necessarily need to create one single invoice, else the simplest way is to either bill services seperately or set invoice splitting rules.
    We explored the possibility of using exits (e.g. EXIT_SAPLV60B_010) , but none of the exits are able to fit into the required scenario.
    Any help is appreciated and will be rewarded.
    Thanks a ton!

    Hi Pranav - this is standard sap attribute - Debit Customer once and credit sales and other gl accounts as per pricing procedure - multiple entries for customer debit is not possible for same billing document
    cheers
    nandu

  • Dear Customer,  It hase come to our attention that your account billing Information records are out of date. That requires you to update your Billing Information. Failure to update your records will result in account termination records...  Click on

    Dear Customer,
    It hase come to our attention that your account billing Information records are out of date. That requires you to update your Billing Information. Failure to update your records will result in account termination records...
    Click on the reference link below and enter your login Information on the following page to confirm your Billing Information records..
    Verify Now >
    Wondering why you got this email?
    It's sent when someone adds or changes a contact email address for an Apple ID account. If you didn't do this, don't worry. Your email address cannot be used as a contact address for an Apple ID without your verification.
    For more information, see our frequently asked questions.
    Thanks,
    Apple Customer Support
    TM and copyright © 2014 Apple Inc. Apple Sales International, Hollyhill Industrial Estate, Cork, Ireland. Company Registration number: 15719. VAT number: IE6554690W.
    All Rights Reserved / Keep Informed / Privacy Policy / My Apple ID
    Anyone else get this today?
    And yep i know this message doesn't go here however the ability to post in general postings to most viewers is lost to me in the ridicules way apple setup there support

    It's phishing. Forward it to [email protected] and then delete it.
    (118880)

  • How to identify the bill-to-site location for a customer

    Hi All,
    How to identify the bill-to-site location for a customer.
    I want to determine the language output of the AR invoice report based on the bill-to site address.
    If the bill-to site is located in Sweden, the document should be in Swedish. If the bill-to site is located outside of Sweden, the document should be in English.
    I have defined a query but not able to identify from which column I can identify the bill-site-location.
    select --a_bill.org_id,party_name,account_number,a_bill.CUST_ACCT_SITE_ID
    from
    apps.hz_parties party
    ,apps.hz_party_sites party_site
    ,apps.hz_cust_accounts b
    ,apps.hz_cust_acct_sites_All a_bill,
    apps.hz_locations loc,
    apps.hz_cust_site_uses_all u_bill,
    apps.ra_customer_trx_all trx
    where party.party_id=party_site.party_id
    AND a_bill.party_site_id = party_site.party_site_id
    AND b.party_id = party.party_id
    AND loc.location_id = party_site.location_id
    AND u_bill.cust_acct_site_id = a_bill.cust_acct_site_id
    AND trx.bill_to_customer_id = b.cust_account_id
    AND trx.bill_to_site_use_id = u_bill.site_use_id
    Thanks,
    Joohi

    Hi ,
    Check this apps.hz_cust_site_uses_all here site_use_code will be there , you can find Bill_To Ship_to , from there you can find the site_use_id and location Id
    Thanks
    Shagul

  • Customer bill to site contact

    Hi,
    Can anyone please tell me what tables to use to find the customer contact under the bill to site? In R12.
    Thanks

    I figured this out.

  • IStore: Customer account sites with multiple price list

    Hi,
    We have an account with many sites, each site uses different price list. Say 1 site uses FR price list other uses GR price list.
    Users are suppose to use specific price list only. How can we have the users use their specific price list.
    Thanks in Advance

    Hi,
    For iStore you can setup specialty site based price lists and/or customer account level price lists.
    To setup the customer account level price lists -
    Set the profile option "IBE: Use Customer Account Price List" at the site level to Yes.
    Link the customer to the price list -
    1. Login to Oracle Forms and select Receivables Manager responsibility.
    2. Navigate to Customers > Standard.
    3. Select an account based on Customer Name, Account Number, or Organization Number.
    4. Press the Find button and select an address from the popup window; select Ok.
    5. Select the Order Management tab.
    6. Enter the appropriate price list in the Price List field, and save the form.
    7. Bounce the middle-tier and Web Cache servers.
    Reference:
    Oracle iStore Implementation and Administration Guide Release 12.1 (Part No. E13575-06)
    Chapter 10 Implementing Pricing
    Page 10-21
    Section Implementing Customer Account Price Lists
    OR
    You can setup modifiers for Customer (ie Customer Name) and Store (Minisite_ID) on the price list(s)
    For this setup you would need to set both "IBE: Use Customer Account Price List" and "IBE: Use Price List Associated with Specialty Site" to No.
    Thank you,
    Deborah
    Edited by: user702249 on Apr 10, 2013 6:56 PM

  • Move AR Customer Sites into different Customer Account under same customer

    We are going to upgrade the ERP AR from 11.5.10 to 12.1.3.
    We would like to rearrange the customer account and customer site.
    For example,
    There is one customer Name "ABC" and customer site "DS01", "DS02", "OM01", "OM02" in 11.5.10.
    Target to rearrange the customer site into 2 customer account as follow,
    Customer "ABC"
    Account : "Account 1"
    Site: "DS01", "DS02"
    Customer "ABC"
    Account: "Account 2"
    Site: "OM01", "OM02"
    However, there is existing transaction link to those site already.
    Please advise if it is possible to split some AR customer sites into two account by data patch or by upgrade.
    Thanks!

    During upgrade, how are you migrating the data into R12 from 11i

Maybe you are looking for

  • How to know the database size

    can one tell how to find the database size?

  • Macbook pro 2011 -

    I have a 2011 Macbook Pro. It has 1 thunderbolt port. I would like to connect an external monitor (LG) and the thunderbolt external hardrive to the laptop at the same time...Can I connect an external monitor throught the firewire or usb ports effecti

  • Active a role and profile

    Hi Experts, Could you guide me on how to activate a role and profile? Kindly suggest to me the proper procedure of doing this. One more thing experts do you have any idea on what tcode used to change a password for multiple user's? Could you give to

  • How to start soa suite in development mode

    Right now it's in production mode by default, how can I start the soa server in development mode? I'm using 11.1.1.2 Thanks

  • Is the Creative Zen Xtra 30GB supposed to vibrate

    I got a Xtra Zen 30G, it vibrtaed after every song. I went back and exchanged it for another one and the new one is doing the same thing! Is this normal?