Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

XmlPort error " You must specify table data source

(0) ShareShare
ReportReport
Posted on by 559

im creating Xmlport to get output of the sales header table and sales line table in TXT file 

all the sales header table is ok , but when i added the sales line table i got the below error 

0624.xmlport.jpg

*This post is locked for comments

  • Samer Baskhayroun Profile Picture
    559 on at
    RE: XmlPort error " You must specify table data source

    1-i need to filter from the Location in the line not in the header

    2-i need to remove the double Quotations from one filed only not from all of them  

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: XmlPort error " You must specify table data source

    I'm not sure I understand No 1. If you only need to filter with location and you don't need any line information, there is a location code on the header as well (field no 28) that you can filter with.

    Add the location code to filters:

    pastedimage1568787255779v1.png

    2 Remove the field delimiter from the xmlport properties.

    pastedimage1568787001666v1.png

  • Samer Baskhayroun Profile Picture
    559 on at
    RE: XmlPort error " You must specify table data source

    Thanks a a lot , that solve the issue

    i have 2 questions

    1- in the below screen shots the i added location from the sales line , and i don't want to have the location in the output , i only use it to filter the data , how can i do that ?

    3817.filter.jpg

    2- the out put will be like below

    SO000012","09/17/19","01613","English Guernsey Cattle Societ","Scotsbridge House, Scots Hill","Rickmansworth","","GBR"

    every thing is OK but i need to have the date ( 09/17/19) with out the double quotation to be like that :

     09/17/19

  • Suggested answer
    Suresh Kulla Profile Picture
    47,789 on at
    RE: XmlPort error " You must specify table data source

    You need to indent the fields under the SalesLine, just like you did for the Sales header fields. The Test field is set to use the Sales Line:: Description but it is not intended under it.  Indent that field and any other fields you add for the sales line.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: XmlPort error " You must specify table data source

    Hi,

    You need to indent the line under Sales Line and it will compile.

    Tero

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Community Member Profile Picture

Community Member 108

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#3
manish.yadav Profile Picture

manish.yadav 6

Featured topics

Product updates

Dynamics 365 release plans