Questions tagged [aif]

Application Integration Framework Web services are used to exchange documents between Microsoft Dynamics AX and other systems

99 questions
0
votes
1 answer

Create an AIF Service in C#

I know how to invoke/call an AIF service from managed code. I have seen examples of how to create custom services in X++. What I would like to know is whether I can create a service in C# using the visual studio integration. In other words, my…
dgorti
  • 1,221
  • 2
  • 9
  • 4
0
votes
2 answers

Invoking AX web service via C#

I am trying to connect to the AX web services. What I will do it to fetch the right price given a product and a customer. I realised the right webservice to use is PriceListServiceClient and I am able to log in to it using windows authentication,…
MaPi
  • 1,601
  • 3
  • 31
  • 64
0
votes
2 answers

Updating a salesorder using AIF

I'm running my head against the wall here trying to update a salesorder in C# through AIF (Dynamics AX webservices) I have the following code: /// /// Updates an order in AX /// /// Order to…
bomortensen
  • 3,346
  • 10
  • 53
  • 74
0
votes
1 answer

Import Product with AIF

I'm trying to import some products via the AIF when using AX 2012. If I don't set the default purchase/sales/invent site and location, it works fine, but when I try to set them I get the following exception thrown: Cannot create a record in Item…
CallumVass
  • 11,288
  • 26
  • 84
  • 154
0
votes
1 answer

Exception while running the batch using File System Adapter

I am getting an error " There is no service with namespace = ' http://schemas.microsoft.com/dynamics/2008/01/services' and external name = 'ItemService' while running the batch using file system adapter. I went to different forums and as per the…
Alok
  • 244
  • 2
  • 8
  • 23
0
votes
1 answer

Exception in accessing AX method through web Service (Application Integration Framework) in Ax 2012

Here “retrieveCustomerIds” is my AX method which I am trying to access from webservice. Definition of retrieveCustomerIds [AifCollectionTypeAttribute('return', Types::String), SysEntryPointAttribute(False)] public List retrieveCustomerIds() { List…
piku
  • 471
  • 4
  • 12
  • 44
0
votes
1 answer

General Journal AIF Services can't import offsets account of type customers - AX 2012

I am trying to import data from a CSV file to AX 2012, using AIF, and consuming the Web Service through C# Web Application. The data that I am trying to extract is from: The web service I am using is the basic GeneralJournalService. The code used…
Tito
  • 722
  • 4
  • 26
  • 55
0
votes
2 answers

AIF or Data Migration Framework [AX 2012]

I was importing some entities to AX 2012 using AIF and consuming the web services through an C# ASP.Net application. I already made it for Customers,Vendors,Workers,Chart of Accounts and now starting General Journals. Some customization I could find…
Tito
  • 722
  • 4
  • 26
  • 55
-2
votes
2 answers

Dynamics ax 2012 AIF date not accepting

Keep receiving exception message like this "Error reading value of type Date from XML." While inserting the salesorder using aif. //string deliverdt = "19/05/2017"; DateTime date = DateTime.ParseExact(deliverdt, "dd/MM/yyyy",…
NAJEEB
  • 251
  • 2
  • 13
1 2 3 4 5 6
7