Queryname.run() is not a function


I am using a custom column in a Table with Computed Value as a function I’ve created in a JSObject.

The function runs a query with filter to get only selected rows and perform action (calculate total of queried rows) and return the total.

I’m getting the error Queryname.run() is not a function.

If I make the function async, the error disappears but the computed value is undefined.

@innomalous to access a function in the same file, you can use the this keyword
this.FetchChildItems.data should work