Update Locations for Customer accounts

Hi all,
I am trying to use TCA update_location API to update location information for customer accounts. I know that the tables involved here are the following:
HZ_PARTIES
HZ_LOCATIONS
HZ_PARTY_SITES
HZ_CUST_ACCOUNTS
I'm trying to find a way where I can get a list of location records from HZ_LOCATIONS that will apply only to customer accounts in HZ_CUST_ACCOUNTS. Here is the query I've come up with. I'm not sure if this will do the trick so I'm hoping someone can confirm for me.
Again, I'm trying to update location information for records that only have an associated customer account...
SELECT DISTINCT
A.LOCATION_ID,
A.ADDRESS1,
A.ADDRESS2,
A.CITY,
A.POSTAL_CODE,
A.STATE,
A.COUNTRY,
A.COUNTY
FROM HZ_LOCATIONS A,
HZ_PARTY_SITES B,
HZ_PARTIES C,
HZ_CUST_ACCOUNTS D
WHERE
A.LOCATION_ID = B.LOCATION_ID AND
B.PARTY_ID = C.PARTY_ID AND
C.PARTY_ID = D.PARTY_ID;

If you are looking to update locations for all customers who have customer accounts then you can use this:
SELECT DISTINCT
A.LOCATION_ID,
A.ADDRESS1,
A.ADDRESS2,
A.CITY,
A.POSTAL_CODE,
A.STATE,
A.COUNTRY,
A.COUNTY
FROM HZ_LOCATIONS A,
HZ_PARTY_SITES B,
HZ_PARTIES C,
HZ_CUST_ACCOUNTS D,
hz_cust_acct_sites e
WHERE
A.LOCATION_ID = B.LOCATION_ID AND
B.PARTY_ID = C.PARTY_ID AND
C.PARTY_ID = D.PARTY_ID
and d.cust_account_id=e.cust_account_id
and e.party_site_id=b.party_site_id;
If they don't then you can eliminate the cust account tables as a party can have address and location without having account.
Thanks
Nagamohan

Similar Messages

  • Help! Can't update iwork and imovie because "You have updates available for other accounts".

    I recently purchased Macbook Pro with iMovie, iwork keynotes, pages and numbers preloaded in the machine. Now the App Store icon indicates that I have updates available.  So when I open up app store and click update, I got an warning stating " You have updates avaialbe for other accounts - to update this application, sing in to the account you used to purchase it". 
    I called tech support.  I was told that I must have had another account.  But clearly I don't have another account.  I'm not alzheimer.  If I had another account, I would have remembered it.  I used the same account for ipod, iphone, itune for many many years.  So I went on the support communities for help.  I read some post saying I should add my hard drive to spotlight privacy, then remove it.  I tried it, it didn't work.  Some said I need to enable something by entering a script to the terminal.  I followed the steps, it didn't work. Then some other post said that I should delete the apps, then reinstall it.  So stupidly enough, I deleted keynotes to "TEST" if it works.  Guess what? I completed removed keynotes from my macbook.  I can't even recover it?! At least before I deleted it, I had the old version of keynotes although obsolete, still functional.  Now I removed it, I don't even know how to reinstall it. 
    So, I'm so update and dying for help.  Can someone please teach me how to make my Macbook understand that I only have one account and let me update iMovie and iwork? Also, how to restore the accidentally deleted Keynotes?
    Thank you!!!

    You're just going to have to get back to the support folks with your Apple ID problem - http://www.apple.com/support/appleid/.
    They should be able to rectify the problem.
    Clinton

  • Can't update Xcode – "You have updates available for other accounts" and other errors.

    I have 2 Macs, a 2008 Mac Pro running 10.8.5 and a 2009 MacBook Pro running 10.9.0, soon to be downgraded to 10.8.5. I can't install the Xcode update on either Mac, and I can't update MacTracker on my Mac Pro, which suggests that no updates work at all.
    When I try to update, it says "You have updates available for other accounts" and "Sign in to ________ to update applications for that account." I'm already signed into that account. I tried logging out, closing the App Store, and logging back in. Then I tried logging out of both the App Store and iTunes as per a fix I found online, and it gave me "Unknown error" once I tried to update.
    Is there a fix for this or at least a regular .pkg I can just install? Honestly, it's easier to update stuff in Debian Linux than on OS X 10.8 and up now.

    Please try each of the following steps you haven't already taken, until the issue is resolved. After each step, relaunch the App Store and try again.
    1. Follow the instructions in this Apple Support article.
    2. If any App Store purchases were made under a different Apple ID, or if the bundled iLife applications were accepted under a different ID, sign in to the App Store with that ID to update.
    3. Alternatively, delete the probem applications and re-download them with the ID you're using now. If you haven't already purchased them with that ID, you'll have to do that first, because purchases can't be transferred from one account to another.
    4. Select the Purchased tab in the App Store window. If you see an item in the list marked "You have 3 apps to accept," click Accept.
    5. Triple-click anywhere in the line below on this page to select it:
    /Library/Caches/com.apple.appstore/adoption.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu. A Finder window may open with a file selected. If it does, delete the selected file. You may be prompted for your login password.
    Then repeat step 4.
    6. Select
    Store ▹ View My Account
    from the App Store menu bar, then select View hidden purchases. If you're trying to update any hidden purchases, unhide them.
    7. Launch iTunes and select
    Store ▹ Authorize This Computer
    from the menu bar.
    8. If you've moved any App Store apps out of the Applications folder, or into a subfolder, put them back. Never move or copy those applications. If you have backup copies of the apps on another volume, unmount it and try to update again.
    9. Contact Account and Billing Support.

  • Hi guys, I have a problem with my new macbook pro 15". I tried to updtate the apps (iPhoto, iMovie and Garageband), but an error was displayed "You have updates available for other accounts". I don't have other accounts!!! :(

    Hi guys,
    I have a problem, I have a new macbook pro. I updated the software without problems; then I tried to update iPhoto, iMovie and Garageband, but an error was displayed "You have updates available for other accounts". I don't have any other account, i tried everything found on the net but nothing seems to work...Please help me!!!!

    Same thing for me it writes "To update this application, sign in to the account you used to purchase it."

  • I keep getting notified I have an update available but when I try to update I get the following msg ,"You have updates available for other accounts". I only have one account with apple and purchased the software when I got my macbook in Aug 2012.

    I keep getting notified I have an update available but when I try to update I get the following msg ,"You have updates available for other accounts To update this application, sign in to the account you used to purchase it.". I only have one account with apple and the software was preinstalled when I purchased my macbook in Aug 2012 with that account. Has anyone had this problem or know how to find out what account apple needs?

    You log into the App store using the same Apple ID you used to set the computer up, verify that none of your apps are hidden and that they have all be accepted and then download and install the update
    for help contact the App store support - link is on the right ot the App store window
    LN

  • The App Store says I have updates for I-Photo and Garage Band.  When I try to update I get the following message: You have updates available for other accounts  To update this application, sign in to the account you used to purchase it.  I only have 1 acc

    The App Store says I have updates for I-Photo and Garage Band.  When I try to update I get the following message: You have updates available for other accounts  To update this application, sign in to the account you used to purchase it."  Both apps came with my computer and as far as I know I only have one Apple account.  Any thoughts?  Thanks.
    Karen

    Thanks for you reply.  I'm 99% positive that I'm using the user id and password that I used to set up my computer.  That's why I'm stumped.  I read the solution someone else suggested (type your user name without @gmail and create a new password.  When I tried it, I was asked for my birthday.  It didn't recognize it.  I know I got my birthday correct. Oh well...
    Karen

  • I currently have Iphoto v. 9.1.4.  There is an update v. 9.4.3 that I am unable to install.  I keep getting a message, "you have updates available for other accounts.  To update this application, sign into the account you used to purchase it."

    I have iPhoto v 9.1.4.  Update available is 9.4.3.  I keep getting this message:  "You have updates available for other accounts.  To update this application, sign into the account you used to purchase it".  I have done this and I keep getting the same message over and over again.  Please help me!

    Please try each of the following steps you haven't already taken, until the issue is resolved. After each step, relaunch the App Store and try again.
    1. Follow the instructions in this Apple Support article.
    2. If any App Store purchases were made under a different Apple ID, or if the bundled iLife applications were accepted under a different ID, sign in to the App Store with that ID to update.
    3. Alternatively, delete the probem applications and re-download them with the ID you're using now. If you haven't already purchased them with that ID, you'll have to do that first, because purchases can't be transferred from one account to another.
    4. Select the Purchased tab in the App Store window. If you see an item in the list marked "You have 3 apps to accept," click Accept.
    5. Triple-click anywhere in the line below on this page to select it:
    /Library/Caches/com.apple.appstore/adoption.plist
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu. A Finder window may open with a file selected. If it does, delete the selected file. You may be prompted for your login password.
    Then repeat step 4.
    6. Select
    Store ▹ View My Account
    from the App Store menu bar, then select View hidden purchases. If you're trying to update any hidden purchases, unhide them.
    7. Launch iTunes and select
    Store ▹ Authorize This Computer
    from the menu bar.
    8. If you've moved any App Store apps out of the Applications folder, or into a subfolder, put them back. Never move or copy those applications. If you have backup copies of the apps on another volume, unmount it and try to update again.
    9. Contact Account and Billing Support.

  • HT1338 When I try to download the iMovie Update :  "You have updates available for other accounts.  To update this application, sign in to the account you used to purchase it." shows -don't know what other accounts it is talking about? I Only have 1 Apple

    When I try to download the iMovie Update :
    "You have updates available for other accounts.
    To update this application, sign in to the account you used to purchase it." shows -but I don't know what other accounts it is talking about? I Only have 1 Apple Id !

    Maybe this will help. If you monitor the "More Like This" box, other solved threads appear. Opening them usually displays other threads.
    http://support.apple.com/kb/TS4236

  • Where are the updates located for Mac App Store app?

    Hi,
    where are the updates located for Mac App Store app? I don't think /Library/Updates is the only location. Because I'm now having 10+ of Apps reporting updates is needed, but only 1MB+ files is located in /Library/Updates.
    Please help!

    If so just use the search bar in the top right to search for the update you are looking for.

  • I cant update 2 programs I have because of this stupid message;sign into yahoo to update applications for that account

    I cant update 2 programs I have because of this stupid message;sign into yahoo to update applications for that account.

    Take a look at this thread.   It may explain your problem.   TS3276 Why do I keep receiving this pop...: Apple Support Communities

  • What should i take for customer account group

    wat is the best to customize customer account group
    i m thginking to creat one exportcustomer and other one is domestic
    or else i ll make one one as sold to party
    plz help

    <i><u><b>Customer Master</b></u></i>
    <u><b>Account Group</b></u>
    <b>Maintain Number Range for Account Group</b>
    Use
    The purpose of this activity is to control number range of Account Group.
    Procedure
          Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New) &#61614; Accounts Receivable and Accounts Payable &#61614; Customer Accounts &#61614; Master Data &#61614; Preparations for Creating Customer Master Data &#61614; Create Number Ranges for Customer Accounts &#61614; Select the Icon to maintain Number Range
    Transaction Code     SPRO
    Data to be maintained:
    No | From | To | Current No | Ext (Tick in Check Box)
    01 | 0000000001 | 0000099999 | 0 | No
    02 | 0000100000 | 0000299999 | 0 | No
    XX | A | ZZZZZZZZZZ | Yes
    <b>Assign Number Range to Account Group</b>
    Use
    The purpose of this activity is to maintain number range of Account Group.
    Procedure
          Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New) &#61614; Accounts Receivable and Accounts Payable &#61614; Customer Accounts &#61614; Master Data &#61614; Preparations for Creating Customer Master Data &#61614; Assign Number Ranges to Customer Account Groups
    Transaction Code     SPRO
          Data to be maintained:
    Group | Name | Number Range
    0001 | Sold-to party | XX
    0002 | Goods recipient | XX
    0003 | Payer | XX
    0004 | Bill-to party | XX
    <b>Define Account Groups with Screen Layout (Customers)</b>
    Use
    In this step, you determine the account group of the customer.
    Procedure
    Access the activity using one of the following navigation options:
    IMG --> Financial Accounting (New) &#61614; Accounts Receivable and Accounts Payable &#61614; Customer Accounts &#61614; Master Data &#61614; Preparations for Creating Customer Master Data &#61614; Define Account Groups with Screen Layout (Customers)
    Transaction Code     SPRO
    The groups indicated below are a few examples. There are many groups in Standard SAP & if we require additional Group, it can be copied from appropriate group & maintained.
    Group | Name
    0001 | Sold-to party
    0002 | Goods recipient
    0003 | Payer
    0004 | Bill-to party
    0005 | Prospective customer
    0006 | Competitor
    Select Sold-to-party &#61664; go to Details &#61664; Double Click on General data / Company code data / Sales data. It will take to next screen which details Tab Pages of General data / Company code data / Sales data. Double Click on Tab Page for example: Address, Control, Marketing & so on. Here you can maintain whether the field is to be Suppress, Req. Entry, Opt. entry or Display
    Regards,
    Rajesh Banka
    Reward points if helpful

  • Can't dowload new OS this error comes up. "You have updates available for other accounts" Anyway of getting around this or fixing issue ? I logged myself as new admin with my apple id already.

    bought a used mac book and can't dowload new OS this error comes up. "You have updates available for other accounts" Anyway of getting around this or fixing issue ? I logged myself as new admin with my apple id already.
    the guy i bought it from told me he would take car of any issues and of coarse the first one that comes up he hasn't been helpful at all.
    anyway of updating or is there something i did wrong or haven't done as far as switching ownership with apple id and admin.
    thxs

    Boot into Internet Recovery and erase the hard drive, then reinstall the OS.
    That will install the original OS that the Mac shipped with. You can then register it under your AppleID and upgrade to Mavericks.
    http://support.apple.com/kb/ht4718

  • Standard Smartform  For Customer Account Statement

    Hello All,
    As you all know there is standard sapscript and Driver Program for customer account statement.
    But i want to know that, Is there any Standard Smartform  For Customer Account Statement???
    If yes , Please let me know the name of that smartform?
    Regards,
    Anuja Dhondge

    there is no standard smartform for customer statement. only script...

  • Find Tax Return Locations for all Accounting needs, File Tax return......

    Hi dear friends
    Find Tax Return Locations for all Accounting needs, File Tax return, Business Accounting, Payroll, Income Tax, Property Tax, State Tax.
    Find a qualified local Tax Professional, CPA, Accounting Firm,  Accountant, Financial Planning from most widely used Directory.
    Our services are -- irs tax help, accounting, taxes, irs, tax debt help, payroll, income tax, property tax, tax attorney, tax, cpa, accountants, tax help, tax return, business tax return, free tax help, estate tax,
    More information visit below here --
    [FINDTAXRETURN|http://www.findtaxreturn.com/]
    Cheers
    Admin

    I have already received the TT application for 2012 filing.
    Have you checked at their website?
    http://www.turbotax.com/lp/ty11/ppc/hp.jsp?cid=ppc_gg_b_stan_dk_us_hv-trbtx-mn&a did=18494275668&skw=TurboTax&kw=turbotax&ven=gg&

  • Find Tax Return Locations for all Accounting needs, File Tax return, Busine

    Hi dear friends
    Find Tax Return Locations for all Accounting needs, File Tax return, Business Accounting, Payroll, Income Tax, Property Tax, State Tax.
    Find a qualified local Tax Professional, CPA, Accounting Firm,  Accountant, Financial Planning from most widely used Directory.
    Our services are -- irs tax help, accounting, taxes, irs, tax debt help, payroll, income tax, property tax, tax attorney, tax, cpa, accountants, tax help, tax return, business tax return, free tax help, estate tax,
    More information visit below here --
    [FINDTAXRETURN|http://www.findtaxreturn.com/]
    Cheers:)
    Admin:)

    I have already received the TT application for 2012 filing.
    Have you checked at their website?
    http://www.turbotax.com/lp/ty11/ppc/hp.jsp?cid=ppc_gg_b_stan_dk_us_hv-trbtx-mn&a did=18494275668&skw=TurboTax&kw=turbotax&ven=gg&

Maybe you are looking for

  • [Forum FAQ] Show Attachments in SharePoint 2013 Custom List View

    Introduction: By default, there is an Attachments column in the SharePoint List, some people want to display attachments name and click name can open the documents in List View. In this article, we would show you the method with REST API, JSLink and

  • GR/IR balances in debit

    Dear All, One of my client does MR11 in this period and after that he executed GL balances for GR/IR accounts where system showing some line items in different GR/IR accounts in debit balances. So far not done F.13 also but system showing in debit ba

  • Open a file

    LCD gurus: what is the script to open an external file?  I have yet to find anything concrete that will do this via Acrobat 9 - we cannot use Acrobat X. The situation I have is I need to enforce that a procedure document is open on the screen while a

  • Hi, after I installed IOS 7, my safari homepage is shown in Chinese. How to change it to English?

    Hi, after I installed IOS 7, my safari homepage is shown in Chinese. How to change it to English?

  • Disabling the fields

    Hi All,   How can i disable the fields when i press on Display button, the data shud be retrieved but the fields shud be in display mode only.   waiting for ur reply. Thanx  & Regards Srinath