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)

Get voucher number to print on receipt

(0) ShareShare
ReportReport
Posted on by 1,565

Hello, is there a way to get a voucher's serial number to print on the receipt when selling one?

So far I've got this:

  <IF>
  <CONDITION> Entry.Item.ItemType = itemtypeVoucher </CONDITION> 
  <THEN>
   <ROW>"|""NUMBER:" Entry.VoucherNumber "|"</ROW>
  </THEN>
  </IF>

but Entry.VoucherNumber is not working.


Thanks,
Devon

*This post is locked for comments

I have the same question (0)
  • Ryan Sakry Profile Picture
    3,425 on at

    Actually, if you change the column header from alignment of ">~" and take out the ~ you will see this information.  The problem is that it is getting truncated.

  • DEVON LEROUX Profile Picture
    1,565 on at

    Hi Ryan, thanks for the reply. We've got Item Notes and Extended Descriptions on the screen and when i take out the ~ all that information gets printed right on the receipt. Do you know if a variable exists to print the serial number just when Voucher items are sold?

    Thanks again,

    Devon

  • Ryan Sakry Profile Picture
    3,425 on at

    Devon,

    The variable you are looking for is "Entry.Serialized.Sold".  This will be true if the current entry is a Serialized Item, which will be true if a serialized item is sold.  If you also sell other serialized items, then you can differentiate with this line "Entry.Item.ItemType = itemtypeVoucher".

    Hope this helps!

  • DEVON LEROUX Profile Picture
    1,565 on at

    Hi Ryan, thanks for the response. with Entry.Serialized.Sold I'm only getting true or false printing on the receipt I'm hoping to have the actual Serial Number print on the bill. Do you know the variable for this?

    Thanks again,

    Devon

  • Verified answer
    Ryan Sakry Profile Picture
    3,425 on at

    Devon,

    Sorry I misunderstood what you were looking for.  The variable I gave you you can use to determine if a Serial Number was sold.  Here is the variable that holds the number of the voucher: Entry.Serialized.Number1.

    Hope this help.s

  • DEVON LEROUX Profile Picture
    1,565 on at

    Worked perfectly!

    Thanks again for your help Ryan,

    Devon

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