Forum Discussion
rhankey
2 months agoContributor
I would suspect you are getting the error should your Scenario variable not resolve to a valid Scenario member. In that case ScenarioId will be DimConstants.Unknown. Attempting to get the ScenarioType of an unknown member will then barf. Put differently, you should only attempt to get the ScenarioType if ScenarioId<>DimConstants.Unknown.
Related Content
- 12 months ago