Patch(
SOP10100,
First(Filter(SOP10100,SOPNUMBE=SOGALLERY.Selected.SOPNUMBE)),
{CUSTNAME:TextInput3.Text},{CUSTNMBR:TextInput4.Text},{SOPTYPE:Value(DataCardValue15.Text)},
{DOCID:DataCardValue16.Text},{DOCDATE:DateValue3.SelectedDate},{BACHNUMB:DataCardValue18.Text},
{LOCNCODE:DataCardValue7.Text},{CURNCYID:DataCardValue9.Text},{CSTPONBR:DataCardValue8.Text}
);
If I used collection it work fine, but when I wish to direct update current document inside database it come out this error. What does this sql error means?