Forum Discussion

kumar's avatar
kumar
New Contributor II
3 years ago

Copying Scenarios using Extensible Account Dimensions

Hello OneStream Community;  I am trying to copy "Actual" Scenario to a "Plan" Scenario. the Plan Scenario uses Summary Account structure and the Actual Scenario uses a detail account structure whic...
  • TonyToniTone's avatar
    3 years ago

    The Design and Reference Guide may help you out with this.  In the Design and Reference Guide, there is a chapter called Writing Stored Calculations.  In this chapter, there is a section called "Copy Data from Another Scenario".  In this section, there is a snippet of code that may be able to solve what you are looking for.  The code is using the api.Data.ConvertDataBufferExtendedMembers function to copy data from one scenario to another when extending members.  

    Hope this helps get you what you need.