Hi,
I am using 2.6, SelfService.
I want to use a typed list.
I have a base entity EmployeeSchedule with the following columns:
Id
IdFirstShift
IdSecondShift
IdThirdShift
StartDate
I have a second entity Shift holding the shiftdata with the following columns:
Id
Name
...
...
I want to create a TypedList with the following columns:
IdEmployeer = EmployeeSchedule.Id
FirstShiftName = Shift.Name related to IdFirstShift
SecondShiftName = Shift.Name related to IdSecondShift
ThirdShiftName = Shift.Name related to ThirdShiftName
I tried defining a TypedList by adding three Shift entities and then giving each an alias:
FirstShift, SecondShift and ThirdShift
but I cannot get the relations to refer to different Shift entities.
Is it possible to create a typed list like this or should I use an SQL view in combination with a TypedView?
Best regards,
Jan