73
In the current NAV 2018 on-premises we make use of SQL Command to produce high performing queries and more flexible queries than the current NAV Table and Query objects allow us.
Typical TSQL commands we use are
Like statement
More sophisticated OR statements
inner join
cross apply
union
Date formula's
Intermediate results in TempTables.
Join over different companies
If we want the current functionality written 100% using C/AL code, we have super bad performance, because it will end up in more and more sub queries and nested loops.
Typical TSQL commands we use are
Like statement
More sophisticated OR statements
inner join
cross apply
union
Date formula's
Intermediate results in TempTables.
Join over different companies
If we want the current functionality written 100% using C/AL code, we have super bad performance, because it will end up in more and more sub queries and nested loops.
STATUS DETAILS
Declined
Comments
Poor performance is exacerbated in the SaaS model. Need to use SQL optimized queries wherever possible. Noticed selecting a serial number in Item Reclass Journal takes several seconds.
Category: Development
Business Central Team (administrator)
Thank you for your feedback. We are not considering the suggestion at this time due to the following reason: