There's more...
It would be a nicer interface if we could have the Odometer field on the vehicle form, which would require us to mix a non-date effective table with a date effective table. The HcmWorker table is a great example of this.
To implement this pattern, we would first add ConWHSVehicleTableServiceData to the ConWHSVehicleTable form, joined to the ConWHSVehicleTable data source as an Outer join. Modify initValue of ConWHSVehicleTableServiceData in order to default VehicleId.
Create a field group in a suitable place and add the Odometer field.
So far, there is nothing new. Next, we will need to construct the date effectiveness controller, but control the child data sources. This is done by subscribing to delegates on the controller. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access