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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Deleting items at HQ does not delete them from the remote POS store

(0) ShareShare
ReportReport
Posted on by 300

We have deleted few obsolete items from the HQ, and ran worksheet 250 to remove them from the 2 remote POS stores, however after a sync locally on the remote POS stores, we are still seeing the items that were deleted in the HQ.

How do I update the POS remote stores with the items that were deleted from the HQ?

I read somewhere that the only way to do this via HQ is to run a Worksheet 51 with a proper SQL statement to remove the items you wish to delete

(https://community.dynamics.com/product/rms/f/106/p/46303/83421.aspx#83421)

is this the only way? what is the sql query that I need to use?

If there is another way via another worksheet which one should I use?

How do I sync my deleted items from HQ to my 2 remote POS stores?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    TimB Profile Picture
    1,175 on at

    RMS does not have an intuitive way to delete items at stores from HQ, however, as you've seen, it is possible through worksheet 51. You would need to run the following 2 queries in worksheet 51 to the stores you want affected. You need to insert the lookup code once in each line. This is for regular items only, for matrices, assemblies, etc you would need more complex queries.

    delete alias where itemid = (select id from item where itemlookupcode = 'insert lookup code here')

    delete item where itemlookupcode = 'insert lookup code here'

    There are many reasons that you would not want to delete items. About 99% of the time you should mark items inactive rather then delete. In general, you should only delete an item if you have no history for it.

    Hope this helps. TimB

  • guylevy Profile Picture
    300 on at

    Thank you TimB

    We have decided to use your advice and set the items as inactive

    -guy

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