I have an entity named Events (parent entity) which contains the following attributes
- EventID
- EventStartDate
- EventEndDate
which has 1-N relationship with another entity named ChildEvents which contains the following attributes
- ChildEventID
- EventID(lookup)
- EventStartDate(read-only)
- EventEndDate(read-only)
I have written a JavaScript code that auto-populates the EventStartDate and EventEndDate when the EventID is updated.
My question is this:
I have an EventID = "A"
with EventStartDate = "today"
and EventEndDate = "tomo"
and this is added to a ChildEventID = "C_A"
and saved.
I go back to my Events entity and change the start date and end date on EventID = "A"
to something else and save the same.
Now when I open the child event record "C_A"
I do not see the NewEventStartDate and NewEventEndDate being updated automatically.
Am I missing something? Do I have to write a code for it? Because I thought it would get updated automatically.
Note: Both entities are customized entities.