Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

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

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.

  • Soren Andersen Profile Picture
    Soren Andersen 530 on at
    RE: How to Print coupon barcode on puchase of specific products on Receipts in D365 MPOS

    Hi Ram,

    Are these tags documented somewhere.??

  • Suggested answer
    ram shenkar Profile Picture
    ram shenkar 515 on at
    RE: How to Print coupon barcode on puchase of specific products on Receipts in D365 MPOS

    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 + ">          

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans