Skip to main content

Notifications

Microsoft Dynamics RMS forum

I need to make a discount scheme and it is not working

Posted on by Microsoft Employee

I want to make an offer where buy 2 get one free for all items in the stores .

In HQ manager , I went to database -> discounts -> new -> buy x and get y for z , where buy at full price =2 , qty to get discount = 1 and discount price =0.0 .

I then run worksheet 202 ( update qty discounts ) .

when i do that the discount goes to the stores but it is not working as it should be !! no discount is made and when i check discounts in an item in the HQ or SO the item shows no discount !!

I would appreciate it if someone tells me what i am missing .

Thank you for your help in advance .

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: I need to make a discount scheme and it is not working

    I guess i knew how , i need to make an offer buy 2 get 1 free in all stores and i figured that to do that i need to open each item and choose the discount scheme to do that . That is not practical actually as i need to do that to all the items in the store .

    after searching the web i figured that need to make and sql statement like this

    Update Group of Items by Department

    Open Store Operations Administrator.

    Open a Query window by clicking Query then New.

    In the New Query window, run the following SQL statement:

    UPDATE Item SET QuantityDiscountID = (SELECT ID FROM QuantityDiscount WHERE Description = '<DiscountName>')

    WHERE DepartmentID IN (SELECT ID FROM Department WHERE Name = '<DepartmentName>')

    Note:

    In the New Query window, paste this SQL statement by pressing CTRL+V.

    Replace <DiscountName> with your new discount's name and <DepartmentName> with the name of the department where the items to be updated belongs to.

    Press F5 to run the query.

    Update Group of Items by Category

    Open Store Operations Administrator.

    Open a Query window by clicking Query then New.

    In the New Query window, run the following SQL statement:

    UPDATE Item SET QuantityDiscountID = (SELECT ID FROM QuantityDiscount WHERE Description = '<DiscountName>')

    WHERE CategoryID IN (SELECT ID FROM Category WHERE NAME = '<CategoryName>')

    Note:

    In the New Query window, paste this SQL statement by pressing CTRL+V. You cannot right-click in the New Query window to paste text.

    Replace <DiscountName> with your new discount's name and <CategoryName> with the name of the category where the items to be updated belongs to.

    and after that i need t to run the worksheets .

    Thank you for your reply .

  • Saudi Market Profile Picture
    Saudi Market 875 on at
    RE: I need to make a discount scheme and it is not working

    I do not know why you want to work exactly

    But overall

    after you commit worksheet 202

    go to item Card then discount and select scheme  that you make thin press OK

    and make worksheet 250 to sent the offer to stores

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,818 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,147 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans