Function "FileNameFromFolder"
Andis Blicāns, Grasko
7-7-25
Operating system: Windows
extension = ".xml";
fromfolder = "Orders/import/";
filename = FileNameFromFolder(fromfolder,extension);

The FileNameFromFolder function reads files with non-XML extensions, such as TXT and other files.
Is this correct or is it a HAL bug?

//Andis
Aldevinas Katkus
10-29-25
No idea. I just have a note: FileNameFromFolder() for non-existing folder causes ResetCompany() to fail?
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Hi there, I've just tried to get to HansaManuals from my browser only to be given a webpage that says the following: "HansaManuals can only be opened from within Standard ERP. Please o...
13:05 30 Oct 2026
Tatjana Rozentsova
Hi Paul, BackgroundHALShouldPause is a Boolean function with no arguments. - False: keep working. - True: finish the current item safely and exit the routine. It tells a background HAL routine...
14:12 26 Oct 2026