PJC Material Return Using different Costing Method


When i do a materials return in PJC it is using the Most recent cost instead of the Average cost set on that item.
Is there something that am doing wrong or a setting that i should change in PJC?

Sage 300 2020