The error “Please enter a value for Tax Code” is encountered when entering the Item lines in a transaction. The error is caused due to Tax code is auto populated in the Item lines. This can be resolved by enabling a tax preference as follows:
Setup > Accounting > setup taxes >select corresponding subsidiary > mark true ENABLE TAX LOOKUP ON SALES AND PURCHASES