web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Store Manager Database vs. Headquarters Manager Database Conflict - SQL maybe?

(0) ShareShare
ReportReport
Posted on by 908

Hello!

When we purchased our RMS, the guy who set it up was not familiar with the software, and kind of screwed things up for us.... I've been spending the past couple of years undoing his mistakes, and am finally closing in on the final stages.

Basically, we were running Quickbooks POS prior to RMS.  During our setup, the Quickbooks database was imported into Store Manager, not HQ Manager.  After that, New items were entered into HQ Manager, and downloaded correctly, but the items imported into the store database were never imported into HQ.  Since then, most items have been reentered into HQ Manager, but there are a handful of stragglers out there.

So, my two options are to start over with a new store database from HQ - but I don't want to lose my customer records and history at the store level, nor do I want to lose my historical data, sales, etc.

My second option is to clean up the store database to eliminate the items which aren't synced up with HQ, so the store database only contains items that sync with HQ. For this, what I am hoping to be able to do is run an SQL query that will set items in the Store database which do not have a HQ Key number to sync up to  INACTIVE.  Can anyone help with this query?  I don't trust my SQL enough yet not to botch this.

Any other input on cleaning up this mess is appreciated!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    eliud mugo Profile Picture
    1,444 on at
    RE: Store Manager Database vs. Headquarters Manager Database Conflict - SQL maybe?

    This query will set all Locally items inactive

    update item set inactive='1' where hqid='0'

  • Taier P Profile Picture
    908 on at
    RE: Store Manager Database vs. Headquarters Manager Database Conflict - SQL maybe?

    Thank you; that's what I came up with as well; it just seemed too simple to be correct.

    Appreciate the help! :)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans