xRecord.setFieldValue Method [AX 2012]
Sets the field value in the record buffer.
The arrayIndex parameter applies only to array fields. Either omit this parameter or specify0 (zero) for fields that are not arrays.This method throws an ArgumentOutOfRange exception if the specified field is unknown or a TypeMismatch exception if the value parameter is incompatible with the specified field..
Community Additions
ADD
Show: