Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics RMS (Archived)

Add Voucher Expiration Date to Receipt

(0) ShareShare
ReportReport
Posted on by

Hi 

I am currently setting up our new RMS solution so I am pretty new to things although I have learnt a lot about the system as I have taken on all of the integration myself, however I am currently setting up our receipt templates and I was given one by our supplier which includes code to print a Gift Voucher Slip after the standard receipt. However I have going crazy over trying to get the Expiry Date to show on the Voucher Slip as I don't know what the correct "token" is required to output the information on the Slip.

I know the receipt knows the Expiry Date as it shows on the Standard Receipt however looking though the XML I can't see a strict call for "Expiry" and it seems to be included within another call.

I am using the in-built voucher system (local only), I can also see that the expiration date is also written to the Voucher table in the DB.

On the standard receipt I believe "Number:" Tender.VoucherNumber is producing the following text on the receipt:

Number: 00000001 (Voucher No)

Expires: 01/01/2016 (Voucher Expiry)

GFTVCH-000 (Voucher Sku)

But if I use this same call on the Voucher Slip it doesn't work.

Hopefully someone will be able to help me as I believe not being able to put the expiry date on the voucher is poor.

Many thanks in advance!!

Martin

*This post is locked for comments

  • Community Member Profile Picture
    on at
    RE: Add Voucher Expiration Date to Receipt

    Were you able to get to the bottom of this ? I am also looking for an answer .  

  • Verified answer
    Community Member Profile Picture
    on at
    RE: Add Voucher Expiration Date to Receipt

    HI

    Did you solve your problem?

    If  yes, please let me know..

    Thank you

  • Community Member Profile Picture
    on at
    RE: Add Voucher Expiration Date to Receipt

    Hi 

    I have tried to simply do Transaction.Date + no of days and it half works but it isn't formatted as a date.

    E.g TodaysDate + 270 is displaying 42301 which if you do this in Excel and copy the date to a text field you get the same number, is there a way to format this back to a Date within the Receipt?

    Many Thanks

  • Community Member Profile Picture
    on at
    RE: Add Voucher Expiration Date to Receipt

    Hi

    Thanks for your reply, unfortunately that is an unknown Token as well.

    Is there a way to do something like Transaction Date + x days within the receipt?

    Like I said I can't believe there isn't a way to get the expiry date on to the Gift Voucher.

    Many Thanks

  • Suggested answer
    arishi Profile Picture
    740 on at
    RE: Add Voucher Expiration Date to Receipt

    not sure but try this if this help

    TransactionEntry.VoucherExpirationDate    Property (Get)

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,281 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,019 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans