Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

How to disable data validation for Data Management Import

$
0
0

We are using the Data Management framework. here are what we did:

  1. Via Data Management Export, data for various entities are saved
  2. now one of records is lost ( in testing, we just deleted the record at the front end GUI)
  3. use the data exported at step 2 to constructed a Data Management Import package
  4. generally during import, we would face various import errors due to validation. such as we would get error like the following when importing "Storage Dimension Groups" and we are not sure how to fix this right now:

    Results. Mandatory dimensions must also be coverage planned.

    Results. validateWrite failed on data source 'EcoResStorageDimensionGroup (EcoResStorageDimensionGroup)'

  5. In theory, the data is backup of what's originally at the system, is there a way to temporarily disable ValidateWrite before import and re-enable post import?

from this link https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/data-entities/validations-defaults-unmapped-fields, it seems that there is some way to disable validation on whole entity and fields, however we don't know how to construct the DataEntityRuntimeContext.  Any suggestions for above specific entity or generally how to solve this problem?

Thanks very much ahead for your insights. 


Viewing all articles
Browse latest Browse all 143529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>