Discussions
Expense Reports-How to detect if customer is project
Hi There
I was wanting to create a script to make the 'Project task' field on an expense report line mandatory if the customer selected in the customer field is in fact a project (as opposed to a regular customer).
Is there a way to do this?
I'm assuming the only way to do this would be to use a client script and use a field changed event after the customer is selected.
The script would then need to search projects for the value in the customer field to see if there is an existing project with the same name.