Hello,
i have a problem with Patch(source,collection)
This is my SQL datasource

And this is my command for collection in PowerApps
ClearCollect(
colRunSource1,
ForAll(
Table(ParseJSON(OdataLOADER.Run(TextInput3.Text).vystup).body),
{
SampleLabel: Concatenate(Text(Value.WO),Text(Value.Sample)),
Method: Text(Value.Method),
Run: Value(TextInput3.Text),
Valid: true,
WaterVolume:"",
PCEVolume:"",
Remarks:"",
ClientCode:Value.ClientCode,
PreparedBy:"",
OldRecord:"",
NewRecord:"",
ID:""
}
)
);
// vlož číslo řádku v runu ke vzorkům a přidej sloupečky pro poznámky //
ClearCollect(
colSamplesForExport5,AddColumns(
ForAll(
Sequence(CountRows(colRunSource1)),
Patch(
Last(FirstN(colRunSource1, Value)),
{RowNumberInRun: Value}
)
)
Here you can see example with entered values

But i still cannot save whole collection by Patch

I have same columns with same names...
Could anybody help me please?
BR
jakub