Some years ago I wrote a series on validating data in NAV. The second post in this row, called Validating Data #2: Using VALIDATE, addressed the use of the AL function VALIDATE. From recent experience I would like to update some part of this post as this seems missing in any documentation on…
Both a Dataport and XMLport object can be used to import data into Dynamics NAV. And as with user input and code entered data we might need to validate the data imported to impose the necessary business logic. This can be achieved in two ways: either by programming a VALIDATE after the…