Is it possible to only allow certain users to create a new entity based on a field in another entity? For example, I have a one-to-many relationship between Jobs and Projects. I have a special job called 00-0000 for internal use only whereas a typical job is YY-NNNN, e.g. 17-0412 for the 412th job in the year 2017. Creating a new job automatically calculates the job number (YY-NNNN).
For internal tasks, I have projects listed under 00-0000 for things like filling out a timesheet or other non-billable activities. I do not want anyone except one or two users to be able to add projects to the 00-0000 job. In other words, if a user goes to the Projects tab and tries to create a new project that will be associated to 00-0000, it shouldn't work unless the user is an administrator or in a specific team.
Is something like this possible? I don't mind doing it programmatically as long as it's possible. I'm looking at formulas, but I can't tell if it's possible to cause the new entity creation to fail. If it is, I could maybe use a formula, but I don't know how.
For internal tasks, I have projects listed under 00-0000 for things like filling out a timesheet or other non-billable activities. I do not want anyone except one or two users to be able to add projects to the 00-0000 job. In other words, if a user goes to the Projects tab and tries to create a new project that will be associated to 00-0000, it shouldn't work unless the user is an administrator or in a specific team.
Is something like this possible? I don't mind doing it programmatically as long as it's possible. I'm looking at formulas, but I can't tell if it's possible to cause the new entity creation to fail. If it is, I could maybe use a formula, but I don't know how.
Comment