TCA API create_location creates locations irrespective of the address style

Hi All,
We are using Trading Community Architecture API for customer conversion. We have address styles setup for Canada and US and we have attached these address styles to the respective countries in the territories window.
But when we use create_location API for creating location and then a party site for it, it allows us to create the locations even when we dont pass in a value for the REQUIRED fields setup at the address style. We expected it to error out.
Does anyone have idea about how this works. We want the API to validate the addresses we enter for locations with the address styles we set up.
ketha

You can create a wrapper package on top of the API (hr_location_api.create_location)
In the wrapper package you set all the values dynamically based on your requirements(say the style and add_line columns are populated on your conditions) and then you call the API.
Does that not work ?

Similar Messages

  • I am trying to create a group in the address book.  When I drag over the contacts from the contact list they duplicate in the address book. I am using "Lion"

    When I try to create a group from the address book, when I drag over the names from the contact list, the names duplicate in the address book.

    Hi cavu10horses,
    Thanks for using Apple Support Communities.  This article has instructions for changing a contact's photo using a photo from iPhoto's Faces feature:
    Contacts: Add or change contact pictures
    http://support.apple.com/kb/PH11580
    Select a contact or your own card, and then double-click the picture well.
    Select a picture:
    Drag an image to the picture well.
    Click Camera to take a picture.
    If you have pictures in iPhoto, click the Faces button to use a face from iPhoto.
    If the contact is linked (it’s in multiple accounts, but displayed only once in Contacts) and has multiple account pictures, click Linked.
    Click Edit to edit the picture.
    To zoom in and out of the picture, drag the slider. Drag the picture to change which part of it is visible.
    To rotate the picture, hold down the Option key while you click and drag the picture.
    To apply special effects, click the Effects Gallery button and choose an effect.
    Click Done.
    Cheers,
    - Ari

  • API for creating a directory in the application server

    Hello,
    Does anyone knows a way to create a directory in the application server? Something similar to
    CL_GUI_FRONTEND_SERVICES but for managing files in the application server?
    Thanks in advance
    Diz IsMi

    Actually, CL_GUI_FRONTEND_SERVICES=>Directory_Create works really good for me. 
    REPORT ZRICH_0001 .
    data: path type string.
    data: rc type sy-subrc.
    path = '\172.52.72.651qfilesvr400S109XXXXusrsapTSTSYStest'.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_CREATE
      EXPORTING
        DIRECTORY                = path
      CHANGING
        RC                       = rc
      EXCEPTIONS
        DIRECTORY_CREATE_FAILED  = 1
        CNTL_ERROR               = 2
        ERROR_NO_GUI             = 3
        PATH_NOT_FOUND           = 4
        DIRECTORY_ACCESS_DENIED  = 5
        DIRECTORY_ALREADY_EXISTS = 6
        UNKNOWN_ERROR            = 7
        others                   = 8
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Rich Heilman

  • Creating a playlist on the ZEN Style M100/300 using WinAmp

    On WinAMP's left panel, right-click on "Playlists". Select "New Playlist...", then enter your playlist name.
    2) Select the songs you wish to add to the playlist, drag & drop them into the playlist name you've just created.
    3) Right-click on the playlist title example "John's Birthday Demo",select "Send to" ---> "USB Dri've H:" (assuming H: is your device dri've leter assigned to the player). The playlist and the songs listed in your playlist will be transfered into the ZEN Style M series player?
    4) Safely disconnect your player from the Windows system ,then disconnect your player from the USB cable. The player hourglass icon will appear and spin for a while, this is to generate and update the player's memory since new contents are added. Once the process has completed, scroll to "Music" --> "Playlist" then select your newly added playlist title to play.
    Note: Please make sure that you have already loaded the songs into the MUSIC folder of the ZEN Style M series player before creating the playlist.

  • Is it possible to create a list using the addresses in the "TO" list from a received email?

    I have a very large group I'd like to create an email list for. I don't want to have to search in my address book for every address that needs to go into it. Is there away that I can use an email that I've received which has been sent to every member I want in the list - all are listed in the "To" portion of the header - and create a list from those addresses? Thanks.

    I know how to do that. I don't want to have to take the time to search through the gazillion addresses in my address book to find each one and then drag or type them into the list. My question was is there away to have all the addresses in the "To" field used to create a list by - for instance - somehow selecting all of these addresses and saying create a list from them. Or clicking on an option that would give me the ability to create a list from all the addresses in the "To" field of a specific email. Thanks.

  • In window.open i am trying to hide the location info in the address bar. However each time i see the URL of target page which gets open in the new window in the location bar.

    FF version is 3.6.8
    JS used is window.open (g_sServerURL + "/constellationheader/conductor_help/!SSL!/WebHelp/conductor_help.htm", 'popUpWindow','width=800,height=600,left=0,top=0,status=no,toolbar=no,location=no,menubar=no,titlebar=no');

    Perhaps it would be helpful for you to view the page source code of this page
    http://www.alanwork.com/
    As you can see, the submenu code links are immediately below the top level code, and are
    wrapped in their own  <UL> </UL> tag pairs.
    Hope that helps

  • I cannot seem to add the search bar which should be located next to the address bar. it was removed when I updated one of the last times.

    I have been trying to figure out why this search bar where you type in keywords for a google search had been removed during one of the beta updates, but this is quite annoying to not have.

    Hello,
    Sometimes toolbars are missing because they are hidden, you just need to bring them back up. Visit this article to learn how to bring them back: [[Customize Firefox controls, buttons and toolbars]]. You can learn tips and tricks at the same time.
    Did this fix your problems? Report back to us!
    Thank you.
    Sometimes the time and date is wrong on your device causing that error message to appear.
    Hello,
    Try disabling graphics hardware acceleration. Since this feature was added to Firefox, it has gradually improved, but there still are a few glitches.
    You might need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    Then perform these steps:
    *Click the orange Firefox button at the top left, then select the "Options" button, or, if there is no Firefox button at the top, go to Tools > Options.
    *In the Firefox options window click the ''Advanced'' tab, then select "General".
    *In the settings list, you should find the ''Use hardware acceleration when available'' checkbox. Uncheck this checkbox.
    *Now, restart Firefox and see if the problems persist.
    Additionally, please check for updates for your graphics driver by following the steps mentioned in the following Knowledge base articles:
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]
    [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]
    Did this fix your problems? Please report back to us!
    Thank you.

  • Why is it that every time I restart Firefox it deletes my quick links that are located right under the address bar?

    This is a recent problem and it has happened 4 consecutive times now. Every time I restart Firefox it has removed my quick links to the websites I visit most often. I didn't have a problem like this for over a year, and then it seemed to start right after some recent Firefox updates.

    Hi earlten
    This is a '''Community-Driven''' Support Web Site for Firefox.
    The community are volunteers; just ordinary users like yourself who use the Firefox browser and try to offer other users free support. Please remember this and moderate your language to show some respect. I know you are frustrated, but venting this on people who do their best to help others in their free time is not likely to be well received.
    Please just state clearly the problem you are having and other users will see if they can help you.
    For example: Every so often I check whether my plugins are up to date by using this link:
    http://www.mozilla.com/en-US/plugincheck/[[http://www.mozilla.com/en-US/plugincheck/]]

  • Creating locations for the assets in Asset accounting

    Hi,
    Can anyone please let me know how to create locations for the existing assets in AA module? We need to create locations and assign the assets so as to track the assets location wise.
    Thanks,

    Goto
    SPRO-->Enterprise structure->Definition-->Logistic General->Define Location
    there you can create location

  • AR Customer Interface (RACUST) v.s. TCA APIs

    Good afternoon,
    Our users are asking us to import columns that do not exist in the RA_CUSTOMERS_INTERFACE_ALL table.  From reviewing mettalink documentation it looks like we have more options with the TCA APIs.  Do the TCA APIs (12.1.3) cover everything (including bank account information) that is handled by RACUST?    If yes, do you recommend exclusively using TCA APIs or is a hybrid of the two processes better.  If anyone has any experience with this I would appreciate your comments.
    Thanks,
    Tam

    990027 wrote:
    Did YOu check the mutil_org_category ( Single, Null, Multiple) of your conc program?This is an old thread and I believe there is no point in bringing it up.
    Thanks,
    Hussein

  • Error 'Invalid address style' when create new address Legal Entity R12

    Hi,
    Did somebody had the same problem like i do.
    I am trying to create a new dutch address for a new legal entity in Oracle R12.1.1 Vision, but however hard i trying to do so i always received the error message 'Invalid Address Style' and i filled in all the required field.
    When i tested with the country 'US' or 'Australia' is could create a new address without any problem.
    I hope you can help me to solve my problem.
    Thanks in advance...!!
    Wim

    Hello Sandeep,
    You were right, I checked the dff for the address style and activated the once for the countries I needed and now I can create new address for the required countries by using the legal entity configurator.
    Thanks for your help..!!
    Regards,
    Wim
    PS: Incase somebody else has they same problem, let me know and i send you the worddocument i made with the solution

  • SSHR do not delivers the Address line

    Hi
    I have addres structure defined in DFF (Personal Address Informatio). The Segments are already created. In core application i have the full control about the address style, and showing me the right structure. But looging in SSHR to enter the new address, it delivers the Address Line 1 not, and if i jump to the next page telling me that the required address line 1 has not value.
    The style looks like: SK_GLB| Address Line 1| Address Line 2| Address Line 3|Postal Code|City||
    I dont know why this line does not displayed.
    Any suggestion????.
    Thx

    You say the style looks like this:
    SK_GLB| Address Line 1| Address Line 2| Address Line 3|Postal Code|City||
    Is that the personalization you've defined against the address DFF?
    You say "it delivers the Address Line 1 not" - does that mean Address Line 1 does show or does it mean that Address Line 1 does not show?

  • Address Style in TCA

    I would like to change the address style in the fromatted address. I do see that the formatting is done in the package hz_format_pub. Where in the application can I go and change the order of the various styles. The current data is stored in the table, hz_style_fmt_layouts_b, and I would like to change it.
    thanks for any insight you can provide.

    Hi,
    Please see these docs.
    HOW TO SETUP FLEXIBLE ADDRESS FORMATS FOR UK/AFRICA/AUSTRALIA [ID 1014581.102]
    R12: Suppliers Setup Showing All Address Lines as Required for UK Address Style [ID 567011.1]
    R12 Supplier: Address FAQs [ID 601661.1]
    Address Format For User Registration Is The Same For All Countries [ID 465447.1]
    Is It Possible To Change The Order On How The Address Information On Customer Standard Header Form Is Displayed? [ID 312776.1]
    Thanks,
    Hussein

  • Using Azure Python API to create VM without exception, but the VM is not launched....

    This is the scenarios:
    I have created a custom Linux VM image and I have successfully launch a VM using the Python API on region US-WESt.  
    My goal is to create a custom Linux VM on a VNET.
    This is what I have done:
    1. Knowing that using Python API to create Virtual Network (VNET) is not supported yet, I manually created a VNET using Console.
    2. Using Python API to create hosted service (cloud service) on the same location as the VNET I created.
    3. Using Python API to launch the VM on the VNET.
    4. without any exception nor error, the VM is just not created...
    The Python APIs I used:
    #create a VM
    name = 'myCloudN'
    location = 'West US'
    sms.create_hosted_service(service_name=name,
        label=name,
        location=location)
    image_name = 'cloudN-Azure-20150205-os-2015-02-05'
    media_link = 'https://xxxxxxxxxxxxxxxxxxxxxx.windows.net/vhds/cloudN-Azure-20150205-os-2015-02-05.vhd'
    linux_config = LinuxConfigurationSet('cloudN-1', 'ubuntu', 'ubuntu1!', True)
    os_hd = OSVirtualHardDisk(image_name, media_link)
    vnet_name = 'test1'
    sms.create_virtual_machine_deployment(
        service_name=name,
        deployment_name=name,
        deployment_slot='production',
        label=name,
        role_name=name,
        system_config=linux_config,
        os_virtual_hard_disk=os_hd,
        virtual_network_name=vnet_name,
        role_size='Small')
    <azure.servicemanagement.AsynchronousOperationResult object at 0x90669ec>   <=====I got this
    try:
       props = sms.get_deployment_by_name(name, name)
       print vars(props)
    except Exception as pe:
       print "Error on get_deployment: %s" %str(pe)
    Error on get_deployment: Not found (Not Found)  <======== Cannot find my VM
    Did I miss anything or the Python API is not ready for this yet....
    Please help.
    Big thanks in advance...

    I did create the cloud service.   In my original post, the first thing I do is to create the cloud service.
    The API I used to create cloud service was "create_hosted_service".
    #create a VM
    name = 'myCloudN'
    location = 'West US'
    sms.create_hosted_service(service_name=name,
        label=name,
        location=location)
    Please help.

  • Help/Example needed for creating JMSQueues/JMSTopics using the MBean API

    I am trying to create JMSQueues programmatically using the MBean API. When
    I use MBeanHome.createAdminMBean(), a queue appears in the root of the
    config file. This is progress, but the queue is in the wrong place! I need
    the queues to be part of my JMS server's "destinations" as seen on the
    console.
    So now I am trying to use createConfigurationMBean() instead, but I can't
    figure out what the "parent" parameter should be- no documentation! My
    first guess was that the parent might be the JMSServer, but that doesn't
    work.
    Anyone have example code to insert JMSQueues and JMSTopics into a specific
    JMS server's destinations?
    Here is the code I tried... All goes well until the final
    createConfigurationMBean call, where it throws a MBeanCreationException:
    // Get the MBeanHome bean
    Object obj = jndiContext.lookup("weblogic.management.adminhome");
    MBeanHome mbeanhome = (MBeanHome) javax.rmi.PortableRemoteObject.narrow
    (obj, MBeanHome.class);
    // Get the server MBean
    JMSServerMBean jmsServerMB =
    (JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
    JMSServerMBean.class);
    // Create the new Queue
    JMSQueueMBean jmsQMB = (JMSQueueMBean)mbeanhome.createConfigurationMBean
    ("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);

    Ok, I still don't see how I can do it differently with the admin tool. If
    you want to see the commands I'm using, I can post them, but the basic one
    is shown below in the previous message. We're trying to set up a script so
    that developers can just run it and properly configure WebLogic with the
    right components.
    Thanks,
    Michelle
    "Michelle Baxter" <[email protected]> wrote in message
    news:[email protected]...
    I am using the weblogic.Admin tool, not doing this in code. I will attempt
    to translate your advice when I get time again.
    My commands look like this:
    java weblogic.Admin -url 127.0.0.1:7001 -username system -passwordweblogic
    CREATE -mbean "mydomain:Type=JMSQueue,Name=MyJMSQueue"
    I create this, I create the JMSServer MBean, then do and INVOKE (insteadof
    CREATE) and call the addDestination method, adding the JMS Queue MBeanthat
    I created previously, using the same naming scheme as in the above CREATE.
    "Viresh Garg" <[email protected]> wrote in message
    news:[email protected]...
    Daron Cole wrote:
    You can use createConfigurationMBean with JMSQueueConfig but in the
    end
    I used
    the code below to create a topic.The code that you posted is the right way to create queus/topics. alwayscreate admin mbeans to admin
    server and let admin server internally create config Mbeans on the
    managed
    server as per the
    location/targets that you set in admin Mbeans.
    Queue's are the same, just replace the word
    Topic with Queue and it should work. It should show up in the console
    app.
    MBeanHome home = (MBeanHome)ctx.lookup(MBeanHome.JNDI_NAME+".myserver");
    ServerMBean myserver =(ServerMBean)home.getMBean("myserver",ServerMBean.class);
    String topicName = "MyNewTopic";
    JMSServerMBean jmsServerMB =(JMSServerMBean)home.getMBean("JMSServer","JMSServer","mydomain");
    JMSTopicMBean jmsTopicMB =(JMSTopicMBean)home.createAdminMBean(topicName,"JMSTopic","mydomain");
    jmsTopicMB.setJNDIName(topicName);
    jmsServerMB.addDestination(jmsTopicMB);
    Viresh Garg
    Principal Developer Relations Engineer
    BEA Systems
    "Michelle Baxter" <[email protected]> wrote:
    There is no JMSQueueConfigMBean. What do you mean?
    "Daron Cole" <[email protected]> wrote in message
    news:[email protected]...
    Try JMSQueueConfig instead of JMSQueue.
    "Michelle Baxter" <[email protected]> wrote:
    Me too! I'm trying to use the weblogic.Admin class to set up
    queues
    and
    topics and the JMS server. The same results in the config file:
    the
    queues
    and topic were set up at the root, the JMS server was added, but
    no
    destinations, even though I invoked the addDestination method withthe
    created MBean queues and topic as arguments. No exceptions, just
    no
    destinations on the JMS server resulted. What's the right order ofexecution
    for this stuff??
    Thanks,
    Michelle
    "Jude DeMeis" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to create JMSQueues programmatically using the MBean
    API.
    When
    I use MBeanHome.createAdminMBean(), a queue appears in the root
    of
    the
    config file. This is progress, but the queue is in the wrong
    place!
    I
    need
    the queues to be part of my JMS server's "destinations" as seen
    on
    the
    console.
    So now I am trying to use createConfigurationMBean() instead,
    but
    I
    can't
    figure out what the "parent" parameter should be- no
    documentation!
    My
    first guess was that the parent might be the JMSServer, but that
    doesn't
    work.
    Anyone have example code to insert JMSQueues and JMSTopics intoa
    specific
    JMS server's destinations?
    Here is the code I tried... All goes well until the final
    createConfigurationMBean call, where it throws aMBeanCreationException:
    // Get the MBeanHome bean
    Object obj =
    jndiContext.lookup("weblogic.management.adminhome");
    MBeanHome mbeanhome = (MBeanHome)javax.rmi.PortableRemoteObject.narrow
    (obj, MBeanHome.class);
    // Get the server MBean
    JMSServerMBean jmsServerMB =
    (JMSServerMBean)mbeanhome.getMBean("examplesJMSServer",
    JMSServerMBean.class);
    // Create the new Queue
    JMSQueueMBean jmsQMB =(JMSQueueMBean)mbeanhome.createConfigurationMBean
    ("weblogic.examples.jms.fooQueue", "JMSQueue", jmsServerMB);

Maybe you are looking for

  • Icon dragging issue

    I've recently been trying to neaten up all of my files in finder, as I tend to just let everything pile up and be completely unorganized. I typically have two windows upon so I can drag and drop into the appropriate folder. I've recently been having

  • Restart problem with 5800 XM

    Hi all, i just buy nokia 5800 xm, and it was great...but i found a strange problem ! when i do servel prosses together like : open video + recive bluetouth , or open a music + browsing the internet....ext ) the phone sometimes suddenly restart  ! and

  • Movement type from unrestricted to reserved

    Hi Friends, Is there a T-code for stock transferring from unrestricted to reserved? Here is the scenario, we have 100 pieces of material ABC under unrestricted , we'd like to reserve 50 pieces for a particular customer who will place the order two mo

  • Delete Command button doesn't take more than one parameter while update command does

    Hi, Does anybody have an idea WHY sharepoint does not send the parameter information to a delete command while the exact same parameter is being sent to the Update command?, the data is being pulled from an asp:TextBox bound  to the 'comments' field

  • PB00 Adoption for Contract to PO

    Hi Guys, Initially, I will create a Contract with Item Category "M" - Material Unknown After I adopt this contract into Purchase Order, I will key in the material number at this point. The info record already exist. The question I would like to ask i