Do changes to formula fields trigger postSourcing ...
# ask-stanley-ai
p
Do changes to formula fields trigger postSourcing events?
c
AI generated answer (using internal Slack threads):
Changes to formula fields do not trigger postSourcing events. The postSourcing event in NetSuite is triggered when a field sourcing occurs, which is when the system populates fields based on the selected value of another field. However, formula fields are calculated fields and their value is derived from an expression rather than being sourced from another field. Therefore, changes to formula fields do not trigger postSourcing events. In the context of client scripting in NetSuite, the postSourcing function is triggered when a field that sources other fields is changed. This is typically used to perform actions after the system has sourced fields due to a change in another field. However, it's important to note that this function is not triggered when entering Edit mode on a record, but rather when actual changes to the sourcing fields occur. For detecting changes to fields like subtotal which are not directly edited by the user, you might want to consider using the sublistChanged entry point. However, be aware that this function can have performance implications due to the frequency of its triggering. ****** 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.845947325
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.828552365
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823120236
Please provide your feedback on this answer.