BR SaveMemberInfo is changing Text3 field in all Flow members inadvertently
I use the Text3 field in Flow members to hold a status value. I have a BR that is creating one Flow member at a time. When the BR runs the line with SaveMemberInfo, every one of my flow member's Text3 values are changed to values that are incorrect. Does anyone have any thoughts on why this is happening. Following is the code I am using to save the Flow member:
****************************************************************************************************
strModName = "This is the Flow member name"
strCurrPdoDescr = "This is the Flow member description"
Dim objDim As OneStream.Shared.Wcf.Dim = BRApi.Finance.Dim.GetDim(si, "std_Flow")
Dim intModId As Integer = BRApi.Finance.Members.GetMemberId(si, dimtypeid.Flow, strModName)
Dim objMemberPk As New MemberPk(DimType.Flow.Id, intModId)
Dim objMember As New Member(objMemberPk, strModName, strCurrPdoDescr, objDim.DimPk.DimId)
Dim objProperties As New VaryingMemberProperties(DimType.Flow.Id, objMember.MemberId, DimConstants.Unknown)
Dim NewFlowMbrProperties As FlowVMProperties = objProperties.GetFlowProperties()
NewFlowMbrProperties.Text1.SetStoredValue(DimConstants.Unknown,DimConstants.Unknown,"")
Dim objMemberInfo As New MemberInfo(objMember, objProperties, Nothing, objDim, DimConstants.Unknown)
Dim isNew As TriStateBool = TriStateBool.TrueValue
BRApi.Finance.MemberAdmin.SaveMemberInfo(si, objMemberInfo, True, True, False, isNew)