I have an unbound DAC that I’m using to display ARSalesPrice records in a grid in a pop-up screen. It works fine.
The SalesPricesView view I’m using for the grid uses a public IEnumerable routine to collect and populate the view.
After .Inserting the records into the view, I call SalesPricesView.Cache.IsDirty = false;
When the pop-up screen is closed, I call SalesPricesView.Cache.Clear();
Now when I try to save the order and I’m calling the base Persist I get this error:
The table schema of the MyDACTable table was not found in the cache. The table is locked by another process. Please try again later.
MyDACTable is made up of all Unbound fields and has the sPXVirtual] attribute. The view definition is:
public PXSelect<MyDACTable> SalesPricesView; I don’t why Persist would care that the MyDACTable table was in the cache since it isn’t being asked to save anything.