I am having trouble tackling a couple of things regarding the syntax of a rule for a calculated field as well as how to see the calculated value prior to saving.
I have an attribute (SortOrder) that allows the user to control how the order of specific related BO appears (an event is made up of a number workshops). When the user is entering a new workshop, I would like them to see the SortOrder as a defaulted as the max +1, but the rule I have written is giving me max + 1 sortorder for the entire entitty, not the event
IF Workshop IS NEW THEN Workshop.SortOrder = MAX Workshop.SortOrder +1
How do i get this to group on the Event so the sortorder is sequential for the event.
Also, when adding a new Workshop, I would like to the SortOrder rule to default the value so the user can see it prior to saving the record - there are cases where they will change on new/