Note:
The data connection method xfa.sourceSet.DataConnection.next looks up a table and updates the table if the data has changed. It uses the hasDataChanged method to determine whether the data has changed.
sourceSet Model

next