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
Satish
2 years agoNew Contributor III
Setting Dynamic No Input Period for Scenario
Hi Team,
Is there a way to set the No Input period property for Scenario dimension using XFBR/Parameter dynamically through DM Jobs.
for ex: a new scenario test2, needs to be copied with test1 sc...
- 2 years ago
Thanks for clarifying, in this case, I'd suggest writing a seeding calculation / data copy rule (maybe copying O#BeforeAdj to O#Import) instead of using the out of the box Data Copy step.
This Finance Rule calculation could still be triggered from a DataManagement Step if that's what you are looking for.
That would be simpler and resolve both the issue with the data copy and the consolidation.
Just for completeness, although not my preferred option for this case, what you are looking for is also technically possible. Not by using an XFBR / parameter but by updating the metadata via the following function: BRApi.Finance.MemberAdmin.SaveMemberInfo
Hope this helps.
- 1 year ago
Hi seangly,
This should work:
'Update the following parameters as intended Dim newWFNoInputNumber As Integer = 2 Dim sampleMbrName As String = "test" Dim dimensionTypeId As DimTypeId = dimTypeId.Scenario 'logic to update the Scenario WorkflowNumNoInputTimePeriods setting Dim mbrInfo As MemberInfo = BRApi.Finance.Members.GetMemberInfo(si, dimensionTypeId, sampleMbrName, True) mbrInfo.GetScenarioProperties.WorkflowNumNoInputTimePeriods.SetStoredValue(newWFNoInputNumber)Regards,
Fred
aformenti
OneStream Employee
2 years agoHi Satish,
May I ask why you need to that? Even if you have the No Input setting in the Scenario Properties, you can still seed/copy the data into the closed periods. The No Input just apply for manual input data.
As far as I know, the property can't be changed through an XFBR.
Hope that helps,
Related Content
- 3 years ago
- 4 months ago
- 3 years ago