Category Archives: MS CRM 2011

Implementing Reason for Delete in D365 CE

reasonfordeletion

Requirement In Dynamics 365 Customer Engagement (CE), managing data is crucial for maintaining a clean and efficient database. When we delete records, out of the box auditing feature can help to see audit information of the deleted record but what if we want to see the reason why this record was deleted?. With a simple customization, we can implement this… Read more »

An attribute with the specified name already exists

jamie-haughton-Z05GiksmqYU-unsplash

Introduction We know there are many out of the box fields created when we create a custom entity, but do you know when you create specific data type fields, some hidden fields are created using the field name. Today we are going to discuss that. Details Let say we need to create two fields first one “Location” in my entity… Read more »

Syncing product from Quotes to Opportunity

sales2

Requirement Quote product should be synched to opportunity when quote is activated. Implementations In traditional sales life cycle we create quote from opportunity which inherit all the opportunity data as well as products from opportunity. but sometimes while working on the quote negotiations with the customer some information can be updated on the quote products or may new product is… Read more »

Error Logging using D365 CE Plugin

Errorlogging5

Requirement Error logging using D365 CE Plugin. Details Let’s see what options we can use for the error logging. ITracing Service First option that we have for the error logging in D365 CE plugins is using ITracing service. To usethis option first we need to make sure we enable below setting in D365 CE environment. Once this option is enabled… Read more »

Create Order Button is Missing on Quote Dynamics 365 CE

Introduction Recently faced one issue where Create Order button was missing from Quote entity form in one of the sandbox environment, I am going to provide step here how I fixed it. Details When we faced this issue in Sandbox environment, first thing I checked if it is available in production or not, and it was there, next thing I… Read more »

Downloading Notes Attachments using Paging

Introduction This article is about downloading Notes attachment from Dyanmics 365. If you have large number of records from where you want to download attachment, you can face different issues like timeout, slow downloading etc. Here I am going to provide sample code which you can use to download attachments from small set of data. Details To download attachment from… Read more »

Copy Phone call field to Case while converting -Nocode Solution

Introduction Today I saw one question on Microsoft Community, which helped me to write this article (If you are still not part of Microsoft Community forum you are really missing lot of learning, this is a great learning source, I have learned a lot from community forums, so join it today to share your knowledge with others and learn from… Read more »

Query intersect entity and it’s attribute- Sample Code

Introduction When we setup system N:N relationship between two entities an intersect entity is created internally, which is not accessible directly. Let’s say we have N:N relationship between case and workorder entity. And if you will try to see attributes of this entity, you will find following attributes So in case we want to query this entity, we need to… Read more »

Re-adding accidently deleted statusreason option- Quick Tip

Requirement: Have you been in a situation where you accidently deleted status reason option from quote entity and now want to add it back as soon as possible?? If yes then this article is going to help you. Solution: While adding options to option set, it’s value is generated automatically based on the option value prefix (You can find this… Read more »