var openSalesOrders = SelectFrom<SOLine>
.InnerJoin<SOOrder>.On<SOLine.orderNbr.IsEqual<SOOrder.orderNbr>
.And<SOOrder.orderType.IsEqual<SOLine.orderType>>>
.InnerJoin<InventoryItem>.On<SOLine.inventoryID.IsEqual<InventoryItem.inventoryID>>
.InnerJoin<INItemClass>.On<InventoryItem.itemClassID.IsEqual<INItemClass.itemClassID>>
.Where<INItemClass.itemClassCD.IsEqual<@P.AsString>
.And<SOLine.openQty.IsGreater<Zero>>
.And<SOLine.operation.IsEqual<@P.AsString>>>
.View.Select(this, "811", "I");
Is there a way to add a GroupBy to the above query to group and sum all sales order lines by Month & Year?
Coming from Python and Django in particular, something similar to Trunc is what I am looking to do.
Does BQL offer anything similar?