24.07.2024, 12:11 | #1 |
Участник
|
a33ik: Create Infolog with action in D365
Источник: 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 |
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|