microsoft-dynamics

Dynamics AX 2009 X++ Selecting A Date Range

拥有回忆 提交于 2019-12-11 13:19:17
问题 I am creating an X++ report, and the requirement is that the user can multi-select on a form and when they click the report menu button the values are pulled in based on the selection. So far this is easy enough, and I can pull in Str ranges i.e. order numbers, item id's etc, but I want to be able to pull in a date range based on selection. I have used a method which several MorphX reports use, with use of 3 key methods in X++ reporting; setQuerySortOrder setQueryEnableDS and the main key one

AX SSRS Report Parameter is shown but not useable in the report

 ̄綄美尐妖づ 提交于 2019-12-11 11:55:54
问题 I want to add a parameter to a SSRS report which uses a report data provider. I searched the LedgerTrialBalanceContract class in AOT and added in the classDeclaration an attribute "CurrencyCode accountingCurrency;". After this step, i added a method "parmAccountCurrency" which look like this: [ DataMemberAttribute(identifierStr(accountingCurrency)) ] public CurrencyCode parmAccountCurrency(CurrencyCode _accountingCurrency = accountingCurrency) { //accountingCurrency = _accountingCurrency;

What does EntityCollection return if FetchXML (AGGREGATE SUM) Query didn't find anything?

混江龙づ霸主 提交于 2019-12-11 07:58:41
问题 I am running a FetchXML query (aggregate='true' for the fetch and aggregate='sum' for all attributes) and passing it to RetreiveMultiple in my C# plugin code. What if the Fetchxml didn't find anything, what does service.RetrieveMultiple retrieve in this case? In the debugger, there is a NullReference exception . FetchXML Builder returns this: I need to handle a case where one of the meals in the contract lines is missing... In my plugin I have three Fetchxml expressions that Retrieve data

CrmDataContext.GetEntities query - ERROR: 0x80040204 - Invalid user auth

[亡魂溺海] 提交于 2019-12-11 07:43:01
问题 I created domain user 'jsmith' in Active Directory and i've added that domain account as a user in Dynamics CRM. My goal here is to execute code with a service account that is in the PrivUserGroup for the organization while impersonating 'jsmith'. I instantiate the CrmDataContext by passing it an instance of CrmConnection. When calling the constructor of the CrmConnection I pass it the name of my connection string in the application config file then I set the ImpersonatedUser property to the

Can I use Dynamics CRM as a Shopping Website?

 ̄綄美尐妖づ 提交于 2019-12-11 07:09:45
问题 I have couple of questions related to the usage of Dynamics CRM: Can it be used like a shopping website? If I am using it like a Shopping website, will I have to buy a license for every registered user on my website? Or do you think Dynamics CRM is not made to behave like a shopping website? 回答1: 1) Absolutely, with some development, Microsoft CRM can be used as the database for your shopping website. You can use the built-in product catalog and price lists for your sales. Microsoft CRM has

Dynamics CRM - Register a plug-in when the user logs in

此生再无相见时 提交于 2019-12-11 06:28:17
问题 I would like to fire an event when the user logs in to his account on Dynamics CRM ? Such as opening a Web App beside the CRM... Is This possible ? I know that I can write plug-in that allows to augment some business process such as account creation. Any advice will be appreciated ! 回答1: CRM does not expose a plugin message for "UserLogon/UserAccess" on which you can register a plugin. What you could do though is enable Audit User Access and register your plugin on Create of an audit entity

Customization in Dynamics365

被刻印的时光 ゝ 提交于 2019-12-11 05:26:11
问题 Can we do customization in Dynamics365 portal up to such extent that we create a website with asp.net and java script which interact with Dynamics365 entities and open inside dynamics365 portal. 回答1: Yes, you will probably need to setup single sign on authentication between your website and the portal, the suggested manner of which is Azure AD B2C. This is currently possible but undocumented, official support is coming soon. This slide is from an executive briefing by Microsoft last week. 来源:

Dynamics CRM 2011 - Does each plugin that related to a different entity have to have it's own assembly?

偶尔善良 提交于 2019-12-11 04:33:42
问题 I am creating a series of related plugins. Each plugin is for a different entity. Does each plugin have to have it's own assembly? I'm using Visual Studio and I created a second project within the same solution but I can't see the new step in registration tool. Thanks 回答1: It can do, but doesn't have to. That is pretty much your design decision. Consider if you had several classes all implementing IPlugin public class MyFirstPlugin : IPlugin { //implemented as per usual } public class

Restrict user access from “main area” Dynamics 365 on prem

吃可爱长大的小学妹 提交于 2019-12-11 03:37:47
问题 We've created a new "App" which is the first app so far in our solution. The idea is that a group of users will have access to this app only and they will no longer have access to the "main area" of the application. Some of the forms for certain entities will look differently than the others etc. (With "main area" I mean the "normal" area that exists by default more or less). So, it was easy to give this group of users access to the new app because they have a particular security role and we

Select Statement Vs Find in Ax

爷,独闯天下 提交于 2019-12-11 02:38:48
问题 while writing code we can either use select statement or select field list or find method on table for fetching the records. I wonder which of the statement helps in better performance 回答1: It really depends on what you actually need. find() methods must return the whole table buffer, that means, all of the columns are projected into the buffer returned by it, so you have the complete record selected. But sometimes you only need a single column, or just a few. In such cases it can be a waste