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)

percentage discount on the receipt

(0) ShareShare
ReportReport
Posted on by

I want to print the pecentage of subtotal on the receipt to let my customer konw how much of percentage they get discounted.

how can I set it up??

 

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: percentage discount on the receipt

    I would love this feature too!

    Probably by modifying the XML of the receipt template.

    Anyone?

  • Verified answer
    Alwani Profile Picture
    710 on at
    RE: percentage discount on the receipt

    Well you can do easily this, by modifying the XML, send me the xml I can do it for you or just let me know which version you are using for RMS. Normally it appear how much money we save out of the total receipt, so it is not a matter to show the percent of discount. Do you want by item or at total level.

  • Community Member Profile Picture
    on at
    RE: percentage discount on the receipt

    Thank you Akberalwani

    Can I have your email address?

    then I will email you xml file

  • Community Member Profile Picture
    on at
    RE: percentage discount on the receipt

    Hi can i have your email address ?? Then i will email you the file. Thank you

    This is my email nybluepoint@gmail.com

  • Community Member Profile Picture
    on at
    RE: percentage discount on the receipt

    Akber - can't you just post the template here?  That way you can share with the forum.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: percentage discount on the receipt

    never mind I figured it out.

    <IF>

    <CONDITION> ShowTotalDiscounts </CONDITION>

    <THEN>

    <SET name="DiscountPercentage" type="vbLong">  (Transaction.Discount / (Transaction.SubTotal + Transaction.Discount)) * 100 </SET>

    <IF>

    <CONDITION> ShowTotalDiscounts & ((Transaction.Discount > 0) & (Transaction.Type <> transactionAbortedTransaction)) </CONDITION>

    <THEN>

    <ROW> DiscountPercentage "% Discount |" Transaction.Discount </ROW>

    </THEN>

    </IF>

    </THEN>

    </IF>

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics RMS (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans