App Studio Events, DataViews Question

I have a custom event that triggers from Order Entry after OrderHed.CustomerCustId is changed, I want to access the related table Customer (CustId relationship) to use a field from Customer in a Condition.

Since the Customer Dataview is in the list of DataViews I thought thought this would be easy, but when I try it I get an exception on “Customer not found”

Looking at the DataViews in debug/trace I now see that the Customer table has ZERO records
(there is a OrderHed.CustomerCustId populated)

Confused why this would be, thanks

I plan to use erp-rest action to do a Customer.GetByID passing the resulting desired field from the response to my condition…I guess that’s the proper solution…

There may be another event after that populates the dataset.