quickbooks-php
quickbooks-php copied to clipboard
Change Data Capture - status (Deleted)
Using QBO, - when trying to get status there is no value - api response has deleted items
foreach ($cdc as $object_type => $list)
{
print('<h3>Now showing ' . $object_type . 's</h3>');
foreach ($list as $Object)
{
switch ($object_type)
{
case 'Customer':
print(' ' . $Object->getFullyQualifiedName() . '<br>');
break;
case 'Invoice':
print(' ' . $Object->getDocNumber() . '<br>');
print(' Status - ' . $Object->getstatus() . '<br>');
break;
default:
print(' ' . $Object->getId() . '<br>');
break;
}
}
}
Any help would be appreciated,
Kris