{"id":15223,"date":"2019-03-28T12:50:56","date_gmt":"2019-03-28T12:50:56","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=15223"},"modified":"2021-12-21T10:07:10","modified_gmt":"2021-12-21T04:37:10","slug":"clone-dynamics-365-work-order-along-with-related-records-using-click2clone","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2019\/03\/clone-dynamics-365-work-order-along-with-related-records-using-click2clone\/","title":{"rendered":"Clone Dynamics 365 Work Order along with related records using Click2Clone"},"content":{"rendered":"<p style=\"text-align: justify;\">Work order is an entity which is mostly used by Dynamics 365 users as work order has information of what work needs to be done. It is used to coordinate and schedule resources and activities. It can be used for different types of work, such as installations, repairs, or preventive maintenance. A work order can contain: A description of issue or work to be completed, Customer details including service and billing accounts, Equipment affected, Location, Parts, Products and Services needed, Tasks to follow, Priority and estimated duration and Characteristics (skills) required to complete the work order.<\/p>\n<p style=\"text-align: justify;\">So, if user wants to create a work order with the same details using existing work order with different accounts then it is time-consuming task to manually fill all the details every time. In this case, we can use <a href=\"https:\/\/www.inogic.com\/product\/productivity-apps\/click-2-clone-microsoft-dynamics-crm-records\" target=\"_blank\" rel=\"noopener noreferrer\">Click2Clone<\/a> solution to create an exact replica of the previous work order. Click2Clone helps user to clone\/copy OOB and Custom Entity records and their child records. It also enables user to clone\/copy one Entity record to another Entity along with the relationships. With Click2Clone user can Clone\/Copy multiple Dynamics 365 CRM records in just one click. It reduces the iterative task of re-entering duplicate Dynamics 365 CRM records.<\/p>\n<p style=\"text-align: justify;\">To clone records of work order is bit different than any other entity because Work Order has its own plugin and workflows registered on it. While cloning the Work Order records user needs to take few preventive measures so that it helps user to successfully clone the work order record.<\/p>\n<p style=\"text-align: justify;\">To clone records of Work Order entity, user needs to create Click2Clone Template for Work Order. Creating Click2Clone template is an easy process after which you can clone the attributes and relationships.<\/p>\n<p>Below are the steps mentioned for creating Click2Clone Template.<\/p>\n<p><strong>1<\/strong>. Navigate to\u00a0<strong>Settings\u00a0-&gt;\u00a0Click2Clone Group-&gt; Click2Clone Template<\/strong>\u00a0in the sitemap.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-15224\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/1Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1225\" height=\"309\" \/><\/p>\n<p><strong>2<\/strong>.\u00a0Next, click\u00a0<strong>\u2018New\u2019\u00a0<\/strong>to create Click2Clone template.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15225 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/2Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1358\" height=\"484\" \/><\/p>\n<p><strong>3<\/strong>. Fill the following details to Create New Template and click on save as shown below:<\/p>\n<blockquote><p><strong><em>Note: Source Entity Name is an autocomplete field.<\/em><\/strong><\/p><\/blockquote>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15226 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/3Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1389\" height=\"464\" \/><\/p>\n<p><strong>4<\/strong>.\u00a0After clicking on SAVE,\u00a0 check\/uncheck the attributes and relationships which need to be cloned and then click on\u00a0<strong>\u2018Save\u2019\u00a0<\/strong>button provided on the grid<strong>.<\/strong><\/p>\n<p style=\"padding-left: 60px;\"><img decoding=\"async\" class=\"aligncenter wp-image-15227 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/4Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"631\" height=\"188\" \/><\/p>\n<p style=\"text-align: justify;\">Now, to clone work order record uncheck the <strong>\u201cmsdyn_name\u201d <\/strong>attribute because name is a unique name of work order and<strong> \u201cmsdyn_SystemStatus\u201d <\/strong>attribute, the reason is newly created work order status must be in open-unschedule.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15228 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/5Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"834\" height=\"358\" \/><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15229 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/6Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"807\" height=\"391\" \/><\/p>\n<p style=\"text-align: justify;\">If user hasn\u2019t unchecked above two attributes it will throw an error that <strong>Work Order must be unique and for msdyn_SystemStatus you can&#8217;t change the status to &#8220;Scheduled&#8221; because the work order has a booking that&#8217;s in progress or has no booking that&#8217;s scheduled<\/strong>.<\/p>\n<p>There might be some more scenarios when user wants to clone work order along with their related records.<\/p>\n<p><strong>Case 1:<\/strong> Cloning <strong>Work Order<\/strong> along with <strong>Resource Requirement<\/strong>.<\/p>\n<p style=\"padding-left: 30px;\"><strong>a.<\/strong> To clone Work Order along with the resource requirement, at\u00a0first user needs to select the resource requirement relationship (<strong>msdyn_msdyn_workorder_resourcerequirement_WorkOrder<\/strong>) from Attribute relationship grid as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15230 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/7Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1344\" height=\"772\" \/><\/p>\n<p style=\"padding-left: 30px;\"><strong>b.<\/strong> Create Click2Clone template for <strong>\u201c<\/strong><strong>Resource Requirement\u201d<\/strong> entity and uncheck attributes <strong>\u201c<\/strong><strong>msdyn_IsPrimary\u201d<\/strong>,\u00a0<strong>\u201cmsdyn_FulfilledDuration\u201d,\u00a0\u201c<\/strong><strong>msdyn_RemainingDuration,\u201d\u00a0\u201c<\/strong><strong>msdyn_WorkOrder.<\/strong>\u201d<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15231 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/8Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1322\" height=\"607\" \/><\/p>\n<p style=\"text-align: justify;\">If user doesn\u2019t uncheck \u201c<strong>msdyn_IsPrimary<\/strong>\u201d attribute then it will throw an error with the message as <strong>you can only set one resource requirement under a &#8220;Work Order&#8221; as primary.<\/strong><\/p>\n<p style=\"text-align: justify;\">If user doesn\u2019t uncheck <strong>\u201cmsdyn_FulfilledDuration\u201d<\/strong>, <strong>\u201c<\/strong><strong>msdyn_RemainingDuration\u201d <\/strong>attributes then it will throw an error with the message as<strong> Fulfilled Duration field and Remaining Duration field can\u2019t be changed manually.<\/strong><\/p>\n<p><strong>Case 2:<\/strong> Cloning <strong>Work Order<\/strong> along with <strong>Bookable Resource.<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><strong>a.<\/strong> To clone Work Order along with the <strong>Bookable Resource<\/strong>, at\u00a0first user needs to select the <strong>Bookable Resource<\/strong> relationship (<strong>msdyn_msdyn_workorder_bookableresourcebooking_WorkOrder<\/strong>) from Attribute relationship grid on Work Order Click2Clone Template as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15232 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/9Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1342\" height=\"772\" \/><\/p>\n<p style=\"padding-left: 30px;\"><strong>b.<\/strong> Create Click2Clone template for <strong>\u201cbookableresourcebooking\u201d<\/strong> entity and uncheck attribute <strong>\u201c<\/strong><strong>msdyn_ResourceRequirement<\/strong><strong>\u201d<\/strong> otherwise user will get the error <strong>the Work Order must match the Work Order on the Resource Requirement.<\/strong><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-15233\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/10Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1403\" height=\"676\" \/><\/p>\n<p><strong>Case 3:<\/strong> Cloning <strong>Work Order<\/strong> along with <strong>Work Order Product.<\/strong><\/p>\n<p style=\"padding-left: 30px;\"><strong>a.<\/strong> To clone <strong>Work Order<\/strong> along with the <strong>Work Order Product<\/strong>, at\u00a0first user needs to select the <strong>Work Order Product<\/strong> relationship (<strong>msdyn_msdyn_workorder_workorderproduct_WorkOrder<\/strong>) from Attribute relationship grid on Work Order Click2Clone Template as shown below.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15234 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/11Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1358\" height=\"767\" \/><\/p>\n<p style=\"padding-left: 30px;\"><strong>b.\u00a0<\/strong>Create Click2Clone Template for \u201c<strong>msdyn_workorderproduct<\/strong>\u201d entity and uncheck attribute \u201c<strong>msdyn_Booking<\/strong>\u201d, \u201c<strong>msdyn_LineOrder<\/strong>\u201d, \u201c<strong>msdyn_LineStatus<\/strong>\u201d.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-15235 size-full\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" title=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/12Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1355\" height=\"701\" \/><\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-15236\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/03\/13Clone-Dynamics-365-Work-Order-along-with-related-records-using-Click2Clone.png\" alt=\"Clone Dynamics 365 Work Order along with related records using Click2Clone\" width=\"1357\" height=\"768\" \/><\/p>\n<p><strong><em>If you won\u2019t uncheck the above said attributes then while creating work order along with the work order product you will get an error.<\/em><\/strong><\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p style=\"text-align: justify;\">Thus you can see how using Work Order you can coordinate and schedule resources and activities with few preventive measures.<\/p>\n<blockquote>\n<p style=\"text-align: justify;\"><strong><em>We would like to take a moment to introduce our new product <a href=\"https:\/\/www.inogic.com\/product\/productivity-pack\/add-manage-schedule-notifications-alerts-4-dynamics-365-crm\" target=\"_blank\" rel=\"noopener noreferrer\">Alerts4Dynamics<\/a> to you. Alerts4Dynamics lets you schedule and manage alerts in Dynamics 365 CRM to notify users about the updates in CRM, due invoices, reminder to send quotes, etc. You can define target audience and send them priority based alerts via pop-ups, form notifications and emails. You can also view the log of read\/dismissed alerts by users and also create alerts for multiple records by defining rules.<\/em><\/strong><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Work order is an entity which is mostly used by Dynamics 365 users as work order has information of what work needs to be done. It is used to coordinate and schedule resources and activities. It can be used for different types of work, such as installations, repairs, or preventive maintenance. A work order can\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2019\/03\/clone-dynamics-365-work-order-along-with-related-records-using-click2clone\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":15237,"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":[7],"tags":[613,617],"class_list":["post-15223","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-click-2-clone","tag-dynamics-crm-clone-record","tag-dynamics-crm-copy-record"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/15223","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=15223"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/15223\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/15237"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=15223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=15223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=15223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}