I have to read a CSV file with Supplier prices, and i would like to do some validation/filtering of the data when i read the into the staging tables.
As far as i can tell i am reading the records into the table DMFPriceDiscAdmTransEntity, using the Class DmfPriceDiscAdmTransEntityClass.
Now my CSV file contains some records that would not be valid in AX, in some cases the vendor or item id does not exist in AX, and also in some cases the price for the line is the same as in AX, so i also do not want to read those lines.
Where should i put in my code to filter the records?