AX – D365FO – Get Name of a specific vendor #d365fo

To get the Vendor name just use vendTable.vendorName() method.

This retrieves the Party name related to a specific vendor

VendTable    vendtable;
str          name;

select vendtable
where vendTable.AccountNum == '123456'

name = vendTable.vendorName();

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s