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 scenario data across all years (Closed periods + Open periods).The requirement is to have "No Input Period" property as 0 during coping the data and later during consolidation thorough DM step set it to Current actual close period value (i.e for may close it should be 5).
Thank you in Advance.
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.
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