Export structured data with XMLPort

Hi everyone,

This might be a stupid question, but, we’re having troubles, and seems to be too simple to have problems.

Is it possible to create an XMLport for sales shipment header, and its related lines?

This is the structure:

Properties:

pastedimage1606925001984v2.png

And properties for the sales shipment lines node:

pastedimage1606925035891v3.png

I have created a function to export the XMl into a file, but I only get the header…

Am I doing anything wrong?

It’s NAV 2009 by the way

Thank you all!

I would suggest to try changing Temporary property to No in the properties for the sales shipment lines node.

It’s not a stupid question but rather I will say did you tried taking help from standard xmlports?

Hello,

Finally, due to the integration weith the web app, I’ve created 2 ports, because there’s no need to create a related one. We first show the headers, and once selected the order, we call to a new web service filtering that order.

THank you for your tips, and happy new year!

Welcome [mention:eb084e23a74e4768aa0a5d9b29f25ea4:e9ed411860ed4f2ba0265705b8793d05] and Wish you a very Happy New Year too!!