The convening authority shall refer the record of each general court-martial to his staff judge advocate or legal officer who shall submit his written opinion thereon to the convening authority. If there is no qualified staff judge advocate or legal officer available, the State Judge Advocate shall assign a judge advocate officer for such purpose. If the final action of the court has resulted in an acquittal of all charges and specifications, the opinion shall be limited to questions of jurisdiction.
51 Pa.C.S. § 5903