Skip to main content

Notifications

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

  • DEVON LEROUX Profile Picture
    1,565 on at
    Re: Get voucher number to print on receipt

    Worked perfectly!

    Thanks again for your help Ryan,

    Devon

  • Verified answer
    Ryan Sakry Profile Picture
    3,425 on at
    Re: Get voucher number to print on receipt

    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
    Re: Get voucher number to print on receipt

    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

  • Ryan Sakry Profile Picture
    3,425 on at
    Re: Get voucher number to print on receipt

    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
    Re: Get voucher number to print on receipt

    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
    Re: Get voucher number to print on receipt

    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.

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,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,996 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans