Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics RMS (Archived)

Discount Report

Posted on by 40

I would like to pull a report to see that total discount I have given for a certain period. For example - Store 1 has given $22000 discount this month. Can someone help me or even with a script to run in SQL to get that value.

*This post is locked for comments

  • Shaun Roos Profile Picture
    Shaun Roos 40 on at
    Re: Discount Report

    Hi Matt

    Thank you for the sample!!!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Discount Report

    The detailed sales report has a column called Price that can be compared to the Sold Price to determine the amount of discount, but since the report uses the HQ Item table to supply that field, it doesn't necessarily reflect the list price at the store, which may be different from HQ.

    I like to use the TransactionEntry.FullPrice field, then calculate the difference to find discount:

    You can memorize the Detailed Sales Report, and then open in notepad to add these columns:

    Begin Column
       FieldName = "TransactionEntry.FullPrice"
       DrillDownFieldName = ""
       DrillDownReportName = ""
       StoreIDFieldName = ""
       Title = "Full Price"
       VBDataType = vbCurrency
       Formula = ""
       ColHidden = False
       ColNotDisplayable = False
       FilterDisabled = False
       ColWidth = 1100
       GroupMethod = groupmethodNone
       ColFormat = ""
    End Column

    Begin Column
       FieldName = "ItemDiscount"
       DrillDownFieldName = ""
       DrillDownReportName = ""
       StoreIDFieldName = ""
       Title = "Discount"
       VBDataType = vbCurrency
       Formula = "(TransactionEntry.FullPrice-TransactionEntry.Price)*TransactionEntry.Quantity"
       ColHidden = False
       ColNotDisplayable = False
       FilterDisabled = False
       ColWidth = 1100
       GroupMethod = groupmethodSum
       ColFormat = ""
    End Column

  • Ryan Sakry Profile Picture
    Ryan Sakry 3,425 on at
    Re: Discount Report

    Shaun,

    We have a report called the RMS Exception Report that shows discounts, drops, payouts, void, returns or anything else that is an "Exception" to a normal transaction and an owner may wish to review.  If you are interested in this report, drop me an email and I can let you know the details.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Discount Report

    If you require reason codes for disconts then you should be able to do that with the standard reports. Start with the Detailed Sales Report and add a filter (besides the date) for Discount Reason Code. Set the filter value to '<>null' (leave out quotes).  I run this report every week.

    Marc

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans