Да. в Ax4 заменили вот этим:
X++:
client static int moveFileEx(str fileName, str newFileName, int flags = 0)
{
DLL _winApiDLL = new DLL(#KERNELDLL);
DLLFunction _moveFile = new DLLFunction(_winApiDLL, 'MoveFileExW');
_moveFile.returns(ExtTypes::DWord);
_moveFile.arg(ExtTypes::WString,
ExtTypes::WString,
ExtTypes::DWord);
// [msdn documentation]
// MoveFileEx() - return values:
// If the function succeeds, the return value is nonzero.
// If the function fails, the return value is zero.
// To get extended error information, call GetLastError.
if (!_moveFile.call(fileName, newFileName, flags))
return WinAPI::getLastError();
return 0;
}