Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Commerce forum / Call GetLoyaltyCard fr...
Commerce forum

Call GetLoyaltyCard from RetailSKD POS extension.

(0) ShareShare
ReportReport
Posted on by

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
    3,597 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
    3,597 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
    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 >

Featured topics

Product updates

Dynamics 365 release plans