I am using web connector to communicate with QuickBooks desktop version and on web end I am using consolibyte https://github.com/consolibyte/quickbooks-php. Now I have a use case where I need to work with Customer and Employee custom fields. I am able to insert, update custom fields, all good till now. Here comes the problem, in a consolibyte library we define all actions
$map = array(QUICKBOOKS_MOD_DATAEXT => array( 'employee_custom_field_request',
'employee_custom_field_response',
'customer_custom_field_request',
'customer_custom_field_response'
)
Now if I only need to update employee custom field I will enqueue request
$Queue = new QuickBooks_WebConnector_Queue('mysqli://username:password@localhost/quickbook'); $Queue->enqueue(QUICKBOOKS_MOD_DATAEXT, $id);
so whenever I will run web connector both customer and employee custom fields request & response function will get called, so how should I code to call only particular entity function (Either Customer or Employee) ?? Or is there any way in consolibyte library where we can differentiate between whose call is it ?