Chris
04/07/2025, 4:02 AMCeligo AI
04/07/2025, 4:02 AMAI generated answer (using internal Slack threads):Based on the conversations, the
record.submitFields()
method in SuiteScript is used to update a field without loading and saving the entire record. This method is more efficient and consumes less governance units compared to loading and saving the record. However, it cannot be used to update sublist/line level fields. For that, methods like Record.setSublistValue()
or Record.setCurrentSublistValue()
should be used.
As for the question 'will lastmodified change if record.submit without change anything?', the conversations do not provide a direct answer. However, considering the nature of the record.submitFields()
method, it is reasonable to assume that the 'lastmodified' timestamp would be updated even if no actual changes were made to the record, as the method still performs an operation on the record.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/07/2025, 4:02 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813925505
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811619163
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.808159232
Celigo AI
04/07/2025, 4:02 AM