简体   繁体   English

设置菜单项的权限(Ax Dynamics 2009)

[英]set permissions for menu items (Ax Dynamics 2009)

I'm having some problems with granting access to a certain menu item in Ax Dynamics 2009. The situation is this: We have a form with transactions of items (based on InventTrans). 我在授予对Ax Dynamics 2009中某个菜单项的访问权限时遇到一些问题。情况是这样的:我们有一个表单,其中包含项交易(基于InventTrans)。 This form displays all transactions for a particular item, like sales, purchases, transfers,... You can right click on the number of any of these transactions and choose "Go to main table". 该表格显示特定项目的所有交易,例如销售,购买,转移...。您可以右键单击任何这些交易的编号,然后选择“转到主表”。 This takes you to the form with the details on this particular transaction. 这将带您进入包含此特定交易详细信息的表格。

But when some of our users do this, they get the error "You don't have enough privileges to execute Menu Item Sales Order". 但是,当我们的某些用户这样做时,他们会收到错误消息“您没有足够的特权执行菜单项销售订单”。 However, they are able to go to this form through the main menu. 但是,他们可以通过主菜单转到此表单。

So I'm assuming it's this particular method to which these users don't have access. 因此,我假设这是这些用户无法访问的特定方法。 I know where I can set user group permissions, I just can't seem to find the right place of this menu item.. 我知道可以在哪里设置用户组权限,但似乎找不到该菜单项的正确位置。

Does anyone know where I can find this menu item? 有人知道我在哪里可以找到此菜单项吗?

Thanks 谢谢

The 'Go to main table form' actions are based on other display-type Menu Items (normally found under the Misc folder), not necessarily the primary menu item. “转到主表表单”操作基于其他显示类型的菜单项(通常在“杂项”文件夹下找到),不一定基于主菜单项。

My first step would be to look at the properties of the table in question, and see what the 'FormRef' property is, and see if granting access to that menu item fixes it. 我的第一步是查看有问题的表的属性,并查看“ FormRef”属性是什么,并查看授予对该菜单项的访问权限是否对其进行了修复。

If it doesn't have a menu item or it doesn't work, then I would suggest trying a 'brute force' type approach - it takes a while, but grant another user you have access to full access and trim down the access levels until you find the specific menu item. 如果它没有菜单项或不起作用,那么我建议您尝试使用“蛮力”类型的方法-这需要一段时间,但要授予其他用户访问权限,并降低访问级别直到找到特定的菜单项。 You can start with the module-level keys and work your way down, not unlike a binary tree search. 您可以从模块级键开始,然后逐步进行,与二叉树搜索不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM