AP invoice Header charges (header charges epicor not picking GL code from header)

we created AP invoice with different header charges, but in header charges having issue with picking GL code.
for first charge system picking gl code from header, for 2nd header charges need to selected gl code manually.
please suggest on this issue