This was used as a script to set a field field value but using the custom code validation, it showed where the section below might not be compatible with CRM. Does anyone know what can be replaced to fix this?
data.d.results[0].Amount.Value) {
parseFloat(data.d.results[0].Amount.Value);