Download - ECD Construction Example
![Page 1: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/1.jpg)
ECD Construction Example
From Weaver
![Page 2: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/2.jpg)
Start off with…
• The ERD (or extract of) the system
Delivery Delivery Slot
Delivery LinePurchase Order
Line
![Page 3: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/3.jpg)
Step one
• Identify all data entities which are effected by the event (in this case “Arrange Delivery”) – use the effects from the ELH and/or EEM. Also define the entry point (“Delivery”)
Delivery Delivery Slot
Delivery LinePurchase Order
Line
![Page 4: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/4.jpg)
Step two
• Identify simultaneous effects for the event in question – i.e. effecting more than one occurrence of data entity in different ways . This would give rise to a separate box for each entity role.
Stock[merged]
Stock[resulting]
Please note:This is a disjointexample taken from anotherLDM
![Page 5: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/5.jpg)
Step three
• Identify where an event affects a data entity in one or more mutually exclusive ways – add these effects as options under the data entity. These can be discerned from ELH roles listed in round brackets.
Delivery
Existing Newo o
![Page 6: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/6.jpg)
Step four• Identify data entities affected iteratively (i.e. repeatedly) by the
event.
Delivery
Existingo
Newo
Set ofDelivery lines
Delivery line*
Set ofDelivery slots
Delivery slot*
Purchase Orderline
![Page 7: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/7.jpg)
Step five• Identify one-to-one effects and connect with double-sided arrow
lines. The question to ask for each entity is…For each affected occurrence of this entity, is there a directly related occurrence, or set of occurrences) in any of the other entities that is also affected by the event in question?
Delivery
Existingo
Newo
Set ofDelivery lines
Delivery line*Set of
Delivery slots
Delivery slot* Purchase Order
line
![Page 8: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/8.jpg)
Step six• Add non-updated data entities (none in this example, but…)
Delivery
Existingo
Newo
Set ofDelivery lines
Delivery line*Set of
Delivery slots
Delivery slot* Purchase Order
line
ProductImagine if we required product detailsOne every delivery line (hypothetical)
![Page 9: ECD Construction Example](https://reader036.vdocuments.net/reader036/viewer/2022083006/56813b26550346895da3e4ab/html5/thumbnails/9.jpg)
Step seven (last step)
• List the event data at the ECD entry point. Include entity key and any data fields required for update.
Delivery
Delivery ID Slot ID P.O. No. P.O. Line No. Quantity : :
::::