//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)); }
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/246062.html