Transfer order receive error using custom service in AX2012 Feature pack

Hi There,

We have new service for transfer order receive process where line items will be registered and received.

We are getting error “Cannot receive quantity [number] because inventory transactions with status ordered, arrived or Registered are insufficient” for specific scenario where item is received with multiple batch number.

Inbound AIF file contains item details with dimensions Site, WH, Location, Batch and Pallet, whenever item is received with multiple batch number, it throws above error event if transaction shows required items with reserved transaction.

Kindly help.

Thank you.