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

sonuanand's avatar
sonuanand
New Contributor
1 month ago
Solved

Select Currency Property for Entity Member

While building the hierarchy using codes, In the Entity Dimension hierarchy "EntityH1", I have a base member as "MyBase". Below code is successfully creating a new child member as "T2" under Parent "...
  • sonuanand's avatar
    1 month ago

    Found the currency code in FX tables (dbo.FxRate). To automate, can create a list/ array and map the currency with the code.

    Sample Code:

    entityProperties.Currency.SetStoredValue(122)