I’m trying to group in a GI by Lot/Serial Number for Stock Items, however, there are a few items without a serial number, and these are all being grouped together, despite being different lines (this is not a issue on Inventory Valuation for some reason.) Is there some way to do a conditional grouping? I tried =iif([InCostStatus.LotSerialNbr] <> ' ', [InCostStatus.LotSerialNbr], null) but the grouping happens even if the field is blank. Is there some way to do this?
Answer
Conditional Grouping in GI
Best answer by MichaelShirk
Maybe try this?
=iif([InCostStatus.LotSerialNbr] <> ' ', [InCostStatus.LotSerialNbr], CStr([InCostStatus.CostID]))
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.