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)

AIF Outbound Port

(0) ShareShare
ReportReport
Posted on by 720

Hello,

I created a new Service (via the AIF Wizard) based on a custom Query. The query has as data source only the inventdimcombination table. I wrote a Job that generates an AifActionId based on the Service Class and I call then I call AifSendService::submitFromQuery() giving it the query I based my Service on. The record is generated in the Aif Queue.

Than I just call AifOutboundProcessingService.run() and AifGatewaySendService.run() which generate the XML file.

The problem is not all records are being exported to the XML. Some are missing. Was able to recreate the issue in different environments. 


I am using Dynamics AX 2012 for Retail (Feature Pack) and also XSLT Translations on the outbound port.


Unfortunatelly I can't find any fixes to this issue.

Thank you for your help!

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    If you run your query itself, does it return what you expect?

    If you run submitFromQuery(), are correct records inserted to the queue?

    If so and it fails later, is anything logged in the exception log?

    You really need to detect at least in which phase it fails; trying to deal with the whole process is unnecessarily difficult.

  • Douglas Noel Profile Picture
    3,905 on at

    Hi Pavel,

    what about the number of expected records if you omit the tranform?

    Sorry but we should really find out at which step the records are swallowed up.

    Never heard about that. Strange. Do you really have only one datasource within the query?

    regards Douglas

  • Crispin John Augustine Profile Picture
    37,081 on at

    I am facing the same problem now. Investigating the code behind, and will share my findings later.

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