Skip to Content
Jul 13, 2020 at 08:34 AM

UDO based form giving message 'Unsaved data will be lost' when navigation



We have a new form designed in B1 studio and in the form there is a matrix. This matrix is binding to DBDatasource and one column is using UserDataSource.

As we have a UserDatasource column, when user finds an existing doc, we need to load the values manually to the matrix. for this we are using the event Matrix Load after. We need to also add a new line to the matrix (and flush to datasource) in this case.

The issue is, now the system is showing the 'Unsaved data will be lost' prompt when navigating through records. How can we control this?