web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Dynamics Ax 4 scheduled csv batch import

(0) ShareShare
ReportReport
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
    on at

     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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans