Automatic Create Folder x++

static void CreateFolder(Args _args)
{
    str  path = 'C:\\2017\\Jan';
    ;
    if (!WinApi::pathExists(path))
    {
        WinApi::createDirectoryPath(path);
    }
}

Comments

Popular posts from this blog

Create record in inventdim table through code X++ in ax 2012

Code to import Employee Master data in ax 2012 R3 x++

Post product receipt for registered quantity x++, Ax 2012