I only know the basic rule:

before you change your job, make sure you/your attorney send out the h1b transfer application out with a fedex delievery receipt in your hand.