If it is with in a week you can transfer A to B.
More than a pay period, only proof that you are in H1 status is pay stub from company A.
If you do not have pay stub from A, then you are out of status and not eligible for H1 transfer, however your H1 may be approved and again you need to go...