Guys, we had a query working just fine and then we started getting the error StackOverflowError. Has any of you come across a similar behaviour? What does this error mean?

Query profile (5.0 KB)

After having a more detailed look the view “MemRwdFiscalPer” was causing the issue. I had to delete and recreate it again (same logic, same reflection). Maybe the underlining reflection went bad?

Finally, here’s the query profile just for " (3.4 KB)

Can you talk a little bit more about the data source? Managed.da.Base.Epicor.EpicorERP.Erp.FiscalPer