We are using Dynamics AX 2012 R3 CU9
We are trying to execute a DIXF import with "Directory" option and setting up the inbound, inprocess, completed and error folders for an dixf import. We are also setting up multiple threads (32) for the import. The import size for test is small (377 records). DIXF is allocating 11 records per thread during execution. Here is the problem
(a) The batch completes with a status of "Ended"
(b) Only 1 task completes successfully and the rest are in Error with the message "File not found"
On investigation, we found the first tasks inserts 11 records and then moves the file to "Completed" folder. Now the file is not available for rest of the tasks and they fail with "File not found" error. This issue seems so fundamental that it is difficult to believe this problem has not be reported or no one else has faced this issue.
Can anyone please help me understand
1) Why is DIXF reporting the batch as "Ended" even though some of the multithread tasks have failed?
2) Why is DIXF moving the file when all the tasks have not completed?
Did anyone face this issue or have any solution. Please let me know if more explanation is needed.