其他分享
首页 > 其他分享> > D365: Info添加超链接到主表

D365: Info添加超链接到主表

作者:互联网

//D365 Info添加超链接到主表
public void showMessage(PurchTable _purchTable)
    {
        MenuItemMessageAction menuItemMessageAction = new MenuItemMessageAction();
        menuItemMessageAction.MenuItemName(menuItemDisplayStr(PurchTable));
        menuItemMessageAction.TableName(tableStr(PurchTable));

        menuItemMessageAction.RecId(_purchTable.RecId);

        Message::AddAction(MessageSeverity::Informational,
                            strfmt("@SYS82024", _purchTable.PurchId),
                            _purchTable.PurchId,
                            MessageActionType::DisplayMenuItem,
                            FormJsonSerializer::serializeClass(menuItemMessageAction));
    }

  

标签:Info,menuItemMessageAction,D365,MenuItemMessageAction,RecId,PurchTable,主表,purchT
来源: https://www.cnblogs.com/dingkui/p/16162693.html