Syntax to reference the internal id of a custom re...
# ask-stanley-ai
l
Syntax to reference the internal id of a custom record in a formula of that record
c
AI generated answer (using internal Slack threads):
In NetSuite, to reference the internal id of a custom record in a formula of that record, you can use
{id}
. This is a placeholder that NetSuite replaces with the internal id of the record when the formula is evaluated. For example, if you have a custom field in a record and you want to create a formula that references the internal id of that record, you can use
{id}
in your formula. Here is an example of how you might use this in a formula:
Copy code
code
CASE WHEN {id} = '123' THEN 'Match' ELSE 'No Match' END
In this example, the formula checks if the internal id of the record is '123'. If it is, the formula returns 'Match'. If it's not, the formula returns 'No Match'. Please note that
{id}
is case-sensitive and should be used in lowercase. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847227097
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.834912479
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832844615
Please provide your feedback on this answer.