How to Get Vendor(Supplier) Information

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",;
    info(strFmt("Telepon : %1",;
    info(strFmt("Email : %1",;
    info(strFmt("Website : %1", Vendor.url()));
    info(strFmt("Primary Address : %1", Vendor.postalAddress().Address));

the result of above job is like this :

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.