Источник:
http://daxonline.org/1957-create-inf...n-in-d365.html
==============
public static void showWithAction(str _infoMessage, str _actionText, LedgerJournalTable _journalTable){ MenuItemMessageAction actionData = new MenuItemMessageAction(); actionData.MenuItemName(menuItemDisplayStr(LedgerJournalTable)); actionData.TableName(tableStr(LedgerJournalTable)); actionData.RecId(_journalTable.RecId); str jsonData = FormJsonSerializer::serializeClass(actionData); int64 messageId = Message::AddAction(MessageSeverity::Informational, _infoMessage, _actionText, MessageActionType::DisplayMenuItem, jsonData);}
Источник:
http://daxonline.org/1957-create-inf...n-in-d365.html