kylejones's Profile
Rookie
5
Points

Questions
1

Answers
1

  • Rookie Asked on July 12, 2022 in SuiteAnalytics.

    In Netsuite 2022.1, when I run the following query using the N/query.runSuiteQL() function, I am able to get results successfully.  I’m not sure if this also works with SuiteAnalytics Connect.

    SELECT
    
    LISTAGG (tranid, ',') WITHIN GROUP(ORDER BY tranid) AS document_numbers,
    
    trandate AS date
    
    FROM
    
    transaction
    
    WHERE
    
    rownum < 10
    
    GROUP BY trandate
    

    It would appear that there is a character limit on each result, although I’m not sure what it is. I would recommend starting with a small number of results to make sure your formula works and then increasing the results from there.

    • 3712 views
    • 2 answers
    • 0 votes