Skip to main content
Solved

Split subaccount in generic inquiry

  • February 28, 2025
  • 3 replies
  • 34 views

Hello All,

First time user of this platform!

I have a two segment subaccount each with two numerics like this 02-08 and need to create a generic inquiry that contains first two numerics of the first segment and the GL account number without the second segment.

For example, current subaccount string with GL account is 02-08-6115, I need the GI to show just 02-6115.

Would really appreciate help with this.  Many thanks!

Best answer by BenjaminCrisman

@LindaC You can actually reference the individual sub segments:

So one option would be to just concatenate them together:

=Concat([Sub.SubCD_Segment1],'-',[Account.AccountCD])

 

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

3 replies

ejmillar
Varsity II
Forum|alt.badge.img+1
  • Varsity II
  • 60 replies
  • February 28, 2025

You can use the LEFT and RIGHT string functions.

Left(GLAccount,3) - will return first two digits and dash.

Right(GLAccount,4) - will return last 4 digits.

You can then pull it together like this Left(GLAccount,3)+Right(GLAccount,4)


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 706 replies
  • Answer
  • February 28, 2025

@LindaC You can actually reference the individual sub segments:

So one option would be to just concatenate them together:

=Concat([Sub.SubCD_Segment1],'-',[Account.AccountCD])

 


  • Author
  • Freshman I
  • 1 reply
  • March 1, 2025

@BenjaminCrisman THANK YOU - this is exactly what I need.  Really appreciate you and ​@ejmillar both taking the time to respond.

I’ll be certainly using this forum again :-)

 


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