Skip to main content
Solved

BQL: Aggregate Strings

  • October 17, 2023
  • 1 reply
  • 135 views

Does a Fluent BQL equivalent exist for the STRING_AGG function in SQL Server?

 

I am writing a query over a one-to-many relationship and would like to see a string column from the `many` table concatenated with commas.  Similar to how Customization Projects can display multiple Screen Names in a single cell.

 

Does any one know the best practice for achieving this?

Best answer by RohitRattan88

@skelly 

I am not aware of such BQL function but you could get your list using BQL and then use JoinToString(",") c# function to join those.

View original
Did this topic help you find an answer to your question?

1 reply

RohitRattan88
Acumatica Moderator
Forum|alt.badge.img+4
  • Acumatica Moderator
  • 253 replies
  • Answer
  • October 17, 2023

@skelly 

I am not aware of such BQL function but you could get your list using BQL and then use JoinToString(",") c# function to join those.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings