Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / D365 for Finance and O...
Finance forum

D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

(0) ShareShare
ReportReport
Posted on by

Hello,

this article : https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/data-entities/recurring-integrations is showing how enqueue files, from external sources, to be processed by recurring data job, calling REST APIs.

I was wondering if I can enqueue those files directly from D365, in a custom X++ class...

I tried to search for documentation, but I didn't find find anything...

Any suggestion is appreciated.

Thank you.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    I wrote a blog post about this - How to implement file-based integration in Dynamics 365 FinOps using X++  denistrunin.com/.../

  • RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    Thank you very much Nikolaos and Martin.

    I will investigate those two paths.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    You can look at DMF* services (under AOT > Services > Services) and their underlying classes. For example, the data package API ultimately calls DMFDataPackager.importFromDataPackageStream().

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    In general I would question the requirement of not using an integration platform for integrations. You will probably end up implementing a lot of stuff that someone else has already done and published as an integration platform.

    But, by examining the source code of RIS, you will see how to send data to D365FFO recurring integration endpoints. Then you could try to write a solution inside D365FFO that first fetches the file from external system, and then sends it to the D365FFO recurring integration endpoint.

  • RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    Hi Sukrut,

    thank for your suggestion, but my problem is that the customer does not want to install an external software to import sales orders.

    All the process must run inside AX (get messages from provider, and send them to a data import job).

  • Suggested answer
    Sukrut Parab Profile Picture
    Sukrut Parab 71,673 Moderator on at
    RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    I think you Already have the link for RIS which uses data entities to import and export . Look the the below link to learn about its configurations , execution etc..

    github.com/.../wiki

    You can write your own utility which generates data packages required by RIS to import, which will contain xml file from you system , manifest and package Header file , once you generate those packages you can move those to upload folder so that RIS can consume those.

  • RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    Hi Martin,

    thank you for your response. Yes I am in the case that AX has to call services from an external system  and retrieve XML files to be imported. Those files are sales orders, the XML file needs to be imported with the Sales Orders composite V3 entity. I liked the idea of using recurring integrations, because they looked to me LIKE a sort of the old AIF queue manager table.

    Do you have any suggestion how I could automatically import those xml files using DMF entities?

    Thank you in advance.

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,962 Most Valuable Professional on at
    RE: D365 for Finance and Operations : enqueue file for recurring data job integration inside AX

    Do you mean that you don't want the other system to call AX, but instead you want AX to call the services of the other system or actively loading files from a network storage?

    It's definitely possible, but it's a completely different architecture; you wouldn't be using anything described in Recurring integrations.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans