Question 240
A custom shipment record accepts arbitrary item codes and produces orphaned records after import. A targeted trial still reproduces the original gap after the team attempted this change: Define the appropriate TableRelation and validation logic on the referencing field. Which repair directly addresses the remaining defect?
Explanation
Correct Answer
Correct the relation or validation trigger on the custom field and retest direct and imported record paths. This directly addresses the remaining defect for the requirement—A custom shipment record accepts arbitrary item codes and produces orphaned records after import. It restores the mechanism described here: a table relation guides valid lookups and validation guards referential business rules at the data entry boundary.
Incorrect Answers
This correction is for the separate condition: A purchasing page must show a live count of linked order lines with appropriate filters rather than an outdated cached integer. It would not directly restore the intended behavior in this situation: A custom shipment record accepts arbitrary item codes and produces orphaned records after import. Here, correct the relation or validation trigger on the custom field and retest direct and imported record paths, because a table relation guides valid lookups and validation guards referential business rules at the data entry boundary.
This correction is for the separate condition: A partner wants to expose a new endpoint by extending a standard API page object with extra entities. It would not directly restore the intended behavior in this situation: A custom shipment record accepts arbitrary item codes and produces orphaned records after import. Here, correct the relation or validation trigger on the custom field and retest direct and imported record paths, because a table relation guides valid lookups and validation guards referential business rules at the data entry boundary.
This correction is for the separate condition: A sales supervisor wants an easily reusable list view for overdue quotes without writing a second table. It would not directly restore the intended behavior in this situation: A custom shipment record accepts arbitrary item codes and produces orphaned records after import. Here, correct the relation or validation trigger on the custom field and retest direct and imported record paths, because a table relation guides valid lookups and validation guards referential business rules at the data entry boundary.





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