When using an TXDataWebConnection and an TXDataWebDataSet when I post the data it updates screen daatabase controls but does not post it to the remote server.
What else do I have to do to get it to update the server database?
First - From XDataServer make sure you have DefaultEntitySetPermissoins set properly [Post, Delete, Update etc...]. This used to be automatically set but for security concerns you have to now set it.
You already found your CORS issue.....
Second - The datasets are handled like normal in that the Post is called when datasets are updated. However this only happens locally to the data at the app/client side. In REST environments you have to tell you app to post/push those changes to the server. For this I added TXDataWebDataSet.ApplyUpdates to my AfterPost Event which pushes the data to the server after edits.
Start there and post back. One of the TMS Team will jump in if you have troubles.
Note for above - I assumed your UserID was a string. You can adjust the query as needed. Numeric values are perfectly acceptable in the QueryString if they are in fact numeric. In that case I'd suspect the failed filter was because of CompanyName.