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

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Remove Discount Reason Codes From Receipt

(0) ShareShare
ReportReport
Posted on by 2,934

Hi, Everyone!

Does anyone know how to Remove Discount Reason Codes From the Receipt?

I am baffled by this.

Every time there is a discount (with reason codes turned on)  each line item takes 4 lines

and my client doesn't like it.

Trent, maybe this one is for you.

Thanks

-Jerry

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Trent Bourgois Profile Picture
    on at
    Re: Remove Discount Reason Codes From Receipt

    Hello Gerald,

    Thank you for the tricky question. The discount codes were nowhere to be found in the receipt template. I got it to work by disabling "show line discounts" in the template file and also changing the transaction details to specifically point to just the item description.

    In the Attribues section, find and replace this line:

    <SET name="ShowLineDiscounts" custom="true" description="Show Line Discounts" type="vbBoolean"> True</SET>

    with this:

    <SET name="ShowLineDiscounts" custom="true" description="Show Line Discounts" type="vbBoolean"> False </SET>

    In the Transaction Details section, find and replace these 4 lines:

    <ROW> Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.ExtendedPrice </ROW>

    with this:

    <ROW> Entry.Item.ItemLookupCode "|" Entry.Item.Description "|" Entry.ExtendedPrice </ROW>

    Let us know if that helps or if you have any other questions.

     

  • Gerald Rothaus Profile Picture
    2,934 on at
    Re: Remove Discount Reason Codes From Receipt

    Bear in mind that this does work, but is not a complete answer. If wanted to control specific things, like kill the discount codes but still be able to modify the description other ways, you cannot do that.

    One last question here:

    My client needs to display the customer's check number on the receipt bur I couldn't figure out what the variable is. It's tendercheck.something, I guess.

    Any suggestions?

    Thanks again,

    -Jerry

  • Trent Bourgois Profile Picture
    on at
    Re: Remove Discount Reason Codes From Receipt

    Hello Gerald,

    Thanks for the update.

    Here is a modified receipt that displays check information:

    Receipt - 40 Column with Check Information
    https://mbs.microsoft.com/downloads/customer/receipt_check.zip

    Let us know if you have any other questions.

  • Gerald Rothaus Profile Picture
    2,934 on at
    Re: Remove Discount Reason Codes From Receipt

    Ooooooooh. A little obtuse.

    Thank you very much.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans