Hello,
Could you explain a little bit more what the business scenario is? Maybe others have a similar case with an implemented solution.
But if you want to have a straight answer, there is no setup for this, but you can use diverse standard functionalities to pick up the code in order to create your customization.
This is what comes to my mind:
1. Project categories
2. If you use a group of Transaction type "Expense", then you have 3 enums to choose from under (3).
If you use a group of transaction type "Hour" (1), then the Resource under (2) is filled as Mandatory.
You can use a logic that fills the field (2) depending on the category group.
OR, in this example you have under (1) and (2) the same list, however, if you select under (1) a type of "Expense", the list under (2) is prefiltered with all values of type "Expense" - you need to take care that the user cant remove the filtered list under (2)
Kind regards, Adis
If this helped, please mark it as "Verified" for others facing the same issue