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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Import G/L transaction using Custom XMLPort action.

(0) ShareShare
ReportReport
Posted on by 2,122

Hi All,

I have created a custom import action using XMLport, but when I was going to try importing CSV file of transaction, I am getting the below error.

pastedimage1680176141815v1.png

>>Below is my code for this:

pastedimage1680176215722v2.png

pastedimage1680176271399v3.png

pastedimage1680176297407v4.png

I have filled data in the excel according to the XMLport.

Can anyone give me a solution for this?

Thank you.

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    As per the error message can you check if you have same templates and batch created before importing 

  • Inkey Solutions Profile Picture
    2,122 on at

    Yes, I have the same batch and template name in my CSV file according to the business central batch name.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Are those already created in BC first before importing the CSV?

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

    If you already have your journal lines in an Excel sheet or in a CSV file. I think it would be a better option for you to use either the Excel buffer or the CSV buffer for your import.

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 June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 677 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 447 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 366 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans