AX 2012 R2 AIF XML Customer create with 47000 message in one message set

Hi All,

I have created a inbound port with file system adapter. I have a XML message set file with 47000 customers. I want to create these customer, hence when i put this file for processing i get the below error in the exception log.

Cannot select a record in Party relationships (DirPartyRelationship). Name: 0.

Deadlock, where one or more users have simultaneously locked the whole table or part of it.

Note: I have the parallel processing enabled on the port.

Also there is only one batch AOS.

Also i have seen the AIF macro and wanted know if any changes for the below would help me.

#define.MaximumInboundParallelMessages (1000)

#define.MaximumOutboundParallelMessages (1000)

#define.MaximumMessagesPerBatchTask (100)

#define.MaximumMessageSetsPerBatchTask (10)

Thanks in advance.

I am facing similar issue at one of my client

is it a transaction locking ? is it possible that AIF internally collapses or hickups at handling paraller requests and leaves a transaction open ? In my case, records (single) are saved successfully from UI (Product Creation / Release)