Hi all, trying to hunt down an issue.
We have this value in our Inventory Item on our Order Verification Report:
=IIf([SOLine.InventoryID]<>Null, Format( '{0}: {1}', [SOLine.InventoryID],[SOLine.TranDesc]),[SOLine.TranDesc])
So far so good.
I duplicated it a few times as we want the item to be formatted with a different color depending on conditions. If it’s an inactive item, format red. Normal item, black. If it has a popup note, format it blue.
Items usually format as they should. But I’m having occasional issues where an item with no popup note is still formatting blue. Here are the visible expressions:
=[InventoryItem.NotePopupText]='' and [InventoryItem.ItemStatus]=’AC’ and [InventoryItem.ItemType]='F'
=[InventoryItem.NotePopupText]<>'' and [InventoryItem.ItemStatus]=’AC’ and [InventoryItem.ItemType]='F'
=[InventoryItem.ItemStatus]<>’AC’
=[InventoryItem.ItemType]='N'
The occasional items that format blue do not have a popup note (=’’), they are active (=’AC’) and are a finished good (=’F’). They should format black, but are still formatting as though the popup isn’t empty (<>’’).
Any thoughts?