Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Dynamics Ax 4 scheduled csv batch import

Posted on by 30

Hi,

My company needs to import data in scheduled fashion from csv files.

Before customizing Dynamics 4 we would like to see if it possible to use what Dynamics already offers us to do so.

We noticed that creating a "definition group" there are three ways to set up import batches:
Standard, Excel, Custom

"Custom" would be perfect for our needs. Unfortunately we cannot find a way to schedule it.

Does exist such way? Is there any viable alternative?

Thank you! Fabrizio

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Dynamics Ax 4 scheduled csv batch import

     Hello,

     To my knowledge, the custom import would work for importing a csv file.  You would enter a "," for the field seperator.  The custom option also gives you areas to write some logic to convert or set import criteria (conversion and import criteria tabs).  However, the custom import still needs to be ran on a manual basis.

    I would suggest writing a class that extends RunBaseBatch.  In this class you should read in your data from a csv file and update / insert records into your table(s) accordingly.  Then you schedule the class to run whenever needed.  There are a bunch of examples online that will show you how to read in data from a file.

    Hope this helps.

    Regards.

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 Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

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... 291,113 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,918 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans