This walkthrough demonstrates how to use file functions to send a file from a client to the server, use stream functions to read the file, and use an XMLport to load values into the database. In Microsoft Dynamics NAV 2009, business logic runs on Microsoft Dynamics NAV Server instead of on the client. As a result, any business logic that reads data from a file needs to first move a copy of that file from the client to the server.

Expand imageAbout This Walkthrough

Expand imageCreating an XML File

Expand imageCreating a Table

Expand imageCreating the Codeunit

Expand imageCreating the XMLport

Expand imageAssociating the Codeunit with an Action

Expand imageTesting the Codeunit

Expand imageSee Also