Hello, Im struggling with the next code, I now is going to be something stupid but I cant seem to see it haha, Im loading a record and trying to set some field, but im creating dinamically the fieldId, the issue is in the value: newRecord.getValue({fieldId: fieldIDGetValue}), if I log the value of fieldIDGetValue it returns the id of the field, lets say custrecord_one but I get the error
code: "SSS_MISSING_REQD_ARGUMENT",
details: "DeferredDynamicRecord.getValue: Missing a required argument: fieldId",
but if I set manually in the fieldId what I get logged (custrecord_one) the values is set correctly!!