Skip to main content
Question

Grouping by the first two characters of ItemClass fails in Acumatica Report Designer

  • April 10, 2026
  • 1 reply
  • 8 views

Forum|alt.badge.img+6

Our Item Class has two levels, for example: 01-01, 01-02... 10-01, 10-02, 10-03... 90-01, 90-02.In reality, there are spaces in the value, the actual format is like 01 -01, 01 -02, etc.

In the Report Designer, I want to group data by the main Item Class. I used this expression in the Group settings:=Left(Trim([InventoryItem.ItemClassID]), 2)

Strangely, most Item Classes are grouped correctly, but 01-01 and 01-02 are still split into two separate groups.

Moreover, I tested the condition Left(Trim([InventoryItem.ItemClassID]), 2)='01' and it returns True for both records, which is very odd.

What is the cause of this issue? Or if I need to group by the main class, what other methods can I try?

1 reply

Forum|alt.badge.img+2
  • Jr Varsity I
  • April 10, 2026

@ray20 Based on the information you have provided, I don’t see anything obviously wrong. Do you have any other groups or other conditions on the group you are using?

A few things I would suggest trying would be to try to replicate this in a GI, to give you more visibility on the values you are working with. You could also try joining to the Item Class table and use the ItemClassCD instead, but typically in report designer the ID should suffice.