Skip to main content

Notifications

Announcements

No record found.

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 495

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
    Samer Baskhayroun 495 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
    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
    Samer Baskhayroun 495 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
    Suresh Kulla 44,656 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
    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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,436 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans