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?