case when formula to show the document number if t...
# ask-stanley-ai
n
case when formula to show the document number if the intercompany status is paired
c
AI generated answer (using internal Slack threads):
Based on the conversations, you can use a CASE WHEN formula to show the document number if the intercompany status is paired. However, the exact field names for the document number and intercompany status in your NetSuite instance are needed to provide a precise formula. Assuming that the field for the document number is
{number}
and the field for the intercompany status is
{intercompanystatus}
, a possible formula could be:
Copy code
CASE WHEN {intercompanystatus} = 'Paired' THEN {number} ELSE NULL END
This formula checks if the intercompany status is 'Paired'. If it is, it returns the document number. If it's not, it returns NULL. ****** 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.776396811
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.776257098
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.775270462
Please provide your feedback on this answer.