Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Export Customers as a CSV file using Codeunit or Report

Posted on by 60

Hi All,

I want to export customers as a CSV file using Jobqueue.

Can you please provide me a piece of advice, whether i am creating code unit or report to run a jobqueue.

If it's possible through codeunit or report, please suggest me some piece of code to export a CSV file.

Thanks in advance,
Jacob.A

*This post is locked for comments

  • Suggested answer
    Binesh Profile Picture
    Binesh 7,885 on at
    RE: Export Customers as a CSV file using Codeunit or Report

    Hi, 

    Develop a XMLPort and call this XMLPort through codeunit.

    Setup this codeunit in jobqueue.

    For reference see below link. 

    https://docs.microsoft.com/en-us/dynamics-nav/walkthrough--exporting-data-from-tables-to-csv-files

    https://ksdconsultancy.blog/2016/07/08/export-data-as-csv-and-send-as-attachment-to-mail/

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans