I have a code segment in a class method updates the value of a field in a table.
After the update statement, I have a select statement and by using the debugger, I found the data is updated correctly .
After these two statements a run time error is resulted at an insert statement due to conflict with table indexes . when I go to the table I found that the changes performed by update statement are not reflect on the data of the table.
My question is when the transactions performed by X++ code reflected to SQL DB?