Start with a working Infopath to sharepoint form. It has say 5 published fields. These fields are available to workflows for editing etc.
Edit the template to change the submit to sharepoint to be submit to DBXL. Republish template to SharePoint & add to the DAT tool.
Via Dat create mappings to SQL and to SharePoint.
Result at this point is all the published fields are visible but locked! This means that fields as if they were published as read only which sometimes that's what you want but sometimes you NEED fields to be editable so that workflows can edit the fields as needed. Currently all fields will be locked making any edit workflows not work at all, you can't even edit these fields via the edit properties form option manually.
attempted solution: Unplublish each field from then republish each field and update the form to SharePoint and Dat. This worked sometimes for 1 field at a time!!!
Then as I was unpublishing 1 field at a time, republishing, saving to SharePoint and to DBXL I noticed that say the 1 field I finally got to show up again correctly as an editable field is now NOT and the one I was working to get as a published editable field is not also! This is total random madness.
I also noticed that my metadata in the SharePoint List has each field that was "attempted" to be published duplicated!