Wednesday, August 15, 2018

Get vendor primary contact number in ax 2012 x++

Hi,

Please is the code for vendor primary contact number.


LogisticsElectronicAddress logisticsElectronicAddress;
DirPartyTable dirPartyTable;

select firstOnly logisticsElectronicAddress where logisticsElectronicAddress.RecId == DirPartyTable::findRec(VendTable::find(‘V00097′).Party).PrimaryContactPhone;

info(strFmt(“%1″,logisticsElectronicAddress.Description));
Share this:

No comments:

Post a Comment

What is the primary purpose of using a Solution in Microsoft Power Platform & ALM?

As organizations embrace low-code development with Microsoft Power Platform , it becomes essential to manage and govern apps, flows, and dat...