Skip to main content
Newcomer
Mar 24, 2025 6:25 PM UTC

Read Source Data for Summary Function

Hello,

I'm working on a rule that drills back into source stage data from the target summary table. I'm receiving an error on the ReadSourceDataForSummaryRow line that the method or operation is not implemented. I've verified that the parameters I'm passing are correct and in the correct format.

Dim importTable As List(Of TargetDataInfo) = BRApi.Import.Data.ReadSummaryTargetData(si, si.WorkflowClusterPk, Nothing)

If importTable.Count > 0
	For Each importLine As TargetDataInfo In importTable
		Dim summaryRowID As Guid = importLine.SummaryRowID
		
		api.LogMessage("before, summaryRowID: " & summaryRowID.ToString)
		Dim sourceLinesForSummaryID As List(Of SourceDataInfo) = BRApi.Import.Data.ReadSourceDataForSummaryRow(si, summaryRowId)
		api.LogMessage("after")
		
	Next
End If

Has anyone else encountered this issue before? I'm working in OS version 8.2.3, but didn't see anything relevant in subsequent release notes.

Thank you!

2 replies

Contributor
Mar 25, 2025 10:56 PM UTC

Have not encountered it but I suggest posting the full error message / stack trace.

wdykstraAuthor
Newcomer
Mar 26, 2025 12:11 AM UTC

Fair point! The stack trace is below:

----------------------------------------
Exception Type: Unknown
Message: The method or operation is not implemented.

Stack Trace: 
   at OneStream.Stage.Database.VStageSourceAndTargetDataRow.SetValues(Dictionary`2 rowValues)
   at OneStream.Shared.Database.DbTableAndViewBase`1.CreateDbRowInstanceFromDataReader(DbConnInfo dbConnInfo, DbDataReader dataReader, Boolean selectedAllColumns, Dictionary`2 ordinalsByName)