Более того, попробовал написать вот так:
Код:
ttsbegin;
loop = _recSortedList.first(table1);
while (loop)
{
table1.selectForUpdate(true);
table1.MarginDocuReceived = NoYes::Yes;
_recSortedList.ins(table1, true);
loop = _recSortedList.next(table1);
}
loop = _recSortedList.first(table1);
//Вот здесь в дебаггере видим, что table1 выбрана для обновления (в Watch Recid = 2323322, forUpdate)
while (loop)
{
table1.update();
//Но все равно вот здесь вылетает та же ошибка
loop = _recSortedList.next(table1);
}
ttscommit;