dtls.selectedParent cannot be resolved or is not a field

Symptom:
Compilation error in generated code: dtls.selectedParent cannot be resolved or is not a field
Cause:
The "selectedParent" association between the <EvidenceEntity>Details struct and the ParentSelectDetails struct is missing. The ParentSelectDetails is present and the association between this and the entity details struct is necessary if the entity is a child of another evidence entity.
Solution:
Create an association as described between the two structs. See Asset Entity and Aggregations for more details.