trying to get from an entity to a customer record internal id (in order to load a customer record and check if they have an email address entered), anybody know how I might do that?
or is the customer internal id available outright on the sales order?