简体   繁体   English

从Dynamics ax 2012检索客户完整数据,并在MVCproject中显示

[英]Retrieve customer full data from Dynamics ax 2012 and show it in MVCproject

I want to list all customer information in grid-view using MVC c#. 我想使用MVC c#在网格视图中列出所有客户信息。 also i want to return data from c# to client as json format because I'm using angularjs. 我也想将数据以json格式从c#返回到客户端,因为我正在使用angularjs。 I already create AIF and link it with my MVC project , but still i do not know how to retrive all customer data. 我已经创建了AIF并将其与我的MVC项目链接,但是我仍然不知道如何检索所有客户数据。

any help please 任何帮助请

I think this is exactly what you are looking for: 我认为这正是您想要的:

Query Service [AX 2012] 查询服务[AX 2012]

The query service is one of the Microsoft Dynamics AX system services that enables you to issue a query for data without using an Application Integration Framework (AIF) document service or creating a custom service. 查询服务是Microsoft Dynamics AX系统服务之一,使您无需使用Application Integration Framework(AIF)文档服务或创建自定义服务就可以发出数据查询。 The query service returns data in a dataset and implements a paging mechanism so that you can manage large amounts of data returned by a query. 查询服务返回数据集中的数据并实现分页机制,以便您可以管理查询返回的大量数据。

Walkthrough: Calling the Query Service with a Static Query 演练:使用静态查询调用查询服务

Another option is to create a custom service or add a service operation to a standard customer service 另一种选择是创建自定义服务或将服务操作添加到标准客户服务

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM