SHARE
TWEET

Untitled

a guest Mar 20th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let dataUploaded = new Object()
  2.  
  3.                 dataUploaded.createdon = data.createdon
  4.                 dataUploaded.emailaddress = data.emailaddress
  5.                 dataUploaded.importsequencenumber = data.importsequencenumber
  6.                 dataUploaded.modifiedon = data.modifiedon
  7.                 dataUploaded.new_countdev = i++
  8.                 dataUploaded.new_country_listid = data.new_country_listid
  9.                 dataUploaded.new_devtest = data.new_devtest
  10.                 dataUploaded.new_indicatif = data.new_indicatif
  11.                 dataUploaded.new_infocountryindicatif = data.new_infocountryindicatif
  12.                 dataUploaded.new_iso31661officialnameenglish = data.new_iso31661officialnameenglish
  13.                 dataUploaded.new_nom = data.new_nom
  14.                 dataUploaded.overriddencreatedon = data.overriddencreatedon
  15.                 dataUploaded.processid = data.processid
  16.                 dataUploaded.statecode = data.statecode
  17.                 dataUploaded.statuscode = data.statuscode
  18.                 dataUploaded.timezoneruleversionnumber = data.timezoneruleversionnumber
  19.                 dataUploaded.traversedpath = data.traversedpath
  20.                 dataUploaded.utcconversiontimezonecode = data.utcconversiontimezonecode
  21.                 dataUploaded.versionnumber = data.versionnumber
  22.  
  23.  
  24.                 Xrm.WebApi.updateRecord('new_country_lists', 'd7221766-e9b6-e611-80e9-c4346bad32b4', dataUploaded)
  25.                     .then((res) => Xrm.Page.getAttribute("new_countdev").setValue(dataUploaded.new_countdev),
  26.                     () => console.log('UPDATE CRASH'))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top