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 :
Microsoft Dynamics AX (Archived)

Is There A getCustomer Method in Standard RTS?

(0) ShareShare
ReportReport
Posted on by

My Superiors insist that there is a getCustomer method in the Standard RTS, so that it can be invoked from CRT. And I do an experiment, the exceptions shows that the method can't be found. Would you please confirm that if the method is existed in the standard RTS? Thank you!

Regards.

Leon

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mea_ Profile Picture
    60,284 on at

    Hi leon.lin,

    He is absolutely right msdn.microsoft.com/.../retailtransactionservice.getcustomer.aspx

  • Community Member Profile Picture
    on at

    Thank you,ievgen.

        The link you provided is for [AX 2012],I am work on [AX 7].

  • Andreas Hofmann Profile Picture
    on at

    Leon,

    you have the Retail Sdk, right?  Browse the code and find the RTS client side of the call for get or search customer.

  • Community Member Profile Picture
    on at

    Hi, Andreas,

      Thanks for your reply. I can't find the RTS client side of the call for getcustomer. Could you be more specific?

      Sine RTS is invoked from CRT, So I open the solution under "\RetailSDK\CommerceRuntime" and search for ”InvokeExtensionMethod“, there are no valuable cod for reference. By searching for "customer", found the following snippet :

    1234._E06507689898_.png

     I just can't find the code to invoke RTS service. 

       I searched "InvokeExtensionMethod" in RetailSDK directory , found nothing valuable. 

  • Verified answer
    SergeyP Profile Picture
    2,928 on at

    Can you describe your business goal? Do you absolutely need to call RTS or channel DB would work as well?

    Retail Server (that is what is supposed to be consumed for Retail specific calls) has method to get a customer, you can see example of one of those methods is shown in Basics of building native client capable of C2 authentication with Retail Server CTRL+F there for customer = await customerManager.Read(string.Empty);

  • Community Member Profile Picture
    on at

    Thanks, Sergey.

      I just want to know if there is such method in standard RTS so that I can report to my superior.

  • Verified answer
    Andreas Hofmann Profile Picture
    on at

    Leon, you got the code!  The client side for RTS is in "Retail SDK - dev\CommerceRuntime\TransactionService" (possibly what you want is in CustomerTransactionServiceRequestHandler.cs) and the server side for RTS in is AX's RetailTransactionService(Ex) classes.

  • Community Member Profile Picture
    on at

    Thanks,Andreas.

       The code is different with what was said in the retailSDK handbook. For instance , It didn't invoke the method InvokeExtensionMethod. I think  I need more time to study 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

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans