web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to show activities in the customer details screen?

(0) ShareShare
ReportReport
Posted on by

  

Hi,

  I am using AX7 update1, I want to  create an “Activities” area  in customer details screen which show activities for a particular customer in CloudPOS .  I have read the blog How to access Retail Server in TypeScript(JavaScript) application. It is helpful , but I still have no idea how to start with.

Should I start with Implementing a new Retail transaction service? and how to find the proxy written in TypeScript?

Is there any nice documentation or video I can refer to for the development.

I am new to the AX developing and so this may sound like the basic question for some. Please be kind to guide me with the same. Thanks

Regards,
Leon

*This post is locked for comments

I have the same question (0)
  • SergeyP Profile Picture
    2,928 on at

    If, while saying "activities" you meant customer's orders then try ICustomerManager.GetOrderHistory(). As for how to find the proxy - I believe it is described in the blog you referenced, please clarify if you meant something else.

    The article you referenced just explains how to communicate with Retail Server in case you are creating Type/Java Script app from scratch but if you want to just extend M/CPOS then you don't have to create a new app, instead, you can just extend existing by calling some additional (per your requirements) Retail Server's methods and rendering their results in the view of your choice.

  • Community Member Profile Picture
    on at

    Sergey, thanks for your patient.

    The "activities" I mentioned in my question is a new entity. For instance, whenever an order event happens , the AOS will create an activity automatically.  

    Should I start with Implementing a new CRT entity and implementing the business logic and a new Retail transaction service extension method in AX? After that , I guess I should compile the project to   obtain the proxy written in TypeScript, finally import the proxy to do the development in CloudPOS. Thanks.

    Regards,

    Leon

  • SergeyP Profile Picture
    2,928 on at

    When you say "entity" - do you mean Data Entity or something else? Please provide more details because it is still not clear what you need - the message above contains both terms - entity and activity, so please be as much specific as possible. Would be good to also understand your business goal.

  • Community Member Profile Picture
    on at

    Yes, I mean Data Entity. The activity I mentioned is Data Entity, It is conceptual abstraction of a  table in the database.

  • SergeyP Profile Picture
    2,928 on at

    If all you need is some kind of hook for an event (on AX side) "Customer's Order Is Created" you then can put your code into AX7 handler which is processing RTS call which creates a customer order, so, you don't need to change anything on POS or CRT side.

  • Community Member Profile Picture
    on at

    I nee to create a new business entity  across both AX and the channel and then shows in the POS.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans