web
You’re offline. This is a read only version of the page.
close
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

I have the same question (0)
  • Suggested answer
    arishi Profile Picture
    740 on at

    not sure but try this if this help

    TransactionEntry.VoucherExpirationDate    Property (Get)

  • Community Member Profile Picture
    on at

    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

  • Community Member Profile Picture
    on at

    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

  • Verified answer
    Community Member Profile Picture
    on at

    HI

    Did you solve your problem?

    If  yes, please let me know..

    Thank you

  • Community Member Profile Picture
    on at

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

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…

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