Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / Call GetLoyaltyCard fr...
Commerce forum

Call GetLoyaltyCard from RetailSKD POS extension.

Posted on by Microsoft Employee

Hello everyone,

I am working on D365 For Operation extension in Retail, the requirement is to force the cashier to introduce the Loyalty Card to the transaction.

Doing some research I found when you click the AddLoyaltyCard button on POS it makes a call to "GetLoyaltyCard" in CRT.

Does anyone know how can I actually achieve to execute the same function as if I clicked the button "AddLoyaltyCard" from a PreEndTransaction Trigger?

Categories:
  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,595 on at
    RE: Call GetLoyaltyCard from RetailSKD POS extension.

    Yes, it was like this in earlier versions of POS.. now we have to use 'requests' - see below answer for details

  • Oksana Kovaliova Profile Picture
    Oksana Kovaliova 3,595 on at
    RE: Call GetLoyaltyCard from RetailSKD POS extension.

    Hi Luis,

    According to new extension model we should have special request in pos API to execute 'add loyalty card' to sale. I cannot find such kind of request in current POS (checking with 7.3.1 version) - please, request extension point from Microsoft - they will analyze your requirement and probably include new request type for you in next releases.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Call GetLoyaltyCard from RetailSKD POS extension.

    I believe it can be done by calling the operation by operation ID from the PreEndTransactionTrigger, I am not sure about how can I achieve it.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans