DataBuffer Limitations?

Sweez
New Contributor III

Can anyone confirm if a GetDataBuffer function only pulls back real data?  In other words it will not return dynamically calculated data (say from a dynamic account) or derived data?  Trying to understand the limiitation of what data the function will and will not return.  Thanks.   

1 ACCEPTED SOLUTION

JackLacava
Community Manager
Community Manager

Yeah, sorry, I had a brain fart. I was thinking of api.Data.GetDataCell, which will resolve dynamic accounts. GDBF will only contain real data, aggregated dynamically to parent accounts(/flows/origin/etc) if requested.

View solution in original post

5 REPLIES 5

JackLacava
Community Manager
Community Manager

Well, it depends on where you're actually using it and how, but databuffers can indeed contain data from DynamicCalc accounts. More coffee is needed for my brain to operate today.

Sweez
New Contributor III

Thank Jack for the response.  The context is use in a finance business rule used by a data managment job.  If I create a databuffer (i.e. Dim myDataBuffer As DataBuffer = api.Data.GetDataBufferUsingFormula) my question is will it contain derived data if it exisits in that databuffer, as well as will it pull back data if a dynamic account is used in the filter.  In my testing I only seem to be able to bring back real data,  

JackLacava
Community Manager
Community Manager

Yeah, sorry, I had a brain fart. I was thinking of api.Data.GetDataCell, which will resolve dynamic accounts. GDBF will only contain real data, aggregated dynamically to parent accounts(/flows/origin/etc) if requested.

Sweez
New Contributor III

Thanks Jack.

Krishna
Valued Contributor

Yes @ I agree with Jack.  Here is an example 

 

If Not srcDataBuffer Is Nothing Then
	
	For Each srccell As DataBufferCell In srcDataBuffer.DataBufferCells.Values
		If srccell.CellAmount <> 0  And srccell.CellStatus.IsRealData Then
			

End If
Next 
End If

 

Thanks
Krishna