Company Setup, check or uncheck Include Incoming Qty.
...
When create/update items, if Main Available + Spare Available > 0, Non sellable = false, or true,
If Include Incoming Qty. is checked,
if Main Available + Main Incoming Qty + Spare Main + Spare Incoming Qty.> 0, Non sellable = false, or true
...
Then schedule the routine again.
...
.