Do While loop

This logic shows use of the use of the Do while loop in Dynamics Ax 2012. In this example, in the code a dialog is called, in which the user can select multiple countries until user cancel the process. At that time the selected countries are written in a txt.file