Hi, I am running suiteQL query to get custom field...
# suitescript
d
Hi, I am running suiteQL query to get custom field from InventoryNumber record and I get an error of 'field not found' but the field is exists. Any idea what can block me to see the field through SQL query?
e
Check the records catalog
d
Its custom field...
e
Should still appear in the Setup > Records Catalog (not to be confused with the SuiteScript Records Browser) Navigate there, then switch over to the “Fields” search and see if it is missing If so, likely it is not storing a value or there is some sort of permissions issue
If it is a Non Store Value field, you have to repeat the lookup in the query (for example, sourcing and filtering is set to Customer : Field, you have to join on the entity and pull in that field in the query from the Customer table, and not rely on the custom field you created
d
its store value field, I cant find it in records catalog - Inventory Number record
d
I saw this... no one have an idea
change accountid to your accountid
this will show you what is available
e
but no custom fields show there… the question is why - or how you can get access to them via SuiteQL. May be more appropriate for that channel
d
So basicly there is no option to get custom fields...
e
@David Na did you try posting to #C01FBBZ8PQC?
d
Posting now, didnt know that there is suiteql channel