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 :
Small and medium business | Business Central, N...
Answered

Automate Sales Docs Importing

(0) ShareShare
ReportReport
Posted on by 264

Greetings to all of you.

Long story short, every night , a customer of mine , posts on my onecloud , an excel file which is basically a configuration package, including the sales header and the sales line table. ( data are coming from another ERP that the customer uses).

My task , is to create , an automatic process which will allow me to get the lines within the file and post them within the Business Central ( cloud version).

I tried using Power automate , so that i can open the file and post , through POST Request, all the needed information but i am having a hard time with the ID's since , for example, to post a sales line you need the itemid and not the item no..

Due to that, i would like to ask you , which  is the most simple way to achieve this goal ? Can anyone share his/her experience please?!

Thank you in advance for your time.

With respect,

AK

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    The best way would be to have your customer put the file on a Azure blob storage.

    Then you can use AL code to retrieve the file from the Azure blog storage.

    Read the file into the Excel buffer in Business Central and create the orders from there.

    Then create a job that can run in a job scheduler that process the Excel files at a given time every night.

  • Verified answer
    YUN ZHU Profile Picture
    104,110 Super User 2026 Season 2 on at

    Hi, This is not very difficult if not fully automatic, manual import of Excel files. Here is a simple example.

    https://yzhums.com/4223/

    And 

    https://yzhums.com/21483/

    If you want to be fully automatic, the biggest problem is not being able to read your local folder.

    Here are some solutions that hopefully give you some hints.

    Graph API

    https://simplanova.com/blog/how-to-access-onedrive-using-graph-api-in-business-central/

    Azure File Storage

    https://www.dynamicsblog.at/en/automated-file-upload-to-business-central-cloud/

    Business Central and Azure Blob Storage:

    https://www.linkedin.com/pulse/business-central-azure-blob-storage-bert-verbeek/

    Azure Data Lake

    https://robertostefanettinavblog.com/2022/06/10/business-central-data-exported-in-azure-data-lake/

    Thanks.

    ZHU

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

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 645 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 432 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 248 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans