2 weeks ago
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.
Solved! Go to Solution.
2 weeks ago
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.
2 weeks ago - last edited 2 weeks ago
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.
2 weeks ago
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,
2 weeks ago
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.
2 weeks ago
Thanks Jack.
2 weeks ago
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