Показать сообщение отдельно
Старый 01.11.2018, 16:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
d365technext: How to get Vendors or Customer Contact Information Primary & None Primary
Источник: http://d365technext.blogspot.com/201...r-contact.html
==============




How to get Vendors or Customer Contact Information Primary & None Primary



Via below code you can get the Vendor/Customer complete contact information (Primary & None Primary).

LogisticsElectronicAddresslogisticsElectronicAddress;
DirPartyLocation dirLocation;
DirPartyTable dirPartyTable=DirPartyTable::findRec(VendTable::find("S00038").Party);

while select logisticsElectronicAddress
join dirLocation wheredirLocation.Location==logisticsElectronicAddress.Location
&& dirLocation.Party==dirPartyTable.RecId
{
info(strFmt("%1",logisticsElectronicAddress.Locator));
}

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