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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Discount Reason Code Required

(0) ShareShare
ReportReport
Posted on by 130

A client has the Discount Reason Code option checked so that a reason code is required when a sales associate applies a discount to a transaction.  However, I am noticing that transactions are being conducted with a discount applied, and the TransactionEntry.DiscountReasonCodeID = 0, and the receipt just says discount, and does not specify the reason code.  I tested at the POS that a reason code is required before applying a discount and it works, but when I check the database the TransactionEntry.DiscountReasonCodeID = 0.   I am not sure why this is happening.  Has anyone else experienced this situation?

*This post is locked for comments

I have the same question (0)
  • Craig Harris Profile Picture
    797 on at

    I add the following to our receipt .xml template to show the discount reason code:

                           <IF>
                               <CONDITION> Entry.ExtendedDiscountNegative &lt;&gt; 0 </CONDITION>
                               <THEN>
                                  <ROW> "|" Entry.ReasonDiscount.Description "|" Entry.ExtendedDiscountNegative  </ROW>
                               </THEN>
                            </IF>
    Cheers,

    Craig

  • Carroll Adkins Profile Picture
    130 on at

    Thanks for the reply, but the problem is not the receipt.  The issue is that sometimes when a reason code is added to a discounted transaction, the transactionentry.reasoncodeid does not get updated in the database and contains the default value of 0, even though a discount reason code was entered by the sales associate.  So the transaction is discounted, but we cannot tell why because the database did not save the reason code id.  

  • Suggested answer
    Community Member Profile Picture
    on at

    Sounds like a bug,  Have you submitted the case to Microsoft?  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans