Vendor api

Hi All,
while we are trying to load vendor information to oralce(11.5.9) using AP_PO_VENDORS_APIS_PKG.
we are able to load the vendor information but then when call the INSERT_NEW_VENDOR_SITE procedure to load vendor sites getting below error
errors :ORA-20001: ORA-01403: no data found occurred
in
AP_APXVDMVD_PKG.INITIALIZE<-
with parameters (SHIP_TO_LOCATION_ID =
BILL_TO_LOCATION_ID = 181FOB_LOOKUP_CODE = Direct
DeliveryFREIGHT_TERMS_LOOKUP_CODE
we are able to add new site to existing vendor using update_vendor_site procedure
Please advice me
Thanks in advance
Ashok.

Hi,
I have provided the 2 guides as requested. Please do remember that SAP recommends accessing these documents via the help portal and it would be advisable to get your service marketplace ID created.
For your requirement, at a high level, you would need to pull up the Last login date for a particular Supplier's contact(s). Do keep in mind that one supplier can have multiple contacts and you need to check the access times of each of them via your Java code.
Once that is determined, you will need to produce list of such suppliers via a schedule task at stipulated time and then via scripting send emails to those suppliers.
I do believe deactivating access would need to be a manual step which would need to be performed by the Supplier admin team of your organization.
Request others to please chime in with their ideas.
Hope this helps,
Vikram Shukla
Edited by: Vikram Shukla on Nov 22, 2011 9:12 PM

Similar Messages

  • Vendor apis

    hi
    i have requirement to load vendor to oracle using API
    Iam using AP_PO_VENDORS_APIS_PKG APIS
    Please semd me sample code if any one has code it will be usefule to me
    Thanks in advance

    Thanks for ur reply srini,
    we are on 11.5.9. yes oracle is not supporint this package but we have any other way. plz advice me.
    i found that some has chaged the this packege last year i am cofusing whether this is the correct method or not ?
    if anyone is using this api please send me the sample code to my id [email protected]
    thanks,
    Ashok

  • Forms 9i - third party vendor API

    We have a third party vendor application that uses their API - Claim it can be accessed by any programming language that has the capability of accessing COM objects.
    I am still in the Form6i world, how does Forms9i handle this, do you use java or??
    Is there a white paper out that covers COM objects in Forms9i?

    Forms provides various APIS for talking to COM - the OLE2 package is the one that is mostly used. When running on the Web this interface works on the Application server machine (which has to be a Windows box as a result).
    If the COM server is only available on the Browser client machines then we can still get at it, but it involves using a Java to Com bridge - there is a white paper on this on OTN in the Forms section.

  • Question about MII and xMII UDS versions

    Hi all,
    just some quick questions on MII and MII UDS:
    Has the final version 12.1 of MII already been released? I can't find it in my service marketplace (does it depend on my account configuration?)
    What is the last MII UDS version? The 4.0 SP2? Is xMII UDS supported on Windows 2003 server 64 bit or only on 32bit?
    Can I connect MII via UDC connector to an UDS different from xMII UDS?
    Your help is appreciated...
    Mauro

    >
    > * Has the final version 12.1 of MII already been released? I can't find it in my service marketplace (does it depend on my account configuration?)
    Yes, it would depend upon your SMP credentials and licensed software purchases (if you have 12.0 then you're eligible for 12.1 too).  But it is not GA yet, so only people in ramp-up currently have access to it.  Don't both asking for a date because it has not been set.  Some time this quarter hopefully
    >
    > * What is the last MII UDS version? The 4.0 SP2? Is xMII UDS supported on Windows 2003 server 64 bit or only on 32bit?
    The 2.5 UDS's are still viable and necessary for some of the vendor API based connections, but 4.0 is available for OleDB, OPC-DA and OPC-HDA.  They have only been validated on 32 bit, but in theory they should work in a 32 bit emulation mode on a Windows 64 bit environment.  Supported vs. unsupported is a thin line as a result, but perhaps others using them could share any specific experiences using them on 64 bit.
    >
    > * Can I connect MII via UDC connector to an UDS different from xMII UDS?
    Your MII version of 11.5, 12.0, or 12.1 will work the same way with the UDS's as they are not version specific to MII.
    Regards,
    Jeremy

  • Suppliers appearing as customers

    Hello all. I have created suppliers using the POS_VENDOR_PKG api. It works great. But the problem I have is that the suppliers also show up as customers in receivables responsibility (Receivalbes Super User -> Customers -> Find Customers)
    I have noticed that I mistakenly put in a customer number while running the vendor API. I don't know if this is the reason and have tried to remove it using the API without any success.
    Can anyone point me to the reasons for suppliers showing up as customers also and what I can do to fix this.
    Thank you very much
    p.s - By the way. The strange thing is that the suppliers do not appear in the AR_CUSTOMERS table so there might be a flag or something making this data visible from the customer screen. Thanks again.
    Edited by: igwe on Sep 3, 2010 3:36 AM

    The customer search screen displays all parties in R12. These may be suppliers or other parties in the TCA. Select the radio button next to a party and see if a customer account appears below. This will tell you if it is truly a customer.
    Conversely, customers do not appear in search results in the Suppliers screen.

  • Need Sample Code for Vendor creation using JAVA API

    Hi,
    I have a scenario like Vendor creation using <b>Java API</b>.
    1.I have Vendors (Main) Table.
    2.I have <b>look up</b> tables like Account Group.
    3.Also <b>Qualifier table</b>(Phone numbers) too.
    Could you please give me the sample code which helps me to create Vendor records using Java API?
    <b>I need Code samples which should cover all of the above scenario.</b>
    <b>Marks will be given for the relevent answers.</b>
    Best Regards
    PK Devaraj

    Hi Devraj,
    I hope the below code might solve all your problem:-
    //Adding Qualified field
    //Creating empty record in Qualifed table 
    //Adding No Qualifiers
    Record qualified_record = RecordFactory.createEmptyRecord(new TableId(<TableId>));
    try {
    qualified_record.setFieldValue(new FieldId(<fieldId of NoQualifier), new StringValue(<StringValue>));//Adding No Qualifier
    catch (IllegalArgumentException e2) {
    // TODO Auto-generated catch block
    e2.printStackTrace();
    catch (MdmValueTypeException e2) {
    // TODO Auto-generated catch block
    e2.printStackTrace();
    //Creating Record in Qualified table
    CreateRecordCommand create_command = new CreateRecordCommand(connections);
    create_command.setSession(sessionId);
    create_command.setRecord(qualified_record);
    try
    create_command.execute();
    catch(Exception e)
    System.out.println(e.toString());
    RecordId record_id = create_command.getRecord().getId();
    //Adding the new record to Qualifed Lookup value and setting the Yes Qualifiers
    QualifiedLookupValue lookup_value = new QualifiedLookupValue();
    int link = lookup_value.createQualifiedLink(new QualifiedLinkValue(record_id));
    //Adding Yes Qualifiers
    lookup_value.setQualifierFieldValue(0 , new FieldId(<FieldID of Yes Qualifier>) , new StringValue(<StringValue>));
    //Now adding LookUP values
    //Fetch the RecordID of the value selected by user using the following function
    public RecordId getRecordID(ConnectionPool connections , String sessionID , String value , String Fieldid , String tableid)
    ResultDefinition rsd = new ResultDefinition(new TableId(tableid));
    rsd.addSelectField(new FieldId(Fieldid));
    StringValue [] val = new StringValue[1];
    val[0] = new StringValue(value);
    RetrieveRecordsByValueCommand val_command = new RetrieveRecordsByValueCommand(connections);
    val_command.setSession(sessionID);
    val_command.setResultDefinition(rsd);
    val_command.setFieldId(new FieldId(Fieldid));
    val_command.setFieldValues(val);
    try
         val_command.execute();
    catch(Exception e)
    RecordResultSet result_set = val_command.getRecords();
    RecordId id = null;
    if(result_set.getCount()>0)
         for(int i = 0 ; i < result_set.getCount() ; i++)
         id = result_set.getRecord(i).getId();     
    return id;
    //Finally creating the record in Main table
    com.sap.mdm.data.Record empty_record = RecordFactory.createEmptyRecord(new TableId("T1"));
    try {
         empty_record.setFieldValue(new FieldId(<FieldId of text field in Main table>),new StringValue(<StringValue>));
         empty_record.setFieldValue(new FieldId(<FieldId of lookup field in Main table>), new LookupValue(<RecordID of the value retrieved using the above getRecordID function>));
    empty_record.setFieldValue(new FieldId(<FieldId of Qualified field in Main table>), new QualifiedLookupValue(<lookup_value>));//QualifiedLookUp  value Retrieved above
    } catch (IllegalArgumentException e1) {
    // TODO Auto-generated catch block
         e1.printStackTrace();
    } catch (MdmValueTypeException e1) {
         // TODO Auto-generated catch block
         e1.printStackTrace();
    //Actually creating the record in Main table
    CreateRecordCommand create_main_command = new CreateRecordCommand(connections);
    create_main_command.setSession(sessionId);
    create_main_command.setRecord(empty_record);
    try
         create_main_command.execute();
    catch(Exception e)
         System.out.println(e.toString());
    Thanks
    Namrata

  • TCA API's to create and update employee vendors

    Hi All,
    We are doing an upgrade from 11.5.9 to R12 and I am looking for the Trading Community Architecture API's to create and update employee vendors for the HR Interface.
    We also need to change to use the Cash Management API's to create and Update Bank Accounts.
    Please help.
    Thanks in advance
    Regards,
    Sonia

    Hi Srini,
    Can you help me with the API's under Financials Receivables suite -> Trading Community in the Intergration Repository responsibilty? I am looking for the API's to create and update employee vendors
    Thanks so much
    --Sonia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Help required to create portal without using any vendor specific API's

    Hi All,
    I am trying to develope a portal without using any vendor specific API or tool like Weblogic workshop or Vignette Wizard. I would like to know whether Sun Microsystem provides any API for developing portal. I would also appreciate if I can get few links for developing portal using java API's...
    Thanks in advance...
    Dgk

    Sure Sun provides the tools: it is called the compiler. Now all you need to do is write the code for a portal. But since there are vendor specific solutions available that could make your life a lot easier, writing one yourself is like reinventing the wheel.
    Pardon my mild sarcasm, but avoiding API's not developed by Sun is not the general idea behind the Java platform. You are encouraged to use those API's.

  • How to extend AVK to scan for other vendor-specific APIs?

    All--
    How do I extend AVK to scan for other vendor specific APIs.
    I tried adding another <name> element underneath the
    appropriate the <unsupported> tag in the asmt-config.xml file,
    e.g.
    <websphere50>
    <supported>
    </supported>
    <unsupported>
    <name>com.ibm.ws.activity.ActivityConstants</name>
    .......... other <name> elements were left alone ..........
    </unsupported>
    </websphere50>
    But when I scanned the source code it didn't find an import of that API.
    Note: it did find an import of the APIs that were pre-defined in the asmt-
    config file; just not the one that I added.
    Is adding a <name> to the asmt-config.xml file the right approach?
    If so, how does the SourceScan ant task know where to find the asmt-
    config.xml file. Currently, I left it in the %JAVKE_HOME%/config folder.
    Is that the right place for that file?
    Any comments on how to extend AVK to scan for other vendor
    specific APIs would be greatly appreciated.

    Oops!
    Its probably bad form to answer your own question, but after
    sending out the original post, I treid:
    1. opening a new shell
    2. running the %JAVKE_HOME%/bin/javke_setenv.bat
    3. then ran the "asant code-scan" from that shell and viola it worked ...
    Sorry for any confusion.

  • Portlet API:  JSR 168 / 286  vs Vendor Extensions

    Currently evaluating Websphere 5.1 vs WebLogic 8.1 Portal software.
    It seems like both IBM and BEA push you towards using their Portal extensions as "value add" features. I am really interested in sticking to JSR 168 for portability.
    Does anyone have any experience with these tools developing JSR 168? I would appreciate your observations about using the vendor extensions vs JSR 168 support in these tools. Please add any comments on other portal software you have had success with.
    Any idea when will JSR 286 come out with final spec?
    Message was edited by:
    java@finance

    sorry.Correction.I am using Oracle portal 10.1.4 .
    -Vid-

  • "Is it possible for hardware vendors to write software to an API which allows their hardware to show up in Measuremen​t Explorer. Examples might be Digital Cameras, Motion Controller​s, etc."

    We make firewire based motion control hardware and cameras and we would like our hardware to show up in Measurement Explorer for easy configuration. Is there an API to program to to allow this to happen?

    Unfortunetly,there is currently no way that you can have your hardware show up in MAX.
    -Mike

  • Short list of some vendors supporting XMP

    I am working on getting a list of vendors that support XMP together - below is a short list of vendors with mostly "off the shelf" products.
    There are of course larger asset management vendors such as IBM, Media Bank, etc. that support XMP - working on getting that together.
    I thought this might be helpful regarding some questions I was hearing regarding search etc.
    Please post info on other vendors as you find them.
    Thanks,
    Gunar
    Extensis
    Portfolio also supports the ability to read information stored using industry standard metadata storage conventions such as IPTC, EXIF, and Adobes RDF-based XMP metadata standard. In addition to reading metadata from image files, Portfolio can also embed IPTC and XMP metadata directly back into JPEG, TIFF, and Adobe Photoshop PSD files, ensuring that critical information remains permanently attached to these assets, even when exported to other applications.
    http://www.extensis.com/en/products/product_features.jsp?id=prod60005
    iView
    IView Media Pro 2.5 supports XMP read & write for compatible IPTC fields. MediaPro? 2.5 is designed for creative professionals in film, video, photography, broadcast, education and scientific fields. MediaPro? helps streamline workflows and allows professionals to quickly and easily import, sort, organize and manage very large volumes and types of digital fileshelping cut costs and speed project delivery.
    http://www.iview-multimedia.com/products/
    Netxposure
    NetXposures Image Portal software is the next-generation in Digital Asset Management giving you a central library for collecting, storing, managing, and distributing image assets. Get controlled, immediate, Web-based access to media assets and ensure the proper use of those assets in all your sales, marketing, and Web initiatives.
    EXIF, XMP, and IPTC meta-data formats are supported within the image assets. Additionally, Image Portal can store custom meta-information about an image that is searchable and browsable.
    http://www.netx.net
    IXIASOFT TEXTML Server
    IXIASOFT is a Montreal-based company founded in 1998. Its flagship product, TEXTML Server, is an XML Content Server developed to store, index, and retrieve XML documents. TEXTML Server is aimed at OEMs, System Integrators, and Value-Added Resellers (VARs) who are developing web content management solutions. In fact, IXIASOFT provides its customers and partners with a set of APIs that enable developers of web applications to effectively publish large volumes of semi-structured XML content and make critical information easily accessible.
    XMP & TEXTML whitepaper at: http://www.ixiasoft.com/whitepapers.asp
    Context Media
    Context Media's products and solutions make it possible for you to exploit the full value of your content without disrupting existing workflows or replacing existing content management investments. Whether you need to virtually integrate disparate content systems for an efficient real-time enterprise; organize and manage distributed content for improved employee access and productivity; securely distribute content throughout your extended network of partners and customers; or all of these, Context Media's integrated family of products and solutions are designed to help companies implement a more efficient, productive, and scalable enterprise content management strategy.
    Context Media also announced its support for the open standards-based Adobe XMP (Extensible Metadata Platform). Based on W3C standards, Adobes XML-based XMP framework provides an open standard for the creation, processing and exchange of metadata across publishing workflows.
    http://www.contextmedia.com/news/full_story.jsp?itemId=185
    Poundhill Software
    Pound Hill Software Inc., developer of XTensions and plug-ins for the digital asset management industry, today announced the Catalyst Solution for XMP, the world's first integrated set of tools for Adobe's eXtensible Metadata Platform (XMP). Metadata is data about data. With Catalys

    Part 2 since it got cut off...
    Poundhill Software
    Pound Hill Software Inc., developer of XTensions and plug-ins for the digital asset management industry, today announced the Catalyst Solution for XMP, the world's first integrated set of tools for Adobe's eXtensible Metadata Platform (XMP). Metadata is data about data. With Catalyst, creators and managers of graphic arts intellectual property can specify both the metadata embedded in graphic arts documents and the look-and-feel of the dialogs that collect the data. In addition to designing and defining these controls, enterprises can generate their own plug-ins for applications such as Photoshop®, InDesign®, Illustrator®, Acrobat® and QuarkXPress to collect the data.
    Products: MetaLab - free XMP panel creator, Catalyst Solution - XMP schema and plugin generator
    Product Plugins: AppleScript, FileMaker Pro, PHP
    http://www.poundhill.com/
    Knowbody
    InDesign XMP plugins for workflow, automation and search
    http://www.knowbody.dk/productbasement/index.asp?language=2
    PixVue
    PixVue is an image management application. PixVue integrates with the Microsoft Windows Explorer to provide unsurpassed ease of use and ready access to a wide variety of image-related functions and data.
    http://www.pixvue.com/editorHelp.html
    Qarbon
    ViewletBuilder4 by Qarbon - ViewletBuilder makes it possible for anyone to create compelling, animated online presentations with ease. Whether you need to design product demonstrations, software tutorials, online documentation or e-learning material, Viewlets are the answer.
    http://www.qarbon.com/products/viewletbuilder/comparison.html
    PreClick
    PreClick - Preclick offers both a free and paid version of the Preclick Lifetime Photo Organizer. It's the world's easiest and fastest way to find and organize your growing digital photo collection. In addition to fast find, sort, slide show, editing tools, email, renaming and rating, Preclick offers the internet's best professional quality prints at great prices (29 cents per 4x6) from top-rated photo-finishers.
    http://www.preclick.com/support/faq.php - look under PhotoBack
    Soft Experience
    Catalogue by Soft Experience - Soft Experience software editor provides Windows products such as Idem, Catalogue Files Metadata Miner, Delenda, MacNames, utilities helping PC users and Windows administrators to automate technical tasks. Our tools focus on file and content management with functions like file synchronization, Macintosh file management on Windows platforms, automation of old files suppression, metadata extraction.
    http://peccatte.karefil.com/software/Catalogue/CatalogueENG.htm
    IFilterShop
    XMP IFilter by IFilterShop - We develop high quality custom solutions based on Microsoft Index Server technology. Index Server is at the foundation of Microsoft content management offering. Various Microsoft products including Sharepoint Portal Server, Exchange Full Text Search and Site Server rely on Index Server technology to make content accessible.
    http://www.ifiltershop.com/xmpfilter.html

  • How to set the return language? i read the api already

    import java.io.*;
    import java.util.*;
    class Listing_Available_Locales
         public static void main(String args[])   
             Locale[] locales = Locale.ENGLISH(); //error is here
                             //Locale[] locales = Locale.getAvailableLocales(); //this line no error
             for (int i=0; i<locales.length; i++) {
                 // Get the 2-letter language code
                 String language = locales.getLanguage();
         // Get the 2-letter country code; may be equal to ""
         String country = locales[i].getCountry();
         // Get localized name suitable for display to the user
         String locName = locales[i].getDisplayName();
         System.out.println(language+" "+country+" "+locName);
    local api is like below
    java.util
    Class Locale
    java.lang.Object
    java.util.Locale
    All Implemented Interfaces:
    Cloneable, Serializable
    public final class Locale
    extends Object
    implements Cloneable, Serializable
    A Locale object represents a specific geographical, political, or cultural region. An operation that requires a Locale to perform its task is called locale-sensitive and uses the Locale to tailor information for the user. For example, displaying a number is a locale-sensitive operation--the number should be formatted according to the customs/conventions of the user's native country, region, or culture.
    Create a Locale object using the constructors in this class:
    Locale(String language)
    Locale(String language, String country)
    Locale(String language, String country, String variant)
    The language argument is a valid ISO Language Code. These codes are the lower-case, two-letter codes as defined by ISO-639. You can find a full list of these codes at a number of sites, such as:
    http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt
    The country argument is a valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as:
    http://www.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
    The variant argument is a vendor or browser-specific code. For example, use WIN for Windows, MAC for Macintosh, and POSIX for POSIX. Where there are two variants, separate them with an underscore, and put the most important one first. For example, a Traditional Spanish collation might construct a locale with parameters for language, country and variant as: "es", "ES", "Traditional_WIN".
    Because a Locale object is just an identifier for a region, no validity check is performed when you construct a Locale. If you want to see whether particular resources are available for the Locale you construct, you must query those resources. For example, ask the NumberFormat for the locales it supports using its getAvailableLocales method.
    Note: When you ask for a resource for a particular locale, you get back the best available match, not necessarily precisely what you asked for. For more information, look at ResourceBundle.
    The Locale class provides a number of convenient constants that you can use to create Locale objects for commonly used locales. For example, the following creates a Locale object for the United States:
    Locale.US
    Once you've created a Locale you can query it for information about itself. Use getCountry to get the ISO Country Code and getLanguage to get the ISO Language Code. You can use getDisplayCountry to get the name of the country suitable for displaying to the user. Similarly, you can use getDisplayLanguage to get the name of the language suitable for displaying to the user. Interestingly, the getDisplayXXX methods are themselves locale-sensitive and have two versions: one that uses the default locale and one that uses the locale specified as an argument.
    The Java 2 platform provides a number of classes that perform locale-sensitive operations. For example, the NumberFormat class formats numbers, currency, or percentages in a locale-sensitive manner. Classes such as NumberFormat have a number of convenience methods for creating a default object of that type. For example, the NumberFormat class provides these three convenience methods for creating a default NumberFormat object:
    NumberFormat.getInstance()
    NumberFormat.getCurrencyInstance()
    NumberFormat.getPercentInstance()
    These methods have two variants; one with an explicit locale and one without; the latter using the default locale.
    NumberFormat.getInstance(myLocale)
    NumberFormat.getCurrencyInstance(myLocale)
    NumberFormat.getPercentInstance(myLocale)
    A Locale is the mechanism for identifying the kind of object (NumberFormat) that you would like to get. The locale is just a mechanism for identifying objects, not a container for the objects themselves.
    Each class that performs locale-sensitive operations allows you to get all the available objects of that type. You can sift through these objects by language, country, or variant, and use the display names to present a menu to the user. For example, you can create a menu of all the collation objects suitable for a given language. Such classes must implement these three class methods:
    public static Locale[] getAvailableLocales()
    public static String getDisplayName(Locale objectLocale,
    Locale displayLocale)
    public static final String getDisplayName(Locale objectLocale)
    // getDisplayName will throw MissingResourceException if the locale
    // is not one of the available locales.
    Since:
    1.1
    See Also:
    ResourceBundle, Format, NumberFormat, Collator, Serialized Form
    Field Summary
    static Locale CANADA
    Useful constant for country.
    static Locale CANADA_FRENCH
    Useful constant for country.
    static Locale CHINA
    Useful constant for country.
    static Locale CHINESE
    Useful constant for language.
    static Locale ENGLISH
    Useful constant for language.
    static Locale FRANCE
    Useful constant for country.
    static Locale FRENCH
    Useful constant for language.
    static Locale GERMAN
    Useful constant for language.
    static Locale GERMANY
    Useful constant for country.
    static Locale ITALIAN
    Useful constant for language.
    static Locale ITALY
    Useful constant for country.
    static Locale JAPAN
    Useful constant for country.
    static Locale JAPANESE
    Useful constant for language.
    static Locale KOREA
    Useful constant for country.
    static Locale KOREAN
    Useful constant for language.
    static Locale PRC
    Useful constant for country.
    static Locale SIMPLIFIED_CHINESE
    Useful constant for language.
    static Locale TAIWAN
    Useful constant for country.
    static Locale TRADITIONAL_CHINESE
    Useful constant for language.
    static Locale UK
    Useful constant for country.
    static Locale US
    Useful constant for country.
    Constructor Summary
    Locale(String language)
    Construct a locale from a language code.
    Locale(String language, String country)
    Construct a locale from language, country.
    Locale(String language, String country, String variant)
    Construct a locale from language, country, variant.
    Method Summary
    Object clone()
    Overrides Cloneable
    boolean equals(Object obj)
    Returns true if this Locale is equal to another object.
    static Locale[] getAvailableLocales()
    Returns a list of all installed locales.
    String getCountry()
    Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code.
    static Locale getDefault()
    Gets the current value of the default locale for this instance of the Java Virtual Machine.
    String getDisplayCountry()
    Returns a name for the locale's country that is appropriate for display to the user.
    String getDisplayCountry(Locale inLocale)
    Returns a name for the locale's country that is appropriate for display to the user.
    String getDisplayLanguage()
    Returns a name for the locale's language that is appropriate for display to the user.
    String getDisplayLanguage(Locale inLocale)
    Returns a name for the locale's language that is appropriate for display to the user.
    String getDisplayName()
    Returns a name for the locale that is appropriate for display to the user.
    String getDisplayName(Locale inLocale)
    Returns a name for the locale that is appropriate for display to the user.
    String getDisplayVariant()
    Returns a name for the locale's variant code that is appropriate for display to the user.
    String getDisplayVariant(Locale inLocale)
    Returns a name for the locale's variant code that is appropriate for display to the user.
    String getISO3Country()
    Returns a three-letter abbreviation for this locale's country.
    String getISO3Language()
    Returns a three-letter abbreviation for this locale's language.
    static String[] getISOCountries()
    Returns a list of all 2-letter country codes defined in ISO 3166.
    static String[] getISOLanguages()
    Returns a list of all 2-letter language codes defined in ISO 639.
    String getLanguage()
    Returns the language code for this locale, which will either be the empty string or a lowercase ISO 639 code.
    String getVariant()
    Returns the variant code for this locale.
    int hashCode()
    Override hashCode.
    static void setDefault(Locale newLocale)
    Sets the default locale for this instance of the Java Virtual Machine.
    String toString()
    Getter for the programmatic name of the entire locale, with the language, country and variant separated by underbars.
    Methods inherited from class java.lang.Object
    finalize, getClass, notify, notifyAll, wait, wait, wait
    Field Detail
    ENGLISH
    public static final Locale ENGLISHUseful constant for language.
    FRENCH
    public static final Locale FRENCHUseful constant for language.
    GERMAN
    public static final Locale GERMANUseful constant for language.
    ITALIAN
    public static final Locale ITALIANUseful constant for language.
    JAPANESE
    public static final Locale JAPANESEUseful constant for language.
    KOREAN
    public static final Locale KOREANUseful constant for language.
    CHINESE
    public static final Locale CHINESEUseful constant for language.
    SIMPLIFIED_CHINESE
    public static final Locale SIMPLIFIED_CHINESEUseful constant for language.
    TRADITIONAL_CHINESE
    public static final Locale TRADITIONAL_CHINESEUseful constant for language.
    FRANCE
    public static final Locale FRANCEUseful constant for country.
    GERMANY
    public static final Locale GERMANYUseful constant for country.
    ITALY
    public static final Locale ITALYUseful constant for country.
    JAPAN
    public static final Locale JAPANUseful constant for country.
    KOREA
    public static final Locale KOREAUseful constant for country.
    CHINA
    public static final Locale CHINAUseful constant for country.
    PRC
    public static final Locale PRCUseful constant for country.
    TAIWAN
    public static final Locale TAIWANUseful constant for country.
    UK
    public static final Locale UKUseful constant for country.
    US
    public static final Locale USUseful constant for country.
    CANADA
    public static final Locale CANADAUseful constant for country.
    CANADA_FRENCH
    public static final Locale CANADA_FRENCHUseful constant for country.
    Constructor Detail
    Locale
    public Locale(String language,
    String country,
    String variant)Construct a locale from language, country, variant. NOTE: ISO 639 is not a stable standard; some of the language codes it defines (specifically iw, ji, and in) have changed. This constructor accepts both the old codes (iw, ji, and in) and the new codes (he, yi, and id), but all other API on Locale will return only the OLD codes.
    Parameters:
    language - lowercase two-letter ISO-639 code.
    country - uppercase two-letter ISO-3166 code.
    variant - vendor and browser specific code. See class description.
    Throws:
    NullPointerException - thrown if any argument is null.
    Locale
    public Locale(String language,
    String country)Construct a locale from language, country. NOTE: ISO 639 is not a stable standard; some of the language codes it defines (specifically iw, ji, and in) have changed. This constructor accepts both the old codes (iw, ji, and in) and the new codes (he, yi, and id), but all other API on Locale will return only the OLD codes.
    Parameters:
    language - lowercase two-letter ISO-639 code.
    country - uppercase two-letter ISO-3166 code.
    Throws:
    NullPointerException - thrown if either argument is null.
    Locale
    public Locale(String language)Construct a locale from a language code. NOTE: ISO 639 is not a stable standard; some of the language codes it defines (specifically iw, ji, and in) have changed. This constructor accepts both the old codes (iw, ji, and in) and the new codes (he, yi, and id), but all other API on Locale will return only the OLD codes.
    Parameters:
    language - lowercase two-letter ISO-639 code.
    Throws:
    NullPointerException - thrown if argument is null.
    Since:
    1.4
    Method Detail
    getDefault
    public static Locale getDefault()Gets the current value of the default locale for this instance of the Java Virtual Machine.
    The Java Virtual Machine sets the default locale during startup based on the host environment. It is used by many locale-sensitive methods if no locale is explicitly specified. It can be changed using the setDefault method.
    Returns:
    the default locale for this instance of the Java Virtual Machine
    setDefault
    public static void setDefault(Locale newLocale)Sets the default locale for this instance of the Java Virtual Machine. This does not affect the host locale.
    If there is a security manager, its checkPermission method is called with a PropertyPermission("user.language", "write") permission before the default locale is changed.
    The Java Virtual Machine sets the default locale during startup based on the host environment. It is used by many locale-sensitive methods if no locale is explicitly specified.
    Since changing the default locale may affect many different areas of functionality, this method should only be used if the caller is prepared to reinitialize locale-sensitive code running within the same Java Virtual Machine, such as the user interface.
    Parameters:
    newLocale - the new default locale
    Throws:
    SecurityException - if a security manager exists and its checkPermission method doesn't allow the operation.
    NullPointerException - if newLocale is null
    See Also:
    SecurityManager.checkPermission(java.security.Permission), PropertyPermission
    getAvailableLocales
    public static Locale[] getAvailableLocales()Returns a list of all installed locales.
    getISOCountries
    public static String[] getISOCountries()Returns a list of all 2-letter country codes defined in ISO 3166. Can be used to create Locales.
    getISOLanguages
    public static String[] getISOLanguages()Returns a list of all 2-letter language codes defined in ISO 639. Can be used to create Locales. [NOTE: ISO 639 is not a stable standard-- some languages' codes have changed. The list this function returns includes both the new and the old codes for the languages whose codes have changed.]
    getLanguage
    public String getLanguage()Returns the language code for this locale, which will either be the empty string or a lowercase ISO 639 code.
    NOTE: ISO 639 is not a stable standard-- some languages' codes have changed. Locale's constructor recognizes both the new and the old codes for the languages whose codes have changed, but this function always returns the old code. If you want to check for a specific language whose code has changed, don't do
    if (locale.getLanguage().equals("he")
    Instead, do
    if (locale.getLanguage().equals(new Locale("he", "", "").getLanguage())
    See Also:
    getDisplayLanguage()
    getCountry
    public String getCountry()Returns the country/region code for this locale, which will either be the empty string or an upercase ISO 3166 2-letter code.
    See Also:
    getDisplayCountry()
    getVariant
    public String getVariant()Returns the variant code for this locale.
    See Also:
    getDisplayVariant()
    toString
    public final String toString()Getter for the programmatic name of the entire locale, with the language, country and variant separated by underbars. Language is always lower case, and country is always upper case. If the language is missing, the string will begin with an underbar. If both the language and country fields are missing, this function will return the empty string, even if the variant field is filled in (you can't have a locale with just a variant-- the variant must accompany a valid language or country code). Examples: "en", "de_DE", "_GB", "en_US_WIN", "de__POSIX", "fr__MAC"
    Overrides:
    toString in class Object
    Returns:
    a string representation of the object.
    See Also:
    getDisplayName()
    getISO3Language
    public String getISO3Language()
    throws MissingResourceExceptionReturns a three-letter abbreviation for this locale's language. If the locale doesn't specify a language, this will be the empty string. Otherwise, this will be a lowercase ISO 639-2/T language code. The ISO 639-2 language codes can be found on-line at ftp://dkuug.dk/i18n/iso-639-2.txt
    Throws:
    MissingResourceException - Throws MissingResourceException if the three-letter language abbreviation is not available for this locale.
    getISO3Country
    public String getISO3Country()
    throws MissingResourceExceptionReturns a three-letter abbreviation for this locale's country. If the locale doesn't specify a country, this will be tbe the empty string. Otherwise, this will be an uppercase ISO 3166 3-letter country code.
    Throws:
    MissingResourceException - Throws MissingResourceException if the three-letter country abbreviation is not available for this locale.
    getDisplayLanguage
    public final String getDisplayLanguage()Returns a name for the locale's language that is appropriate for display to the user. If possible, the name returned will be localized for the default locale. For example, if the locale is fr_FR and the default locale is en_US, getDisplayLanguage() will return "French"; if the locale is en_US and the default locale is fr_FR, getDisplayLanguage() will return "anglais". If the name returned cannot be localized for the default locale, (say, we don't have a Japanese name for Croatian), this function falls back on the English name, and uses the ISO code as a last-resort value. If the locale doesn't specify a language, this function returns the empty string.
    getDisplayLanguage
    public String getDisplayLanguage(Locale inLocale)Returns a name for the locale's language that is appropriate for display to the user. If possible, the name returned will be localized according to inLocale. For example, if the locale is fr_FR and inLocale is en_US, getDisplayLanguage() will return "French"; if the locale is en_US and inLocale is fr_FR, getDisplayLanguage() will return "anglais". If the name returned cannot be localized according to inLocale, (say, we don't have a Japanese name for Croatian), this function falls back on the default locale, on the English name, and finally on the ISO code as a last-resort value. If the locale doesn't specify a language, this function returns the empty string.
    getDisplayCountry
    public final String getDisplayCountry()Returns a name for the locale's country that is appropriate for display to the user. If possible, the name returned will be localized for the default locale. For example, if the locale is fr_FR and the default locale is en_US, getDisplayCountry() will return "France"; if the locale is en_US and the default locale is fr_FR, getDisplayLanguage() will return "Etats-Unis". If the name returned cannot be localized for the default locale, (say, we don't have a Japanese name for Croatia), this function falls back on the English name, and uses the ISO code as a last-resort value. If the locale doesn't specify a country, this function returns the empty string.
    getDisplayCountry
    public String getDisplayCountry(Locale inLocale)Returns a name for the locale's country that is appropriate for display to the user. If possible, the name returned will be localized according to inLocale. For example, if the locale is fr_FR and inLocale is en_US, getDisplayCountry() will return "France"; if the locale is en_US and inLocale is fr_FR, getDisplayLanguage() will return "Etats-Unis". If the name returned cannot be localized according to inLocale. (say, we don't have a Japanese name for Croatia), this function falls back on the default locale, on the English name, and finally on the ISO code as a last-resort value. If the locale doesn't specify a country, this function returns the empty string.
    getDisplayVariant
    public final String getDisplayVariant()Returns a name for the locale's variant code that is appropriate for display to the user. If possible, the name will be localized for the default locale. If the locale doesn't specify a variant code, this function returns the empty string.
    getDisplayVariant
    public String getDisplayVariant(Locale inLocale)Returns a name for the locale's variant code that is appropriate for display to the user. If possible, the name will be localized for inLocale. If the locale doesn't specify a variant code, this function returns the empty string.
    getDisplayName
    public final String getDisplayName()Returns a name for the locale that is appropriate for display to the user. This will be the values returned by getDisplayLanguage(), getDisplayCountry(), and getDisplayVariant() assembled into a single string. The display name will have one of the following forms:
    language (country, variant)
    language (country)
    language (variant)
    country (variant)
    language
    country
    variant
    depending on which fields are specified in the locale. If the language, country, and variant fields are all empty, this function returns the empty string.
    getDisplayName
    public String getDisplayName(Locale inLocale)Returns a name for the locale that is appropriate for display to the user. This will be the values returned by getDisplayLanguage(), getDisplayCountry(), and getDisplayVariant() assembled into a single string. The display name will have one of the following forms:
    language (country, variant)
    language (country)
    language (variant)
    country (variant)
    language
    country
    variant
    depending on which fields are specified in the locale. If the language, country, and variant fields are all empty, this function returns the empty string.
    clone
    public Object clone()Overrides Cloneable
    Overrides:
    clone in class Object
    Returns:
    a clone of this instance.
    See Also:
    Cloneable
    hashCode
    public int hashCode()Override hashCode. Since Locales are often used in hashtables, caches the value for speed.
    Overrides:
    hashCode in class Object
    Returns:
    a hash code value for this object.
    See Also:
    Object.equals(java.lang.Object), Hashtable
    equals
    public boolean equals(Object obj)Returns true if this Locale is equal to another object. A Locale is deemed equal to another Locale with identical language, country, and variant, and unequal to all other objects.
    Overrides:
    equals in class Object
    Parameters:
    obj - the reference object with which to compare.
    Returns:
    true if this Locale is equal to the specified object.
    See Also:
    Object.hashCode(), Hashtable
    Overview Package Class Use Tree Deprecated Index Help
    JavaTM 2 Platform
    Std. Ed. v1.4.2
    PREV CLASS NEXT CLASS FRAMES NO FRAMES
    SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
    Submit a bug or feature
    For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
    Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

    Was it really necessary to post the whole API description?!?
    Locale[] locales = Locale.ENGLISH();ENGLISH is not a method in class Locale, so do not add the braces "( );".
    Also, the constant ENGLISH is not an array, but just a single Locale object.
    You didn't say what your problem was. What do you want to achieve with your program and what is it that you don't understand?

  • How to Edit information of existing vendors

    Hi All,
    How to edit the information of existing suppliers using Supplier Open Interface Import Program. This information is exists in PO_VENDORS table.
    I have successfully imported new Supplier with Status = NEW and now I want to edit it.
    Can anyone guide/help me ?
    regards
    Sanjay

    Hi Vik & Terry,
    Thanks for your update.
    I want to update Vendor Heder Information , for example, Vendor Type or Bill To & Ship To Location, and Vendor Site Information , For Example, Vendor Address.
    Such task should be accomplished only thru API , not thu Form.
    If you have any idea, let me know.
    regards
    Sanjay

  • Vendor Open Interface Usage

    Hi all...doing a supplier conversion/interface in R12.
    The conversion part is fine...just load the 3 open interface tables, and run the import programs.
    But if I get updates, can i load these tables and import the updates?
    Or do I need to use the APIs?
    I try using the API to update the contacts and get an error...maybe someone can take a look and troubleshoot?
    I am attempting to use the AP_VENDOR_PUB_PKG.UPDATE_VENDOR_CONTACT API
    Error(1931,1): PLS-00306: wrong number or types of arguments in call to 'UPDATE_VENDOR_CONTACT'
    Here is my code:
    SELECT
    vendor_contact_id
    ,vendor_site_id
    ,per_party_id
    ,relationship_id
    ,rel_party_id
    ,party_site_id
    ,org_contact_id
    ,org_party_site_id
    ,first_name
    ,middle_name
    ,last_name
    ,title
    ,inactive_date
    ,department
    ,mail_stop
    ,area_code
    ,phone
    ,alt_area_code
    ,alt_phone
    ,fax_area_code
    ,fax
    ,email_address
    ,url
    ,prefix
    INTO
    v_vendor_contact_rec.vendor_contact_id
    ,v_vendor_contact_rec.vendor_site_id
    ,v_vendor_contact_rec.per_party_id
    ,v_vendor_contact_rec.relationship_id
    ,v_vendor_contact_rec.rel_party_id
    ,v_vendor_contact_rec.party_site_id
    ,v_vendor_contact_rec.org_contact_id
    ,v_vendor_contact_rec.org_party_site_id
    ,v_vendor_contact_rec.person_first_name
    ,v_vendor_contact_rec.person_middle_name
    ,v_vendor_contact_rec.person_last_name
    ,v_vendor_contact_rec.person_title
    ,v_vendor_contact_rec.inactive_date
    ,v_vendor_contact_rec.department
    ,v_vendor_contact_rec.mail_stop
    ,v_vendor_contact_rec.area_code
    ,v_vendor_contact_rec.phone
    ,v_vendor_contact_rec.alt_area_code
    ,v_vendor_contact_rec.alt_phone
    ,v_vendor_contact_rec.fax_area_code
    ,v_vendor_contact_rec.fax_phone
    ,v_vendor_contact_rec.email_address
    ,v_vendor_contact_rec.url
    ,v_vendor_contact_rec.prefix
    FROM apps.ap_supplier_contacts
    WHERE vendor_site_id = v_vendor_site_id;
    v_vendor_contact_rec.vendor_id := v_vendor_id;
    v_vendor_contact_rec.vendor_site_id := v_vendor_site_id;
    v_vendor_contact_rec.org_id := v_org_id;
    APPS.AP_VENDOR_PUB_PKG.UPDATE_VENDOR_CONTACT(
    p_api_version => 1.0
    ,p_vendor_contact => v_vendor_contact_rec
    ,x_return_status =>v_return_status
    ,x_msg_count     => v_msg_count
    ,x_msg_data => v_msg_data
    );

    Hi Jason,
    i dont understand why you need to papulate the interface Table while you are using APIS.
    can you explain details i can halp you iam also working on Vendor conversion
    i was able to update the vendor details
    Thanks,
    ashok

Maybe you are looking for