- Open development environment and make sure all objects are in compile mode. Select those objects which you want to convert in AL Export as .Txt file.
- Now, you have to splits those objects using nav splitter as you can see in below image.
- Now, open Windows PowerShell ISE Run as Administrator add this command:
- $Command = "C:\Program Files (x86)\Microsoft Dynamics NAV\110\RoleTailored Client\txt2al.exe"
- & $Command --source E:\Cal --target E:\AL
- In above example i created two folders in the E:\Cal contain all the text file so it is source folder and AL is destination folder.
- On successful run of script, file is converted in AL Now, You can see in above image text file is converted in AL file.
A useful article, Appreciate!
ReplyDelete