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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 01.11.2018, 10:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
d365technext: How to get Vendors or Customer Contact Information
Источник: http://d365technext.blogspot.com/201...r-contact.html
==============




How to get Vendors or Customer Contact Information

Via below code you can get the Vendor/Customer complete contact information.

Important
In AX 2012 PrimaryContactLinkedIn & PrimaryContactFacebook fields are not available.

classSLD_DemoInstance
{

publicstaticvoid main(Args _args)
{


LogisticsElectronicAddresslogisticsElectronicAddress;
DirPartyTable dirPartyTable=DirPartyTable::findRec(VendTable::find("K-DR-000001").Party);

whileselect logisticsElectronicAddress where (logisticsElectronicAddress.RecId == dirPartyTable.PrimaryContactEmail ||
logisticsElectronicAddress.RecId == dirPartyTable.PrimaryContactPhone || logisticsElectronicAddress.RecId == dirPartyTable.PrimaryContactFacebook ||
logisticsElectronicAddress.RecId == dirPartyTable.PrimaryContactFax || logisticsElectronicAddress.RecId == dirPartyTable.PrimaryContactLinkedIn)


{
info(strFmt("%1",logisticsElectronicAddress.Description));
}
}



}






Источник: http://d365technext.blogspot.com/201...r-contact.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Dynamics 365 Retail: How to Add Credit Card information on the Customer Receipt Format Blog bot DAX Blogs 0 01.08.2018 05:37
crmtipoftheday: Tip #1065: How to get clean Customer Service trial Blog bot Dynamics CRM: Blogs 0 31.01.2018 07:18
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09:11
emeadaxsupport: How to get more information from an error message Blog bot DAX Blogs 0 09.08.2013 16:11
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
Опции темы Поиск в этой теме
Поиск в этой теме:

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

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

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

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