Hello,
ich have an canvas app.
Here i usr a patch function to update the columns changed be the user. But i only want to change the columns specified in the patch function:
If(CountRows(colKostenChange)>0,
ForAll(colKostenChange,
Patch(Kosten,
LookUp(Kosten,Kosten=kostenidGUID,
{
Datum:Datum,
Betrag1:Betrag1,
KostenKategorie:slmr_KostenKategorie_Kat,
Betrag2:Betrag2,
Betrag3:Betrag3,
Beschreibung:Beschreibung
}
)
);
Notify(
"Succes",
NotificationType.Success)
)
This works fine. But all columns in the table that i do not mention here are set to null.
How can i only change the columns i want to?
Also i have set some columns to business required, but the user can still enter records where the colums have no values.
Is business required not the same as "not null" in a "normal" database?