You can access a view in NAV. Create the view in your database. Design the table to match the name and structure of your view. Set the LinkedObject table property to TRUE. In this case you’ll probably also want to set the LinkedInTransaction table property to FALSE.
The view should be in the same database and have the same name as the table. Did you set the LinkedObject property to True? Once, you set it to true it will look for a view with the same name. You’ll need to ensure the table structure matches the view. You can then use the table as the source for your XMLPort.
Did you get an answer to your question? Did it help you? The members and moderators here on DUG use our spare time and help you for free, all we ask in return is that you spent a few seconds to let us know if we helped you solve your problem.
If any of the suggestions helped you solve your question/problem, then please click the “Verify Solution” on the answer that helped you, so that we can see that your problem is now “resolved”. Otherwise let us know how if there is something else you like to know.