Example: Time Related N:M RelationshipAs an example of a time-related n:m relationship we have chosen System : Location. A System can have many locations over time, but one and only one location at any given time. Many systems may be located at a given location. For the relation between Systems and Locations, a new table is required where Systems and Locations are allocated to one another. The primary key of this new table is the combination of the Systems, Locations and period of validity during which a particular allocation is valid. This table defines the relation between Systems and Locations. The System business object has a relation to the SystemLocation relation table, and the Location business object also has a relation with the SystemLocation relation table. These must be defined first using the Relation Wizard.
Now save a new n:m relation by clicking the 'Save' button. If you open the Relation main window again, you can find this new 'System - Location' m:n relation in the list of relations. | |||||