Forum Discussion
I have just come across a Conditional Rule I wrote a few years back. It queries the Constraint member for the Flow on the Account dimension. It's not exactly what you want but it might get you started. These are the key lines:
Dim AccountMbr As Member = BRApi.Finance.Members.GetMember(si, dimTypeId.Account, Account)
Dim ConstraintFlowMbr As Member = BRApi.Finance.Account.GetConstraintMemberForDimType(si, AccountMbr.MemberId, dimTypeid.Flow, Cubetype.Standard.Id)
ACQFlow = BRApi.Finance.Flow.Text(si, ConstraintFlowMbr.MemberId, 1, BRApi.Workflow.General.GetScenarioTypeId(si, si.WorkflowClusterPk), si.WorkflowClusterPk.TimeKey)
Hi, thank you for both hints, I will leverage on the second option first, i.e., to create a conditional rule that validates the members against the Constraint.
- MarcusH9 months agoValued Contributor
I would make the Conditional Rule generic ie pick up the country code for the workflow somehow. If the maps are maintained by the users, I would add the Conditional rule to its own Group (Mask type source value *) and then add this Group to each of the profiles as the first Entity Transformation Group. Set security so that users do not have permission to change it. That would give you a single map to maintain that the users can't change or interfere with.
Related Content
- 2 years ago
- 5 months ago
- 2 years ago