General X++ Development
What is the difference between `queryValue()` and `SysQuery::value()`?
What is the difference between queryValue() and SysQuery::value()?
1 answer
Write an answerFor normal day-to-day range values, both are commonly used to format a value correctly for a query range.
range.value(queryValue('US-001'));and:
range.value(SysQuery::value('US-001'));solve the same basic problem.
I normally use whichever style is already consistent in the codebase I am working in. There is no benefit in mixing both styles in the same class just for the sake of it.
Know the solution?
Sign in to contribute an answer and build your community reputation.
Sign in to answer