When you've sold some of your barrels or deemed them no longer fit for use, you can use a Barrel Treatment in vintrace to set them inactive and prevent them from being used.
Creating a barrel treatment
The first step is to create a treatment in Winery Setup > Treatments > Treatment (Barrel) and then click New Barrel treatment. The important part is to make sure you select Deactivate barrels when used under the Deactivate/Reactivate Options. You can also create a treatment to reactivate barrels if required, by following these same steps.
Using the barrel treatment
To apply this treatment to your barrels you can either schedule it on a Work Order or use Operations > Treatments > Treatment (Barrel). Select the Treatment you created in the step above and then click Add to enter your barrels.
This will take you to the Barrel Search where you can select multiple barrels depending on your criteria. Once your Barrel List is populated you can then Save and these barrels will be marked as inactive and no longer available for use.