This is like get information from custTable, get vendor information(vendTable) is soo easy too. It will be illustrated on a job below :
static void GetVendorInfo(Args _args)
{
VendTable Vendor;
;
Vendor = VendTable::find("7006");
info(strFmt("Vendor Name : %1", Vendor.name()));
info(strFmt("Telepon : %1", Vendor.phone()));
info(strFmt("Email : %1", Vendor.email()));
info(strFmt("Website : %1", Vendor.url()));
info(strFmt("Primary Address : %1", Vendor.postalAddress().Address));
}
the result of above job is like this :
0 comments:
Post a Comment