There are times when Wellscribe is missing some WSM data. This could be a completion, a well, a job, an event, or some other data that is expected to be in Wellscribe. What could cause this to happen?
Before we answer that question, we need to discuss how data is brought across from WSM to Wellscribe. WSM data is sent to Wellscribe on a delta basis, so only the data added, modified, or deleted since the last successful sync will attempt to be brought across each time the servers sync. For example, assume a successful sync occurs at 1PM. The next time a sync is attempted for the server, then it will only attempt to bring across data that has been modified after 1PM. Wellscribe brings data across in a specific order because there is subsequent data that is dependent on the other data being there. For instance, jobs are transferred before events because there may be new events looking at new jobs. These events would fail if the job they are referencing is not in the Wellscribe database. In the event that there is more than one of specific object (5 jobs) being sent across and one of those objects fails for whatever reason (say the second job), the remaining objects will not even attempt to be sent across (jobs 3,4, and 5 will not even attempt to be sent across) and the entire sync will be marked as a failure. All objects that were attempted to be sent across will be sent again in the next sync.
With this knowledge in mind, the most common reason WSM data might be missing from Wellscribe is that a it is missing data that is being referenced. For instance, if a trucking unit is added to a WSM database and a job is added that is referencing that trucking unit but the trucking unit is not added to the Wellscribe Master database, then the sync will fail and the job will not be accessible because Wellscribe is not aware of the new trucking unit that the job it tries to bring across is referencing. All events on this job will also fail because the job they are referencing is not in Wellscribe.
Another reason that WSM data might be missing from Wellscribe is that it might be intentionally filtered. In Wellscribe Admin, an administrator can filter the jobs brought across based on their type and status.
If the server is successfully syncing but data is still missing, then you can simply update the WSM object to make it sync again. You can modify it, commit it to the database, and modify it back to its original value, and it will still attempt to sync the data again.
If the server is not successfully, then you would need to look at the logs to figure out why it is failing to successfully sync. Search for items with "SyncManager", then find the server that is failing.