7thstreetweb/intacct-sdk-php-ap-vendor-list

Vendor List Functionality

1.0.0 2021-06-18 20:01 UTC

This package is auto-updated.

Last update: 2024-04-21 21:22:56 UTC


README

Module utilized with Intacct PHP SDK.

Help Wanted

Feel Free to add Additional Filters to this module. At this point there are a very limited number of filters because this Module utilizes the new "Query" syntax.

Example Usage:

    /** @var ClientConfig $clientConfig */
    $clientConfig = new ClientConfig();

    $client = new OnlineClient($clientConfig);

    /** @var CustomerList $accountsReceivableRequest **/
    $vendorListRequest = new VendorList();
    $vendorListRequest->setFields(['VENDORID', 'NAME']);

    $filter = new InFilter();
    $filter->setField('VENDORID');
    $filter->addValue('123456');
    $filter->addValue('789012');

    $vendorListRequest->addFilter($filter);

    $response = $client->execute($vendorListRequest);