ok, customer record, trying to set the `entitystat...
# suitescript
k
ok, customer record, trying to set the
entitystatus
field, which is a SELECT type field... looked up the correct customer status id that I want to set, it's
17
... yet the following errors out with `Invalid Field Value 17 for Field entitystatus`:
Copy code
const newCustomerRecord = record.create({
      type: record.Type.CUSTOMER,
      isDynamic: true
    });

    newCustomerRecord.setValue({
      fieldId: "entitystatus",
      value: "17"
    });
any ideas?