If you enable SN Warehouse Tracking then you cannot optionally enter serial numbers.
With Serial No Specific Tracking enabled to you can specify which transactions (Inbound and Outbound) that require a Serial No.
If you want optional tracking you can enable it for one of the transactions in the Item Tracking Code and assign it to the item. This will allow you enter a Serial No. on transactions, but not require it other than the one enabled.