Hi,
I have an issue with a lookup field in CDS.
A store is managed with an user. Every user is stored in CDS in the "Users" entity.
I try to use this function:
collect(Stores;{
Store_Name;"My store";
User_in_charge:lookup(Users;'full name'="Brian Singer")})
The system says that it needs a data entity and the type I try to insert is not compatible. I tried with the GUID but nothing works at all.
Can someone help me?
Kind regards
Hi, I found the solution replacing collect() by update().
Thank you for your time
Hi, thank you for your time, I don't understand why it does not works at all:
this is my User in charge filed in CDS:
And I tried your code (the same as my) and I have this error:
I don't understand.
Please help me
I'm not sure whether it is a clerical error or something, but could you please modify the formula as follows
Collect(Stores;{Store_Name:"My store";User_in_charge:LookUp(Users;'Full Name'="Brian Singer")})
In my test, this codes can work well, could you have a try to check if the issue is fixed?
Sik
stampcoin
17
mmbr1606
15
Super User 2025 Season 1
ankit_singhal
11
Super User 2025 Season 1