Hello,
I have created collection form my Dataverse table.
ClearCollect(MySales,salestable_A)
I made a excel like editable gallery.
That is working well. My gallery update MySales correctly.
My gallery is made to edit like excel and also to add a data form my item tabe.
What I would like to do is to Patch(Update) MySales data to my Dataverse table "salestable_A".
Following formula is to Update "salestable_A" but this is not working.
I have red line form ForAll and to the end.
Can somebody advice me what is wrong on my formula?
If(!IsBlank ---
is to update "salestable_A".
I need to create to add new one also but I would like to solve update first.
ForAll(
MySales,
If(!IsBlank(ThisRecord.salestable_A_id),
Patch(salestable_A,
ThisRecord,
{cr9d1_qty: ThisRecord.cr9d1_qty,
cr9d1_price: ThisRecord.cr9d1_price
}
)
));