I have sql view for process screen. When I refresh grid. Data not updated. When I refresh page data is updated. How to solve this ?
Answer
sql view not refreshed data
Best answer by jinin
Hi
It appears to be a cache issue. Have you tried clearing the cache and checking if the issue is resolved?
Sample:
public PXSelect<DACName> Records;
protected virtual IEnumerable records()
{
// Clear previous cached data
Records.Cache.Clear();
Records.Cache.ClearQueryCache();
// Re-run the BQL which points to SQL view
return PXSelect<DACName>.Select(graph);
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.