{"id":516,"date":"2015-03-20T12:58:11","date_gmt":"2015-03-20T12:58:11","guid":{"rendered":"http:\/\/www.portatour.com\/blog\/users\/?p=516"},"modified":"2015-03-23T10:21:33","modified_gmt":"2015-03-23T10:21:33","slug":"new-synchronization-settings-in-dynamics-crm-last-customer-call-date-addresses","status":"publish","type":"post","link":"https:\/\/www.portatour.com\/blog\/users\/en\/2015\/03\/20\/new-synchronization-settings-in-dynamics-crm-last-customer-call-date-addresses\/","title":{"rendered":"New Synchronization Settings in Dynamics CRM: Last Customer Call Date, Addresses"},"content":{"rendered":"<p>With today&#8217;s update of portatour\u00ae for Dynamics CRM you get two new synchronization settings.\u00a0Download the update now from our\u00a0<a title=\"Download-Seite\" href=\"http:\/\/www.portatour.com\/dynamics-crm\/download\" target=\"_blank\">download-page<\/a>.<\/p>\n<h2>Initialize Last Customer Call Date<\/h2>\n<p>When you first start to work with portatour\u00ae, you may see customers suggested for a visit who have recently been visited by you. This can be avoided by telling portatour\u00ae the correct date of the\u00a0&#8220;last customer call&#8221; for a customer.\u00a0If you already have this date\u00a0stored somewhere in your CRM, then this new feature makes it easy to\u00a0initialize it.<\/p>\n<p><a href=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-512 size-full\" src=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall.png\" alt=\"\" width=\"541\" height=\"178\" srcset=\"https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall.png 541w, https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-300x99.png 300w\" sizes=\"auto, (max-width: 541px) 100vw, 541px\" \/><\/a><\/p>\n<p>Navigate to &#8220;Settings&#8221; and then to &#8220;portatour\u00ae \u2013\u00a0Administration&#8221; and &#8220;Synchronization Settings&#8221;.<\/p>\n<p>Choose from which entity portatour\u00ae should read the date of the last visit. In the following example,\u00a0we are using a\u00a0date field of the\u00a0\u00a0&#8220;Appointment&#8221; entity. Click &#8220;Edit query&#8221; to create a view and define the filter:<\/p>\n<p><a href=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-Filter.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-513 size-full\" src=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-Filter.png\" alt=\"\" width=\"593\" height=\"234\" srcset=\"https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-Filter.png 593w, https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-Filter-300x118.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/a><\/p>\n<p>In this example I am looking for the date of the last appointment at this customer to use it as &#8220;last customer call date&#8221;. Only appointments\u00a0from the last year should be included, I use the &#8220;Start Time&#8221; field to filter older and upcoming\u00a0appointments out.<\/p>\n<p><em>Hint: Limit the &#8220;last customer call date&#8221; to a time frame which is in a realistic\u00a0relation to the &#8220;call interval&#8221;. For example, using the last year. If you allow\u00a0dates far away in the past, customers who have not been visited for years suddenly become very urgent\u00a0to visit and portatour\u00ae\u00a0will primarily\u00a0suggests to visit these outdated customers before anyone else.<\/em><\/p>\n<p>The view\u00a0must also contain a <strong>criteria relating the entities to an example account <\/strong>\u2013 in the above case, the appointments are related\u00a0to the account &#8220;Koch, Simone&#8221;. You define\u00a0the view\u00a0as a template which works for one account, portatour\u00ae will then apply it to find the correct &#8220;last call date&#8221; for all\u00a0synchronized accounts. You can decide which example customer you use in the filter.<\/p>\n<p>The view must return <strong>exactly one column with date values<\/strong>. Any additional columns with other data types are ignored by portatour\u00ae. I am using the &#8220;Start Time&#8221; column of the appointment, which contains both the time and the date of the visit. To ensure that the latest appointment is picked, I <strong>configure the sorting<\/strong> of the results to sort by &#8220;Start Time&#8221; in &#8220;Descending Order&#8221;. portatour\u00ae will read the date from the\u00a0the first returned row.<\/p>\n<p><a href=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-View.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-514 size-full\" src=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-View.png\" alt=\"\" width=\"404\" height=\"101\" srcset=\"https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-View.png 404w, https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Init-LastCall-View-300x75.png 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/a><\/p>\n<p>Summing up, these are the four requirements to consider when writing\u00a0this view:<\/p>\n<ul>\n<li>Filter using\u00a0one (related) example company.<\/li>\n<li>Limit the results to a realistic time frame in the past, for example the &#8220;Last 1 year&#8221;. Filter out\u00a0future dates.<\/li>\n<li>Exactly one column of type &#8220;Date and Time&#8221;<\/li>\n<li>Sort by the right column and order, typically by a date\/time column in descending order.<\/li>\n<\/ul>\n<p>Click on &#8220;<strong>Validate<\/strong>&#8221; to see\u00a0the last call date portatour\u00ae would use for the example account. Verify that this conforms to\u00a0your expectations.<\/p>\n<p>The same principle applies for initializing contacts\u00a0and leads.<\/p>\n<h2>Selecting the address to synchronize<\/h2>\n<p>Dynamics CRM offers multiple standard addresses for a record. Should &#8220;Address 1&#8221; not be the address visited by field reps, you can use this new setting to instruct portatour\u00ae to use\u00a0&#8220;Address 2&#8221;.<\/p>\n<p><a href=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Addresses.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-511 size-full\" src=\"http:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Addresses.png\" alt=\"\" width=\"543\" height=\"121\" srcset=\"https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Addresses.png 543w, https:\/\/www.portatour.com\/blog\/users\/wp-content\/uploads\/sites\/2\/Dynamics-Synchronization-Settings-Addresses-300x67.png 300w\" sizes=\"auto, (max-width: 543px) 100vw, 543px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With today&#8217;s update of portatour\u00ae for Dynamics CRM you get two new synchronization settings.\u00a0Download the update now from our\u00a0download-page. Initialize Last Customer Call Date When you first start to work with portatour\u00ae, you may see customers suggested for a visit who have recently been visited by you. This can be avoided by telling portatour\u00ae the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm-en"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/comments?post=516"}],"version-history":[{"count":7,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts\/516\/revisions"}],"predecessor-version":[{"id":529,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/posts\/516\/revisions\/529"}],"wp:attachment":[{"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/media?parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/categories?post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.portatour.com\/blog\/users\/en\/wp-json\/wp\/v2\/tags?post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}