I have created a filter field (type string) in the SalesQuotationListPage form, linked to a method in the SysQueryRangeUtil class.
The filter field receives a PurchRFQId value, and then returns a string, containing the QuotationId's that are linked to the PurchRFQId.
This is straight from the textbooks, but when ever I enter a value in the field, it either crashes or returns this error:
I have tested the method on SysQueryRangeUtil, and when I enter a PurchRFQId value, it finds the correct QuotationId, and returns this.
Any ideas if the FilterExpression only works when receiving an enums? This seems to be the case, all the places I have found, where it is used.
Found the solution myself... which was to put single quotation marks around the %1 in the FilterExpression on the filter field.
(salesQuotationListPagePurchRFQIdFilter('%1'))
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156