The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
alex
2 years agoNew Contributor II
No results from Copy Data data management step
Hi, I'm having trouble running a relatively simple Copy Data data management step.
The step's source and destinations share the same cube, entity, time period, and view. They differ only on scenari...
Keyser_Soze
2 years agoContributor
Hello,
Maybe you're using horizontal extensibility by scenario ? Also, the native 'Copy Data' step is relatively slow. You should opt for a Finance Business Rule to do so
Here's a snippet:
Dim destinationInfo As ExpressionDestinationInfo = api.Data.GetExpressionDestinationInfo("")
Dim sourceDataBuffer As DataBuffer = api.Data.GetDataBuffer(DataApiScriptMethodType.Calculate,"S#<Source Scenario>",destinationInfo)
Dim targetDataBuffer As DataBuffer = api.Data.ConvertDataBufferExtendedMembers("<Cube Name>", "<Source Scenario>", sourceDataBuffer)
api.Data.SetDataBuffer(targetDataBuffer, destinationInfo,,,,,,,,,,,,,True)
Related Content
- 4 years ago