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

Notifications

Announcements

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)
  • Suggested answer
    Community Member Profile Picture
    on at

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

  • 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.  

  • 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

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

News and Announcements

Season of Giving Solutions is Here!

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