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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 03.02.2014, 19:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
emeadaxsupport: AX Content: Email reports to specific people by using tokens
Источник: http://blogs.msdn.com/b/axsupport/ar...ng-tokens.aspx
==============

With cumulative update 7 for Microsoft Dynamics AX 2012 R2, you can email reports to specific people by using tokens. When you use this feature, you don’t have to enter the email addresses of all recipients. Instead, you simply enter a token. The token instructs Dynamics AX to retrieve the appropriate email addresses from worker, customer, or vendor records.

Here’s how it works

Here are the details about how it works:

You can email reports to workers in your organization who have a specific job title

You can use the @@ token to email reports to workers in your organization who have a specific job title. For example, suppose that you want to email the Recruitment Projects report to all workers in your organization who have the job title of Staffing Specialist. In this scenario, you would enter the @Staffing Specialist@ token in the To field when you email the report.

The @Staffing Specialist@ token instructs Dynamics AX to perform the following tasks:

  1. Retrieve a list of all workers who have the Staffing Specialist job title.
  2. Retrieve the primary email address for each worker who is identified in step 1.
  3. Email the Recruitment Projects report to each worker who is identified in step 1 by using the email addresses that are retrieved in step 2.

You can email reports to customers and vendors who have a specific purpose

You can email reports to customers and vendors who have a specific purpose by using the @@ token. In Dynamics AX, contact information (such as email addresses) for customers and vendors has a purpose associated with it. For example, a customer may have an email address where the purpose is Billing and another email address where the purpose is Delivery. Now suppose that you want to email a sales order to a customer. In this scenario, you would enter the following token in the To field when emailing the sales order: @Billing@

The @Billing@ token instructs Dynamics AX to perform the following tasks:

  1. Identify the customer that this sales order must be sent to.
  2. Retrieve a list of email addresses for the customer that have the Billing purpose.
  3. Send the sales order to the customer by using the email addresses that are retrieved in step 2.
For step-by-step instructions about how to insert tokens when you send a report as email, see Print or email a report.

Here’s how you can customize the functionality

If you’re a developer, you can customize the functionality of the tokens by using the SysExtension framework. For example, you can develop an additional customization to retrieve titles from an external address book and send a report to the list of addresses that is retrieved externally.

You can also customize tokens to specify other print destinations by using print management. For example, you can use tokens to specify a printer that is based on location. In this scenario, a token such as @wh printer@ can be used to specify a warehouse printer.

For more information about how to extend tokens, see Customizing tokens for emailing and printing reports.






Источник: http://blogs.msdn.com/b/axsupport/ar...ng-tokens.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
axzaptech: AX2012R2 CU7: Email reports to specific people by using tokens Blog bot DAX Blogs 0 11.11.2013 18:11
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
amer-ax: It was a great day! Blog bot DAX Blogs 3 29.12.2012 01:02
DAX: Official Dynamics AX 2012 R2 Content (update) - Where is it, and how can you find out about updates? Blog bot DAX Blogs 0 03.12.2012 11:11
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 10:43.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.