AG Barr has said it will have to make job losses as a result of a restructuring its sales operations.