How to validate all records before DIXF import?

Hi Experts,

I have requirement to reject the entire file if there is any error even in single field of a line during DIXF import.

As per standard framework its accepting the valid lines and throwing warning for the invalid Line. How do I achieve this?

Hi,

So do you want to have this validation while importing in staging?

yes Anitha.

You can include the validation in “DMFEntityBase” class in “CopyTargetToStaging” method.

You can validate the staging records while inserting and then based on the result you can abort or continue.