Hi All,
This is a multiple question post -
We are using Data import Export Framework in Dynamics Ax 2012 R2.
1. While importing data for an entity we have ticked the Run Business Logic in Insert or Update and Run Business Validation. However we find that only ValidateWrite method of the corresponding table is fired. There too we are observing that if the validation fails it is not being reported as an error. It is simply appearing in the log section as entry with the actual message raised in checkfailed method in validatewrite. I was expecting the validate failure should mark the records as errored out so that these can be reprocessed. I was also expecting the errors to be displayed clearly so that these can be identified and fixed. However I donot see either happening. Am I missing anything?
2. The results of an import run is appearing in a small information window in the execution history under Error Log (log text view). If we process millions of records and if say one thousand of them fail due to validation failure it would be very difficult to analyze the result in this small window. Doesn't the framework have any better way to view and analyze the run results?
3. In the above run I donot see the View Error File option enabled in Error log window (from execution history) even though there are records not inserted due to validation failures in validatewrite. Is this normal behaviour?
Appreciate any guidance on the above and if possible any tips on DIF validation and error handling best practices
Thanks Shas