Previous Topic: Example of Redirecting Qualifier Fields

Next Topic: Procedures for Working with Entries

Example of Redirecting a Reference to a Qualified File

When pricing orders, you always want the current price to be used. If product prices do not change every day, each product price record represents not an individual price on a particular day, but a price that is current over a period. When retrieving a price record you do not necessarily retrieve a record exactly matching the date; instead, you want the nearest record. To achieve this, redirect the qualifier reference, using the Display Relation Entries panel. To access this panel, place E0 against the Refers to relation on the Edit Database Relations panel. The following is a sample Display Relations Entries panel.

Fields may only be redirected to other fields on the access path that are of the same field type; for instance, both DT# fields.

If Order date is redirected to Effective date, at execution time: