/
Make Account Mandatory
Make Account Mandatory
Following script makes account selection mandatory for a worklog. You can add other conditions to create more complex checks. For example you can check group/role of user and only allow specific accounts if user is member of the group/role.
if (account == null) {
return "Account is mandatory"
}
Related content
Don't Allow Logging Work Under Specific Conditions
Don't Allow Logging Work Under Specific Conditions
Read with this
Worklog Verification Scripts
Worklog Verification Scripts
Read with this
After Worklog Create/Update
After Worklog Create/Update
Read with this
Worklog Scripts
Worklog Scripts
Read with this
Checking Account Budget Overflow
Checking Account Budget Overflow
Read with this
Timesheet Accounts
Timesheet Accounts
Read with this