Any ides? I’m trying to set a field value in a UE ...
# suitescript
s
Any ides? I’m trying to set a field value in a UE script, which is a select list. I’ve tried the internal id as string and as integer, both having the same error “name”: “INVALID_FLD_VALUE”, “message”: “You have entered an Invalid Field Value 48801 for the following field: custitem10",
e
What record type is the script running on? What record type is the Select field?
s
It’s on an item record, an exisitng one — i’m loading it. And the select type is List Record of a custom record
e
Is the Custom Record accessible by the Role the Script is running as?
s
I am running the script as admin…. and i’m doing the save of the order to trigger in aftersubmit here’s the field info. Field ID: custitem10 Label: Book ID (list) Type: text what’s weird is i had no propblems setting value on the same field setup in the same script
n
I run into INVALID_FLD_VALUE most often when: 1. Role doesn't have access as Eric mentioned 2. record 48801 is inactive 3. The custom item field has a filter applied
1
🫡 1
s
WTH
it was inactive
T.T
dang it.
thank youi!! i have the lookup for the custom field come up with 3 results, and i’m accessing the inactive