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 :
Dynamics 365 Community / Forums / Finance forum / How to import General ...
Finance forum

How to import General journals using excel through code

(0) ShareShare
ReportReport
Posted on by 632

Hi Experts,

We want to import General journals using excel through code in D365FO.

Please share your information.

Thanks & Regards

Rahul

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Import from where? You can use data management projects and data entities to set up an endpoint in D365FO. Then you can send excel files to that endpoint from any source by using LogicApps, Flow, Recurring integration scheduler, Biztalk or similar.

    This is the simplest way and doesn't require any coding.

  • Rahul.p Profile Picture
    632 on at

    Can you send me any link we want to import it from General Ledger -> Journal entries -> General journals

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    If you mean that you want your users to be able to import when they are on the General journals form, you can just use the "Open lines in Excel" button that you already see on that form. You can use it to import data.

    Could you perhaps share more details about your business requirement, if I did not manage to answer your question.

  • Rahul.p Profile Picture
    632 on at

    My business requirement is we want to add new button in General journals form and if user click on this button (New created button) then data should import.

  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    I really suggest you go with the existing standard feature which you can use without any additional cost.

    But if you want to develop your own button, Sukrut has written a blog about how to add a button that reads CSV file: community.dynamics.com/.../d365fo-use-of-fileupload-control-to-read-csv-file

    If you want to upload Excel instead of CSV, you will find plenty of information on how to handle Excel files in x++ by searching the web.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Rahul.p.,

    I agree with Nikolaos that this can be achieved with the standard tools in Dynamics and the powerplatform.

    Making a system modification is not needed for that.

    Best regards,

    Ludwig

  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    I agree with what is suggested above , instead of using custom code you should use data management . Here is another blog post from me which shows , how you can utilize data management workspace to import General journal from Journal screen .  Its very minimal code just to open data management workspace with your pre configured data project and rest is standard data management . You can utilize any format you want , for example csv , excel , data package etc..  Some of the code is to modify data management workspace , you can do that using security as well.

    community.dynamics.com/.../d365fo-import-general-journal-using-data-entities-with-restricted-access-to-data-management

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 > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans