We enhance some parts and once enhanced they are moved to warehouse ‘B’ (still under the existing part number) and stored there until sold.
I am trying to produce a report from a GI that shows how many parts we have without including the enhanced parts from warehouse ‘B’. To confuse things in this report we also want to show the demand on sales orders across the company including warehouse ‘B’ so I can’t do a standard condition on the GI to exclude warehouse ‘B’.
This is a summary report so one number per part for stock and demand. If it helps all data is coming from InventoryItem and SiteStatusSummary.
How do I do this? I have tried some IIf statements in the GI on the field but I get either 0 or the total including the stock in warehouse ‘B’.