Forum Discussion

Sai_Maganti's avatar
Sai_Maganti
Contributor II
3 years ago

Account dimension member "In Use" property

Account dimension member "In Use" property (Vary by Scenario Type and Time) set to Scenario Type = "Control" and Time to "2022M2", Stored value "False" However when I try to grab the InUse va...
  • EricOsmanski's avatar
    3 years ago

    Looks like you might be grabbing the Scenario ID instead of the ScenarioType ID. Try this for the scenario type ID: 

    Dim scenarioTypeId As Integer = api.Scenario.GetScenarioType(scenarioId).Id