jaideepk26
15 hours agoNew Contributor
GetDataBufferUsingFormula
Can someone check if there's any mistake in the below 2 lines. I am unable to execute the BR
Dim sourceBuff As DataBuffer
Dim srcED As String = args.CustomCalculateArgs.NameValuePairs("sourceEffectiveDate")
Dim selectedScenario = args.CustomCalculateArgs.NameValuePairs("selectedScenario")
Dim dmTime = api.Pov.Time.Name
Dim account = args.CustomCalculateArgs.NameValuePairs("account")
sourceBuff = api.Data.GetDataBufferUsingFormula($"FilterMembers(T#{dmTime}:S#{selectedScenario}:U4#Approved_Status:U6#Total_Audit:U7#{srcED}, [A#{account}.Base])")