Hi,
I am having a lot of trouble doing something that should be simple, and I think it has to do with the fact that CDS tries to do everything behind the scenes.
I have 2 custom entities. An Employees entity with various employee details and a Tests entity for various test records, with each employee having multiple records on the Tests entity. So there is a 1-many relationship from Employees (parent) to Tests (child). These two tables are stored in excel spreadsheets.
So how do I get these into CDS custom entities? Conventional wisdom is that I need an index or GUID on the employees, then I join that GUID to the Tests entity. But it seems like CDS is trying to create the GUID behind the scenes and asks me to create a lookup column for the relationship. But how does that lookup column use the GUID from the Employee entity on the Tests Entity, and how does it know on import which records to map to which employees?
If anyone knows how to create custom entity parent-child relationships and import from excel I would appreciate the help.
Thank you