AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 11.02.2009, 11:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM: Round Robin Lead Assignment
Источник: http://blogs.msdn.com/crm/archive/20...ssignment.aspx
==============

Some of my customers over the years have used a Round Robin method of assigning leads. So the first lead that comes in goes to Sales Rep A, second lead goes to Sales Rep B, etc. It works well with smaller sales teams that occupy the same geographic territory.  I haven’t encountered one of these customers in quite some time. Fast forward 6-8 or more years, and I got a call from Paul. Paul asked me about the easiest way to assign leads as they come in to sales reps in a Round Robin mechanism.

Back in my early days of consulting, I used to use a product that had a feature called lookup.ini. It was an awesome little utility. One of the hand uses for it was doing round robin lead assignment. My initial thought was to use the lookup.ini… But wrong product for that. So with Microsoft CRM’s powerful workflow engine, we created a very simple engine to assign leads to reps one at a time.

The basics of this are pretty easy. This sample is for inspiration and I would make sure you modified it before you put it in your production servers. :)

1. Create A Lead Round Robin Entity. 

On that entity, create an integer with the name of Lead Assignment. Make the entity visible in the settings area of CRM.  Make a 1:N Relationship with Leads. Don’t make the link visible so you don’t have a bunch of things hanging off the left Navigation area. :)



2. – Create The “Main Workflow”



In the main workflow, you want to update the lead to relate the Lead Round Robin to the Lead. And then you want to do a number of If Statements. If Lead Round Robin = 2, then apply Workflow #2. Do that for each of your sales reps. (So in my example, we have 5 sales reps, so all of the workflows will be identical for each of the reps minus the 5th one.) 



All of the IF statements will end up firing off workflows that we will create. All of the workflows are identical, minus the last one. The last one will in turn reset the counter back to 1 and start the process over again.







This sample will work with Microsoft Dynamics CRM Online or CRM on Premise.

You can download the sample here.

Enjoy!

Ben Vollmer



Источник: http://blogs.msdn.com/crm/archive/20...ssignment.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Полезные ссылки по MS CRM. IgorF Dynamics CRM: Прочие вопросы 60 24.05.2013 16:19
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0 Deployment Scenarios Blog bot Dynamics CRM: Blogs 0 30.01.2009 22:05
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 4.0 Bookshelf Blog bot Dynamics CRM: Blogs 1 22.01.2009 04:46
Microsoft Dynamics CRM Team Blog: Highlight: Available downloads for Microsoft Dynamics CRM Blog bot Dynamics CRM: Blogs 0 05.11.2008 22:05
Microsoft Dynamics CRM Team Blog: Top 14 Microsoft Dynamics CRM Sites and Downloads Blog bot Dynamics CRM: Blogs 0 14.07.2008 13:05

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 17:21.