Application Integration Framework Web services are used to exchange documents between Microsoft Dynamics AX and other systems
Questions tagged [aif]
99 questions
0
votes
1 answer
How to get continous number from number squence when import BOM via AIF web service - AX 2012
I would like to import BOM over the standard BOM AIF Web Service in AX 2012.
In my XML-File I don't define any BOMId, because the system should take the next possible BOMId from the existing number sequence.
When I start the import of my XML-File I…

Virtrel
- 73
- 9
0
votes
1 answer
AIF salesOrders Default fields uncheck
I have one quastion. do anyone know how I can remove a default checked field?
In this case the field name is 'Value' and exist in SalesTable as DefaultDimension. The field in Salestable is not mandatory and in AxSalesTable class I added into (just…

Nikos Kou
- 175
- 3
- 17
0
votes
1 answer
Dynamics AX Document Services salesSalesOrder error
I have a quastion regarding document services
I just want to create salesorders through document services I just follow the straight forward procces of https://technet.microsoft.com/en-us/library/hh352313.aspx.
I made the modifications that…

Nikos Kou
- 175
- 3
- 17
0
votes
1 answer
AIF service operation that returns a table object
what is the code of writing operation code that return table object records ( ex: creating a function that return customer information ).
this function will be consume from my application during web…

alhamdi.cs
- 13
- 6
0
votes
1 answer
AX 2012 AIF Service don't retrieve table on XML
for a project I need to change the AIF service called "SalesSalesEInvoice". In particular, I need to retrieve the CustPaymModeTable on the result XML.
In the query used by the service, this table is present and is joined with CustTrans…

Francesco Paris
- 62
- 7
0
votes
1 answer
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#. also i want to return data from c# to client as json format because I'm using angularjs.
I already create AIF and link it with my MVC project , but still i do not know how to retrive…

alhamdi.cs
- 13
- 6
0
votes
2 answers
how to add a sales line using OOTB SalesOrder document service
I am trying to find an example to add a line to an existing sales order using the OOTB sales order service.
Our client is using the followings steps to do that but getting exception. I am trying to take a sales order that exists in AX with 1 sales…

Fahad Ahmed
- 63
- 1
- 1
- 6
0
votes
1 answer
Dynamics Ax 7 SOAP-based Custom Service logs
In AX 2012 the AIF document service can maintain log exception/history. Now in AX 7 AIF don't exist anymore. Is there any way (out of the box) to maintain logs for SOAP-based custom services or we have to do it manually.

Lynx
- 1
0
votes
1 answer
Added an update operation to InventItemService AIF service and getting exceptions
To my surprise, I didn't find standard update and delete operations on InvenItemService. So in order to fullfill our client's requirements, I ran the AIF update wizard and added these two operations. I thought its easy and found the process of doing…

Fahad Ahmed
- 63
- 1
- 1
- 6
0
votes
0 answers
Ax 2012 aif catching warnings
I created an AIF web service in ax. I have a vb.net application that calls the aif web service to insert data into the general journal. Now when an error occurs i catch it in vb and it returns the error which is fine. What i want to do is also…

Sirus
- 382
- 1
- 8
- 35
0
votes
1 answer
AX2012 AIF X++ class that contains list of classes
I have a class with this structure
class A
{
List Blist;
}
Class B
{
int i;
}
I need my AIF web service operation to accept a single object A that may have multiple instances of B in it. I get an error when i try to deploy…

kunal
- 21
- 6
0
votes
2 answers
Dynamics AX 2012 AIF QueryService through C# - Relations and JoinMode usage between multiple tables
I want to create a complex User defined AIF Query service by using Visual studio and writing code for query service in C#. I am using two custom tables among which one is header and one is line table. I have added fields in the query by using both…
0
votes
0 answers
Dynamics AX 2012 WCF service error
I'm facing a very strange issue with a custom AX 2012 R3 CU9 AIF WCF service.
My goal is to use my AX wcf service with wsHttpBinding + Basic authentication + TransactionFlow enabled.
This error occurs every time I try to add a service reference for…

Alexey Rakovich
- 1
- 1
0
votes
0 answers
Need to create Web Service in AX 2012 AIF that returns somewhat complex XML
We need to create a web service in AX 2012 that will return somewhat complex XML to the calling application.
For example, we need to return specific information of a company (and its sub-companies) via a web service from XML. This is one of the…

kunal
- 21
- 6
0
votes
1 answer
Dynamics AX 2012 R3 - Record Creation through AIF web service
I am having issues using an AIF web service to create a unique primary key in our contract module in Dynamics AX. Our contract PK's are in a format of 'CON-######', and the contractId is tied to a number sequence in AX. When I call the 'Create'…

Adam St.Hilaire
- 3
- 1