Hey guys,
I'm having a problem with DataVerse, especially with the idConclusaoMonitoramento column (automatic numbering).
First of all, I imported data into my table, and now I want to use the app to insert more data, but it returns a conflict error with the idConclusaoMonitoramento column.
code:
Patch(
tbConclusaoMonitoramento;
Defaults(tbConclusaoMonitoramento);
{nmConclusaoMonitoramento: Trim(TextInput2_5.Text)
}
)
error text:
Conflicts with server changes.
Reload.
Server Response: tbConclusaoMonitoramento failed: A record containing the idConclusaoMonitoramento attribute values already exists. The AKidConclusaoMonitoramento entity key requires that this set of attributes contain unique values. Select unique values and try again.
Apparently it does not recognize the numbers already registered and generates conflict, as this column is automatic numbering, I imagine that I would not need to inform the id number in Patch.
I tested it with a table without data, and it worked correctly, I imagine the problem is with the tables with data import.
the registry update works, the problem is with the registry creation.
Thanks,

Report
All responses (
Answers (