guid2Str Function
Dynamics AX 2009
Converts the specified GUID object to the equivalent string.
str guid2String(guid _uuid)
static void guid2StrExample()
{
guid _guid;
str stringGuid;
;
_guid = Global::guidFromString
("{12345678-1234-1234-1234-123456789abc}");
print strfmt("GUID is %1", _guid);
stringGuid = guid2str(_guid);
info("String GUID is " + stringGuid);
}
/**** Output to Infolog
String GUID is {12345678-1234-1234-1234-123456789ABC}
****/
Community Additions
ADD
Show: