简体   繁体   English

禁用公司在AX 2012 R3上的功能(AX修改)

[英]Disable a functionality (ax-modification) by company on AX 2012 R3

I am developing a pretty complex modification of the standard invoicing process, it implies different classes, tables, etc. Also added my configuration key, security, roles, etc. Like a new module. 我正在对标准发票流程进行相当复杂的修改,它暗示了不同的类,表等。还添加了我的配置密钥,安全性,角色等。就像一个新模块一样。

How and which tools can I use to disable such feature for a certain company and let it enabled by default for the others? 我如何以及如何使用哪些工具来禁用某家公司的此功能,并默认使其他公司启用该功能?

I think you would have to create a non-company specific parameters table and add/remove companies that way. 我认为您必须创建一个非公司特定参数表,然后以这种方式添加/删除公司。 Then via code check the parameters table if it should be enabled. 然后通过代码检查参数表是否应启用。

If the companies are in different countries, you could use the CountryRegionCodes property (See https://msdn.microsoft.com/en-us/library/hh404126.aspx ) 如果公司位于不同的国家/地区,则可以使用CountryRegionCodes属性(请参阅https://msdn.microsoft.com/zh-cn/library/hh404126.aspx

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

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