Closed manithink closed 2 years ago
Here's a simple Example:
$config = new Intacct\ClientConfig();
$config->setSenderId(/* ... */);
$config->setSenderPassword(/* ... */);
// the rest of the config
$client = new Intacct\OnlineClient($config);
$fn = new Intacct\Functions\AccountsPayable\VendorCreate();
$fn->setVendorId(1);
$fn->setVendorName('Foo');
// more properties (see Intacct\Functions\AccountsPayable\AbstractVendor for all methods available)
// returns instance of Intacct\Xml\OnlineResponse
$response = $client->execute($fn);
// returns instance of Intacct\Xml\Response\Result
$result = $response->getResult();
@manithink , did dhazelett's solution help you in your endeavor? If so, let's close this issue :)
Can you please provide us with the document to create vendor using PHP intacct SDK? We don't see any method to create vendor in below link https://developer.intacct.com/tools/sdk-php/