it seems the stock type mapping from EWM to ERP is incorrect, maybe also goods movment.
please try to check the configuraton in SPRO-EWM-intefaces-ERP integration - goods movements.
SPRO - EWM - goods receipt - configure availability group
regards
Stanley