Hi @Javier_Gonz,
Do you want to patch the whole text field or a value in the text field in a collection to a Dataverse LookUp field?
Could you please share a bit more about the scenario?
Actually, if you want to patch a collection to a Dataverse table, you should ForAll the collection rather than the table.
In addition, I want to explain to you that since you have a related table to the Tabla1, the text field from the collection should be totally same as the Text field in the related table.
However, from your description, you should want to patch a specific value to the lstReferencia, right?
If so, I think you should remove the ForAll(), please take a try as below:
Patch(Tabla1;
Defaults(Tabla1);
{
lstReferencia:LookUp(pr_Productos;Referencia=ThisRecord.ReferenciaE); // A specifc value
cr043_precinto: ThisRecord.Precinto;)
}
))
Check if it could help you.
If this could not solve your issue, just feel free to tell me that if you want to patch a value or a whole field to a Dataverse LookUp field.
Regards,
Qi