Developer Q&A

Ask a Question
Back to All

How to identify WorkOrder.Customer when getCustomer() is empty?

We are retrieving Work Order data from the API for our accounting automation and usually determine the related Customer from WorkOrder.Customer. However, we have some Work Orders where the Customer field is null but the Work Order is still associated with a Customer as we can see in the "customer / workflow" field.

Can you point out what data element on a Work Order can be used to get the associated Customer when the WorkOrder.Customer field is not populated?

Thanks,
Ed Wirpsza