/Intacct_Common

Common Filters and Helpers

Primary LanguagePHP

Intacct Common Filters and Helpers

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 **/
    $customerListRequest = new CustomerList();
    $customerListRequest->setFields(['CUSTOMERID', 'NAME']);

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

    $customerListRequest->addFilter($filter);

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