Question 350
A supplier import carries duplicate external keys and must enforce local data validation. The developer recommends the following change: Add appropriate XMLport import validation logic and robust error handling. Which technical explanation most directly justifies it in this case?
Explanation
Correct Answer
XMLport triggers and table validation can enforce business rules during an import instead of blindly accepting external values. It connects the proposed action to the exact failure or requirement—A supplier import carries duplicate external keys and must enforce local data validation. Confirmation would be invalid rows are rejected or logged as specified while valid sample rows are imported correctly.
Incorrect Answers
That mechanism explains why the alternative action—expose the appropriate xmlport request parameters and apply them to source filtering—helps in another case. It does not justify the proposed fix here; xmlport triggers and table validation can enforce business rules during an import instead of blindly accepting external values. The distinguishing requirement is: A supplier import carries duplicate external keys and must enforce local data validation.
That mechanism explains why the alternative action—define an xmlport schema with the correct nested tableelement and fieldelement nodes—helps in another case. It does not justify the proposed fix here; xmlport triggers and table validation can enforce business rules during an import instead of blindly accepting external values. The distinguishing requirement is: A supplier import carries duplicate external keys and must enforce local data validation.
That mechanism explains why the alternative action—configure xmlport text formatting, field delimiter and field separator properties for the file—helps in another case. It does not justify the proposed fix here; xmlport triggers and table validation can enforce business rules during an import instead of blindly accepting external values. The distinguishing requirement is: A supplier import carries duplicate external keys and must enforce local data validation.





Microsoft Dynamics 365 Business Central Developer (MB-820) Practice Tests