Question 380
An AL extension team encounters the following situation: A bank sends a nested XML file with customer headers and multiple account records. Which technical principle best explains the relevant risk or failure?
Explanation
Correct Answer
The underlying mechanism is that correct nesting is necessary to preserve which child entries belong to each parent. Therefore the developer should model the XMLport nodes and their parent-child relationships to match the document schema. Confirm with: A round-trip import preserves the intended customer-to-account relationship.
Incorrect Answers
The option would apply to “An XMLport exports a decimal amount with the wrong formatting for a third-party processor”. The underlying mechanism is that data exchange must honor precision and representation contracts beyond AL field types. This question instead requires “Correct nesting is necessary to preserve which child entries belong to each parent”.
The related but distinct situation is “An export job writes customer PII into an unrestricted shared folder because a default path was used”. Data interchange must enforce authorization and data protection independently of the serialization format. For the stated problem, “Correct nesting is necessary to preserve which child entries belong to each parent” addresses the central condition.
This alternative addresses the separate case “A distributor adds an optional field to an exchange file and older import mappings stop when it is absent”. Backward-compatible exchange contracts should not require every partner to upgrade simultaneously. The deciding requirement here is “Correct nesting is necessary to preserve which child entries belong to each parent”.