Skip to content

Change Data Capture - status (Deleted) #333

@krisred

Description

@krisred

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions