Re: RMS What is the benefit of making items INACTIVE
Hi Danny,
Here's a couple of things you need to know:
1. LastSold is not a good field to use in your query - use LastUpdated instead. LastUpdated is updated when you receive as well as sell an item - your query will make new items inactive that have not yet sold, and may be sitting on the shelf. If you think quantity > 0 will take care of that, you're pretty trusting. But I would leave it in there, altered to quantity <> 0, as you do not want to inactivate items with a negative quantity (doesn't hurt anything, just not good practice).
2. Inactive items are not automatically filtered out of reports - you have to use the filter "Inactive = No". That filter exists by default in some of the RMS canned reports, especially the Item reports. If you remove this filter, inactive items will show up.
3. The description and alias fields are already indexed.
4. Although you want to filter inactive items from inventory reports, you do NOT want to filter them out of Sales Reports. After all, you sold them - don't you want to show that information?