Leslie Vail offers and option to Record the Bar Code in the Item Code field in Inventory.
Dynamics Confessions Blogspot: Record the Bar Code in the Item Code field in Inventory
Sales, Purchasing & InventoryDevelopment & Integration
Archived post from 2014. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.