Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Automated Upload Excel File to General Journals Business Central SaaS from local file on the same server as BC

Posted on by 5

I am working on a BC Premises.

I need to automate upload of excel files to general journal lines without posting them from a folder which is on the same server as BC.

The process should be unassisted, I mean, we do not expect any person to execute the tasks or initiate the upload.

How would you do this? 

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: Automated Upload Excel File to General Journals Business Central SaaS from local file on the same server as BC

    I would recommend you put them on a Azure blob storage instead of putting them on a local server.

    It is easier to automate the process within Business Central if you put your files on an azure blob storage.

    Here are some sample codes that reads a CSV file from a azure blob storage and imports it as General journal lines in BC.

    The same method can be used for Excel files using the Excel buffer instead of the CSV buffer that I am using in this code.

    github.com/.../GenJorunalImport

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Automated Upload Excel File to General Journals Business Central SaaS from local file on the same server as BC

    Hi,

    You can follow the below link

    community.dynamics.com/.../upload-text-as-file-to-ftp-server

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