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 :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

How to Print coupon barcode on puchase of specific products on Receipts in D365 MPOS

(0) ShareShare
ReportReport
Posted on by 55

Hi,

I have a requirement where I want to print the coupon barcode for the customers on purchase of specific products.

This coupon barcode to be printed on the invoice printed from POS when that item is sold and the same coupon barcode should provide the discount for the items when customer visits next time to purchase any item.

Basically, want to print coupon barcode for specific products from POS.

How do I achieve this requirement.

I have the same question (0)
  • Suggested answer
    ram shenkar Profile Picture
    515 on at

    Hi,

    You can refer "ReceiptsSample" extension from CommerceRuntime samples.

    On a high level, you have to create a custom field for receipt and as per the above sample extension, you can populate that for a specific receipt.

    Read the barcode from channel database/transaction and use below tag to inclose the barcode

    <B: " + CouonBarcode + ">          

  • Soren Andersen Profile Picture
    530 on at

    Hi Ram,

    Are these tags documented somewhere.??

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 299 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 118 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans