Join Slack
Communities
Powered by
does anyone have a sample code on how to use n/que...
# suitescript
m
Michael Scott
06/21/2022, 3:51 PM
does anyone have a sample code on how to use n/query with custom records. I undestand the type should be type: query.Type.CUSTOM_RECORD_TYPE, but i dont understand how to enter the custom record id to id the custom record
s
Sandii
06/21/2022, 4:14 PM
https://timdietrich.me/blog/netsuite-suiteql-custom-record-types-and-custom-fields/
Sandii
06/21/2022, 4:17 PM
Actually that blog is about querying for what you are doing. I don't think you need to use
query.Type.Something
... just put
"customrecord_mytype"
in there instead of the enum
m
Michael Scott
06/21/2022, 6:26 PM
thanks a lot Sandii
2
Views
Open in Slack
Previous
Next