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
Were you able to get to the bottom of this ? I am also looking for an answer .
HI
Did you solve your problem?
If yes, please let me know..
Thank you
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
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
not sure but try this if this help
TransactionEntry.VoucherExpirationDate Property (Get)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156