{"id":14707,"date":"2019-02-19T11:26:12","date_gmt":"2019-02-19T11:26:12","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=14707"},"modified":"2021-06-30T15:59:33","modified_gmt":"2021-06-30T15:59:33","slug":"find-who-cloned-product-in-microsoft-dynamics-365-crm","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2019\/02\/find-who-cloned-product-in-microsoft-dynamics-365-crm\/","title":{"rendered":"Find Who Cloned Product In Microsoft Dynamics 365 CRM?"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p>Microsoft Dynamics 365 is a treasure box which includes Sales, Service, Settings and so on. In this blog, we are going to explorer one of the valuable piece in this treasure box which named as Product.<\/p>\n<p style=\"text-align: justify;\">So this is something about the OOB \u201cCLONE\u201d button on Product entity, which ease our job by making clone of same product and saving our time to re-filling same details for newly created product record. Just click on \u201cCLONE\u201d and we have mirror product with additional suffix in \u201cName (name)\u201d of product and auto generated \u201cProduct ID (product number)\u201d.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-14708\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/02\/1Cloned-Product-In-Microsoft-Dynamics-365-CRM.png\" alt=\"Cloned Product In Microsoft Dynamics 365 CRM\" width=\"1363\" height=\"271\" \/><\/p>\n<p style=\"text-align: justify;\">Recently had one business requirement, to send email when product record is cloned, and keep Created by of Cloned product in \u201cTO\u201d. So to set up this we created on Real Time workflow which sends email on create of Product entity record.<\/p>\n<p style=\"text-align: justify;\">Whenever we are cloning Product the workflow is triggering but emails were not generating and failing due to error \u201c<em>Object address not found on party or party is marked as non-emailable<\/em> \u201dand after further investigation we came across further questions and got the resolution.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-14709\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/02\/2Cloned-Product-In-Microsoft-Dynamics-365-CRM.png\" alt=\"Cloned Product In Microsoft Dynamics 365 CRM\" width=\"1363\" height=\"393\" \/><\/p>\n<p><strong>1. What happens with Created By and Modified By when we create Product? <\/strong><\/p>\n<p>Answer is, of course the user who created product record should set as Created By and Modified By.<\/p>\n<p><strong>2. Now the question is, what happens when you CLONE the product and what values set as Created by and Modified by?<\/strong><\/p>\n<p>Answer is, Created by set as System and Modified by set as System.<\/p>\n<p><strong>3. So where is the current logged in user, who CLONED the product record? <\/strong><\/p>\n<p>And here is the answer, Created by (Delegate) and Modified by (Delegate) set as user who cloned the product record.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-14710\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/02\/3Cloned-Product-In-Microsoft-Dynamics-365-CRM.png\" alt=\"Cloned Product In Microsoft Dynamics 365 CRM\" width=\"1363\" height=\"262\" \/><\/p>\n<p style=\"text-align: justify;\">We tweak workflow by checking if the Created By (Delegate) contains data it means it is Cloned and set same in To property of Email step, otherwise set only Created By in To\u00a0 (i.e. Product is created and cloned) and It resolved the issue.<\/p>\n<p>The reason was System user doesn\u2019t have email address and we cannot update the record.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Created by (Delegate) and Modified by (Delegate) set as user who has been cloned the product record.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/productivity-pack\/click-2-clone-microsoft-dynamics-crm-records\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-14555\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/02\/Click2Clone-One-Click-Productivity-App-to-Copy_clone-Dynamics-365_CRM-Records.png\" alt=\"One-Click-Productivity-App-to-Copy_clone-Dynamics-365_CRM-Records\" width=\"800\" height=\"200\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Microsoft Dynamics 365 is a treasure box which includes Sales, Service, Settings and so on. In this blog, we are going to explorer one of the valuable piece in this treasure box which named as Product. So this is something about the OOB \u201cCLONE\u201d button on Product entity, which ease our job by making\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2019\/02\/find-who-cloned-product-in-microsoft-dynamics-365-crm\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":14713,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[16,18,19,25,50],"tags":[287,1373,1519],"class_list":["post-14707","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365","category-dynamics-365-v9-2","category-dynamics-crm","category-dynamics-crm-2016-update-1","category-sales-2","tag-clone-product-dynamics-365-crm","tag-products-dynamics-365-crm","tag-sales-dynamics-365-crm"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/14707","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=14707"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/14707\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/14713"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=14707"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=14707"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=14707"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}