B will have to file a cap-exempt petition for you along w/ COS from L-2 to H-1. They will also need to submit copy of A’s approval notice. If you don’t have that, then you can submit the receipt number along w/ a print-out of online status showing it as approved.
B will have to enter these details in the I-129 form.