Let’s Get Certified
Module 13 / 19 · Database management and platform security

Choose between inheritance and a reference

Find which dictionary changes propagate through inheritance and which values belong to a referenced record.

Choose between inheritance and a reference

Work through the decision

A specialist task needs the standard assignment, work notes and state behavior plus a laboratory identifier. Its form also needs to show the current department of the requester. Should both requirements be implemented by copying fields?

Check your reasoning

Extend the appropriate base table when the new type truly is a kind of task and should inherit its common structure. Keep the requester as a reference and follow the relationship for current department. Use dictionary definitions to inspect field type and inheritance before introducing a duplicate field.

Watch the source lesson at 1:56:19

Compare the choices

Table extension
Model an is-a relationship. A child table inherits common fields and can define additional ones. Changes to base definitions can reach multiple child classes.
Reference field
Store a link to a record on another table. Resolve a related attribute through that reference when the current value is needed.
Dictionary entry
Define field metadata including internal type and attributes. Examine the owning table and inheritance when evaluating impact.
Unique record identifier
A sys_id identifies a record independently of its display label. Duplicate names make poor record keys.

Predict the effect of a dictionary change

A field defined on Task may appear on several child classes. Inspect inheritance and applicable dictionary overrides before changing it. By contrast, modifying one request's reference to a different department changes that record's relationship only.

Practice the guide skills

  1. Trace a task child table to an inherited dictionary field, then follow a reference to a related record. Explain which change affects every child and which affects one row. Watch 1:56:19

Official objectives for this lesson

Related lesson · Keep the right rows in a join

Knowledge check

Choose between inheritance and a reference quiz

Answer 3 questions. Check each answer for an explanation.