Is it possible disabling expense sublist via workf...
# ask-stanley-ai
d
Is it possible disabling expense sublist via workflow ?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that it is possible to disable an expense sublist line in a vendor bill or any other sublist via a workflow or SuiteScript. In SuiteScript, you can use the
CurrentRecord.cancelLine()
within a
lineInit()
function to conditionally disable lines depending on your business logic. In a workflow, you can create a state that disables the field. However, it's important to note that you cannot directly disable a sublist group en masse. You would have to get each sublist field in turn and update its display type to disabled. ****** 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.849600732
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838066101
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836660147
Please provide your feedback on this answer.