preloader-matrix

Alfasith

Get vendor information in Dynamic AX

Hi,

static void GetVendInfo_Alfasith(Args _args)
{
    VendTable       vendTable;
    ;
    vendTable =  VendTable::find(“1101”); // select the vendor account here
    info(strFmt(“Name: %1”, vendTable.name()));
    info(strFmt(“Telephone    : %1”, vendTable.phone()));
    info(strFmt(“email        : %1”, vendTable.email()));
    info(strFmt(“Website/ blog: %1”, vendTable.url()));
    info(strFmt(“Fax          : %1”, vendTable.telefax()));
    info(strFmt(“Address      : %1”, vendTable.postalAddress().Address));
}

Regards,

Leave a Reply

Your email address will not be published. Required fields are marked *