NS AdminA
03/21/2025, 6:05 PMCeligo AI
03/21/2025, 6:05 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like you are trying to show a policy exception on an expense report line when the expense policy is met. However, there isn't a direct conversation related to this specific requirement in the provided threads. However, there are some related discussions that might be helpful. In the first thread, a user was having trouble with a ValidateLine client script on an Expense Report. The issue was resolved by setting
ignoreFieldChange: true
.
In the second thread, a user was having trouble updating custom transaction line fields on the expense sublist on expense reports via a custom import. The suggestion was to try using dynamic mode to see if it gives a more helpful error message.
In the third thread, a user was having an issue where an employee advance balance was not recalculating when new lines were added to an expense report. One suggestion was to lock the expense reports once they are created.
To implement a script that shows a policy exception on an expense report line when the expense policy is met, you might need to use a combination of client scripts (like ValidateLine) and scheduled scripts, and handle different scenarios like the ones discussed in the threads.
Remember to handle field changes properly and consider using dynamic mode for better error messages. Also, consider how your script will handle changes to the expense report after it's created, like adding new lines.
******
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
03/21/2025, 6:05 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.80831039
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.791858792
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.786488652
Celigo AI
03/21/2025, 6:05 PM