Practical conclusion:
Generic case: No closed-form analytic antiderivative in elementary or standard special functions.
Only in special parameter regimes (t=0 ,B=0, or fine-tuned constants) does a closed form exist.
Otherwise: One must use numerical quadrature, or asymptotic / perturbative approximations.