Reprogram cost

How much would a dealership cost to reprogram my bmw after a shop installed a transmission?