{"action":"created","issue":{"url":"https://api.github.com/repos/xtuple/xtuple/issues/2128","labels_url":"https://api.github.com/repos/xtuple/xtuple/issues/2128/labels{/name}","comments_url":"https://api.github.com/repos/xtuple/xtuple/issues/2128/comments","events_url":"https://api.github.com/repos/xtuple/xtuple/issues/2128/events","html_url":"https://github.com/xtuple/xtuple/issues/2128","id":54810777,"number":2128,"title":"Error when attempting to map for a migration with CVSimp","user":{"login":"comtineo01","id":9354298,"avatar_url":"https://avatars.githubusercontent.com/u/9354298?v=3","gravatar_id":"","url":"https://api.github.com/users/comtineo01","html_url":"https://github.com/comtineo01","followers_url":"https://api.github.com/users/comtineo01/followers","following_url":"https://api.github.com/users/comtineo01/following{/other_user}","gists_url":"https://api.github.com/users/comtineo01/gists{/gist_id}","starred_url":"https://api.github.com/users/comtineo01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/comtineo01/subscriptions","organizations_url":"https://api.github.com/users/comtineo01/orgs","repos_url":"https://api.github.com/users/comtineo01/repos","events_url":"https://api.github.com/users/comtineo01/events{/privacy}","received_events_url":"https://api.github.com/users/comtineo01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-19T20:51:37Z","updated_at":"2015-01-19T21:03:30Z","closed_at":null,"body":"I'm an accountant, not an IT/Coder, so dumb it down for me please. IT guy insists it's not a problem with the database, but I can't find the issue to fix in the CVSimp tool for the life of me.\r\n\r\nGetting this error when I try to map/import the customer or vendor api's.\r\n\r\nERROR Record 1: ERROR:  ReferenceError: XT is not defined\r\nDETAIL:  uuid_generate_v4() LINE 7:   return XT.generateUUID();\r\nQPSQL: Unable to create query"},"comment":{"url":"https://api.github.com/repos/xtuple/xtuple/issues/comments/70560202","html_url":"https://github.com/xtuple/xtuple/issues/2128#issuecomment-70560202","issue_url":"https://api.github.com/repos/xtuple/xtuple/issues/2128","id":70560202,"user":{"login":"andersdd","id":4682742,"avatar_url":"https://avatars.githubusercontent.com/u/4682742?v=3","gravatar_id":"","url":"https://api.github.com/users/andersdd","html_url":"https://github.com/andersdd","followers_url":"https://api.github.com/users/andersdd/followers","following_url":"https://api.github.com/users/andersdd/following{/other_user}","gists_url":"https://api.github.com/users/andersdd/gists{/gist_id}","starred_url":"https://api.github.com/users/andersdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andersdd/subscriptions","organizations_url":"https://api.github.com/users/andersdd/orgs","repos_url":"https://api.github.com/users/andersdd/repos","events_url":"https://api.github.com/users/andersdd/events{/privacy}","received_events_url":"https://api.github.com/users/andersdd/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T21:03:30Z","updated_at":"2015-01-19T21:03:30Z","body":"This looks to be an issue with a mobilized database.\r\n\r\nMy suggestion is in your CSVImp tool open your Atlas Map (for example the Customer API map) and in the preSQL tab enter the following code:  select xt.js_init();\r\n\r\nSave the map and the import should work.  You will need to do this for each map that has this problem."}}