Forum Discussion
rhankey
17 days 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
- 11 months ago
- 12 months ago