quickbooks-php icon indicating copy to clipboard operation
quickbooks-php copied to clipboard

Change Data Capture - status (Deleted)

Open krisred opened this issue 5 months ago • 0 comments

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(' &nbsp; ' . $Object->getFullyQualifiedName() . '<br>');
				break;
			case 'Invoice':
				print(' &nbsp; ' . $Object->getDocNumber() . '<br>');
print(' &nbsp;Status -  ' . $Object->getstatus() . '<br>');
				break;
			default:
				print(' &nbsp; ' . $Object->getId() . '<br>');
				break;
		}
	}
}

Any help would be appreciated,

Kris

krisred avatar Sep 27 '24 21:09 krisred