Inactivate Customer - R12 TCA

Is there any way to inactivate a customer. Is there any API for this. I tried the hz_party_v2pub.update_organization by setting the status to Inactive.
This updated the hz_party record but not any of the child records.
Do I need to do each child record individually. That will involve calling all the update APIs in TCA. Isn't there any easy way of doing this.
please help.
regards,
Message was edited by:
user552775

The "Excel for Oracle Applications API" tool and the "Update customers" template can update the status on customer, address and site use level.
You need an xls sheet with "Account number" and "Account status" (I="Inactive") for customer level update, include "Party Site Number" and "Site Status" to inactivate on address level, and include "Site use code" (like "SHIP_TO") and "Site use status" to inactivate on site use level.
Pls. visit:
http://www.thomaslundqvist.dk/index_files/Page737.html

Similar Messages

  • Inactivate parties in TCA

    Hi All,
    We have some 4000 parties which are active in Oracle but not active in legacy.
    We want to inactivate the 4000 parties in Oracle so that oracle and legacy would be in sync.
    I am looking for the best approach to do this.. using Standard TCA API's , can I do this ?
    Really appreciate any pointers..
    thx

    Hi,
    you can achieve this with hz_party_v2pub.update_organization, which has a parameter called party_rec.
    In this parameter record has a status information, which inactivates a party when populated with 'I'.
    See also Re: Customer Master - Inactivate Customers and MOS Note 201243.1.
    Regards

  • Customized R12 Standard Purchase Order report with custom data and layout

    Hi all,
    We need to customize the seeded Purchase Order report in R12 to add an additional section to include cost data coming from our custom table. The key is that our customized report should be launched instead of the seeded report via various PO forms (e.g. View Document menu option, PO Communications form to email, fax and print PO, etc).
    I manually set up a custom Document Type Layout for the Document "Standard Purchase Order" to use my customized template so my custom layout is shown instead of the R12 layout, but according to Oracle support the report can only draw data from a set of seeded Oracle views like po_headers_xml,po_lines_xml etc.
    Any suggestions how we can add our custom data to PO report in R12?
    Thanks! Mike.

    Hi Mike
    thats a tough one, the PO generation is a bit restrictive to say the least when it comes to customizing. It sounds like you have worked out how to get your own template in there to render the PO.
    On the data front, all I can think of is to customize and replace the seeded PO view with one that incorporates your extra data.
    Or, get into the page customization world and write your own extract and format concurrent program/procedure and then hook it onto the buttons where you want to launch it.
    You might have more luch, response wise from the EBS PO forum.
    Procurement : Procurement
    OAF: OA Framework
    Regards
    Tim

  • R12 TCA tables

    I am working on an enhancement of the customer screens. The requirement is to capture the history of all the changes made to the customer records when an update is made.
    I am not sure what the purpose the following tables is :
    HZ_LOCATON_PROFILES, HZ_ORGANIZATION_PROFILES,
    HZ_GEO_NAME_REFERENCES , HZ_GEO_NAME_REFERENCE_LOG,
    HZ_PARTY_USG_ASSIGNMENTS.
    I noticed that a new row is inserted into these tables when an address line is changed . Has anyone worked on these tables, what is the purpose of this.
    Please help, i have just started on TCA.
    thanks

    Hi,
    Try http://etrm.oracle.com
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com/

  • Unable to  Create customer in TCA SETUP(functional)

    Hi Eperts,
    when iam creating a customer i am getting this error "provide a positve integer for minimum customer balance amount or percent when balance amount overdue type is amount(in r12)
    Thanks,
    kumar

    Hi,
    I have seen another OTN thread on this issue : Re: Creation of customer in R12.(version:12.1.1)-Getting Error

  • 11.5.10 to r12.1 upgrade, TCA issues/questions

    This is a fairly "advanced" r12 TCA question for the experts:
    We are upgrading from EBS 11.5.10 to r12.
    We also have a separate instance of EBS 11.5.10 in which we use "Oracle Customers Online" for our "CDH" (Customer Data Hub) that sends (spokes) party data to multiple subscribing systems. We are going to absorb this CDH instance into the upgraded r12 environment.
    The r12 TCA upgrade takes all suppliers and creates NEW TCA structures for them (parties, sites, contacts, etc). Many of the suppliers overlap our customer parties in the real world (suppliers who are also customers). Additionally, these suppliers/customers have also been spoked to many other systems with the supplier segment1 + vendor_site_codes (same as our customer party_number/party_site_numbers).
    1. We thought of merging the customers into the suppliers and then editing party_number/party_site_number to be the same as the original segment1 / vendor site_code, but ran into the following issues, of which the first below is most important:
    -- r12 Upgrade makes ALL suppliers (regardless of vendor_type_lookup_code) into Party_Type 'ORGANIZATION', which cannot be merged with Customer Party_Type 'PERSON' parties....
    -- Party site merges will not work if we don't have the EB Tax Geography MASTER_REF country/state/county/city/postal_code's defined for the hz_locations.
    The party type issue above is important for existing data but also for new suppliers. PERSONs will never be able to merged in the future, between Suppliers and Customers in either direction.
    For the sake of getting all these parties de-duped into single parties, I changed some of the supplier ORGANIZATION party_types to PERSON (and hence I also created an hz_person_profiles record using TCA api's). But after doing this, when we update the supplier through iSupplier Portal, it updates the underlying party_type back to ORGANIZATION. If I were to make this change, then merge PERSON customers into these Suppliers, and then a user updates the supplier data, then the whole party will get updated from PERSON to ORGANIZATION, which I think would be bad for our customer processing (and other modules in other spoke systems subscribing to party create/update events).
    Also, if we are forced to leave suppliers separate from customers in case of PERSON entities, then I will especially have trouble trying to send a complete party definition to subscribing systems, since there are 2 parties instead of where there should be 1.
    Any ideas about how to overcome this issue with r12 Suppliers integration with TCA ?
    Thanks in advance!

    Hello
    We are about to undertake a similar upgrade - can you let me know how you overcame this issue please?
    Thanks

  • Can we use old tables in R12

    Hi All,
    I am into an R12 upgrade project, there are some customized reports of the client which have the tables like ra_customers,ra_phones,ra_contacts etc. The report runs fine, but I came to know that these tables are now not backward compatible according to the R12 TCA architecture and so was the reason i think that, I could not find the synonyms for the above tables in the apps schema(found this during compilation of the report).
    Please correct me if I am wrong, if yes, I have to find alternatives to change the report so that it points to the new R12 tables.
    A speedy suggestion would be greatly appreciated.
    Thanks,
    Amit

    This metalink note could be useful also :
    Note:417511.1 Projects Uptake of the TCA Architecture in Release 12
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:1053474359405497840::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,417511.1,1,1,1,helvetica

  • Can we create new customer site for existing customers using custm interfc

    Hi ,
    I have a requirement :
    version -- R12 .
    We need to add new customer site for existing customers , is it possible to create it through customer interface with insert_update_flag set as U / I .
    Any help in this is grate .
    regards ,
    Azzu .

    I am pretty sure I've done this on one of my past project..
    why don't you try it out?
    Another route would be use customer APIs (TCA APIs)...which I am sure can achieve what you're looking for.
    Edited by: James Kim on Mar 17, 2010 2:48 PM

  • EBS Create Customer API 11.5.10.2

    Is there an API for creating customer in 11.5.10.2. If it is there, will that be supported by Oracle.
    Thanks,
    N

    Please see these docs.
    How to create Customer Account Relationship via TCA API? [ID 224494.1]
    How To Create A Customer Via TCA API ? [ID 189369.1]
    How To Create A Customer Via TCA API [ID 159393.1]
    TCA Customer Interface & API White Paper [ID 201242.1]
    Using TCA API's Including Examples [ID 201243.1]
    Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]
    Thanks,
    Hussein

  • Error in Oracle API  HZ_CUST_ACCOUNT_V2PUB.create_cust_account

    Error in Oracle API HZ_CUST_ACCOUNT_V2PUB.create_cust_account
    Column account_number must have a value.
    why?

    What is the apps version ?
    Have you gone through these notes:
    Using TCA API's Including Examples [ID 201243.1]
    How To Create A Customer Via TCA API [ID 159393.1]

  • How to send in xml tag a ESCAPE CONTROL ( chr27 )

    Hi,
    For a Check Printing custom (R12), I need to send to a matrix dot printer a xml file containing a "ESC J;" every 56 rows.
    The template that I'm using is an e-Text type.
    1) Does anybody know how I can write this ESCAPE CONTROL in e-Text?
    2) Does anybody know why the xml parser gets error when I create a new tag with the value of chr(27) in the iby hook package (IBY_FD_EXTRACT_EXT_PUB).?
    I do
    l_escape := CHR(27);
    SELECT XMLConcat(XMLElement("Extend",
    XMLElement("XX_ControlPageESC",l_escape) )
    INTO l_ins_ext_agg
    FROM dual;
    Thankss a lot!!
    Valeria

    Hi Valeria,
    I've also tried getting escape characters into ETEXT and failed.
    I think a better option is to create a new printer driver SRW file with pagebreak declared as char 27 every 56 rows, and use that to print to your printer.
    Regards,
    Gareth
    http://garethroberts.blogspot.com
    http://www.virtuate.com

  • Oracle Customers Address Data Migration Receivable AR

    Hi
    I have a requirment to migrate Oracle Customers data into another Instance.
    Business Requirments:-
    User enter customers into UAT instance in Oracle Recevable and they don't want to create customers to an any other instance they just want to migrate to any other instance and even production.
    Is there a way I can do it?
    Thanks

    Look for Meta Link Notes:TCA API. [ID 230753.1]
    Some APIs..
    How to create Customer Account Relationship via TCA API? [ID 224494.1]
    How To Create A Customer Via TCA API ? [ID 189369.1]
    How To Create A Customer Via TCA API [ID 159393.1]
    TCA Customer Interface & API White Paper [ID 201242.1]
    Using TCA API's Including Examples [ID 201243.1]
    Oracle Applications Multiple Organizations Access Control for Custom Code [ID 420787.1]
    PL/SQL
    ===========
    1. Create/Insert/Add Issues:
    Note 159393.1 How To Create A Customer Via TCA API ?
    Note 204170.1 How to create a PERSON customer via TCA API ?
    Note 204545.1 How to create a cust_account via TCA API to an existing PARTY (PERSON Customer)?
    Note 177080.1 How to Create two BILL_TO sites for the same customer via TCA API ?
    Note 177081.1 How to Create BILL_TO and SHIP_TO sites via TCA API ?
    Note 219150.1How to Create a customer (ORGANIZATION) via TCA API with account_number off and party_number on?
    Note 177082.1 How To Create A Contact At Customer Level Without Phone Via TCA API ?
    Note 177083.1 How To Create A Contact At Address Level Without Phone Via TCA API ?
    Note 294142.1 How To Create A Contact At Address Level Without Phone Via TCA API using conditions like HZ: Generate Contact Number = No
    Note 235357.1 How To Create A Contact At Customer Level With Phone Via TCA API ?
    Note 239737.1 How To Create A Contact At Address Level With Phone Via TCA API ?
    Note 239738.1 How To Create A Phone at Address level via TCA API ?
    Note 165308.1 How To Create A New BILL_TO Address To An Existing Customer Via TCA API ?
    Note 204415.1 How to Create a customer (ORGANIZATION) with dunning info = N via TCA API?
    Note 204416.1 How to Create a customer (ORGANIZATION) with dunning info = Y via TCA API?
    Note 217578.1 How to Create an (ORGANIZATION) customer using Customer Information Descriptive Flexfield via TCA API?
    Note 217579.1 How to Create an (ORGANIZATION) customer using Address Information Descriptive Flexfield via TCA API?
    Note 217580.1 How to Create an (ORGANIZATION) customer using Site Use Information Descriptive Flexfield via TCA API?
    Note 230750.1 How to create a customer with salesperson information via TCA API?
    Note 224494.1 How to create a Customer Account Relationship via TCA API?
    Note 239993.1 How to create a customer for an specific organization but using different location via TCA API ?
    Note 245695.1 How To Create A Customer Profile Amount At Customer Level Using TCA API?
    Note 269087.1 How To Create A Contact Role At Customer(Org) Level Via TCA API ?
    Note 269188.1 How To Create A Contact Role At Address Level Via TCA API ?
    Note 294978.1 How To Create A Customer Profile For A Specific Account Using TCA API?
    Note 301408.1 How to Insert a customer Information with profile information using TCA API?
    Note 301409.1 How to Insert a customer Information with profile and default profiles amounts information using TCA API?
    Note 301410.1 How to Insert a customer Information with profile and profiles amounts (No default values) information using TCA API?
    Note 313094.1 How To Create An Organization Customer With Profile Information At Site Level Using TCA-API?
    2. Update issues:
    Note 204558.1 How to update a ORG-customer with dunning info=N to dunning info=Y via TCA API?
    Note 204559.1 How to update a ORG-customer with dunning info=Y to dunning info=N via TCA API?
    Note 215695.1 How to update a customer (organization) with interest charges = Y to interest charges = N via TCA API?
    Note 219595.1 How To Update An Address Field Information Using TCA API ?
    Note 219589.1 How To Update A Location Information Using TCA API ?
    Note 224495.1 How to Update a Customer Account Relationship via TCA API?
    Note 230751.1 How to update the salesperson information for a specific customer via TCA API?
    Note 233276.1 How to update the last name to a customer (PERSON) via TCA-API ?
    Note 236662.1 How to update customer account related information (Relationships Tab in Customer Form) using TCA-API ?
    Note 243018.1 How to update category_code to a customer (ORGANIZATION) using TCA-API ?
    Note 260287.1 How To update A Contact Phone Information Via TCA API ?
    Cheers
    ASIM

  • R12 Customer Conversion by using TCA API  OR  Standard interface table ?

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

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

  • Vendor and Customer from 11.5.8 to R12

    Dear all,
    We are using E-Business Suite 11.5.8 and we will re-implement on R12. What is the quickest way to import vendor and customer informations from 11.5.8 to R12? so that we don't have to re-input all informatioin all over again.
    Please advice.
    Thanks.

    Hi,
    In R12 the architecture has changed to TCA, so one way of migrating your data is using Customer and Supplier Open interface.
    If you have the luxury of time and hardware then you can also use another instance for R12 upgrade and then do a one to one mapping of the table for migrating the data from Upgraded R12 instance to reimplemented R12 instance.
    Regards,
    Yuvaraj.C

  • Which one to use - Customer Interface or TCA APIs? And why?

    Hi,
    Please let me know the answer for the following questions. I have a legacy system in 11.0.3 (which does not have the TCA architecture) and the customers have to be moved to R12. I could get the details in different flat files for the import from source system. Which is the approach I should use?
    1) What does customer interface does NOT do which the TCA APIs can do?
    2) Doesn’t the customer interface use the TCA API within it?
    3) Is it better to use APIs than customer interface? If so, why and what are the criterions I should look for for deciding on what to use?
    Highly appreciate the help.
    Thanks,
    Dinesh

    Hello Dinesh,
    To answer your questions below:
    user3331828 wrote:
    1) What does customer interface does NOT do which the TCA APIs can do?The Customer Interface tables do the same things that TCA API does.
    user3331828 wrote:
    2) Doesn’t the customer interface use the TCA API within it?I have never been able to open a Spawned program to see which packages are used. Not sure if it uses the same API packages.
    user3331828 wrote:
    3) Is it better to use APIs than customer interface? If so, why and what are the criterions I should look for for deciding on what to use?Customer interface might be easier than the to implement than the use of API..
    For customer interface, just right a program to validate the source data and insert into open interface table, submit the import program and view output for errors. Much easy to maintain than API.
    API need a certain level of programming and you will need to investigate for all the flow of creating a customer and their corresponding create procedure to call..
    Hope this help,
    Vik

Maybe you are looking for