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

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




How to get Vendor's or Customer's Contact Person's Contact Information

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


classSLD_DemoInstance
{











publicstaticvoid main(Args _args)
{


ContactPerson contactPerson;
DirPartyTable dirPartyTable;
LogisticsElectronicAddress address;

DirPartyLocation partylocation;


RecId _refRecId= VendTable::find("S00038").Party;
whileselect contactPerson
where contactPerson.ContactForParty==_refRecId
join dirPartyTable
where dirPartyTable.RecId==contactPerson.Party
join partylocation
where partylocation.Party==contactPerson.Party
outerjoin address
where address.Location==partylocation.Location

{

info(strFmt("%1, %2, %3",contactPerson.ContactPersonId,contactPerson.personName(),address.Locator));
}
}



}







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

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
d365technext: Create Contact Person for Vendor Or Customer AX 2012 & D365FO Blog bot DAX Blogs 0 01.11.2018 16:12
d365technext: How to get Vendors or Customer Contact Information Primary & None Primary Blog bot DAX Blogs 0 01.11.2018 16:12
d365technext: How to get Vendors or Customer Contact Information Blog bot DAX Blogs 0 01.11.2018 10:11
atinkerersnotebook: Walkthrough & Tutorial Summary Blog bot DAX Blogs 1 09.09.2013 09: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, время: 07:22.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.