If each "company" did a Manual Check from AP and then a Cash Receipt in A/R for the same amount ( 30,000 ) and then "cleared" the check I think you would end up with the result you wanted.