Marco
5 months agoContributor II
how DataBufferCellPk works in this segment
Hi Everyone.
I would appreciate some help in understanding how the DataBufferCellPk
works in the following code, and in general. I’m currently reviewing a business rule where entities are charged to others—essentially an allocation. However, I haven't found any use of CALCULATE
or similar functions that would typically handle this process. This leads me to believe that DataBufferCellPk
might be responsible for it. Could you please assist me in understanding this better and provide more context on the issue I'm trying to resolve?
Dim dbcpk As New DataBufferCellPk(
mbrRefIdAcc,
mbrRefIdFlow,
intOriginId,
mbrRefIdIC,
mbrRefIdUd1,
mbrRefIdUd2,
mbrRefIdUd3,
mbrRefIdUd4,
mbrRefIdUd5,
mbrRefIdUd6,
mbrRefIdUd7,
mbrRefIdUd8
)
'BRApi.ErrorLog.LogMessage(si,$"Valores de DataBufferCellPk 2023M3: MbrRefIdAcc: {mbrRefIdAcc}, MbrRefIdFlow: {mbrRefIdFlow}, IntOriginId: {intOriginId}, MbrRefIdIC: {mbrRefIdIC}, MbrRefIdUd1: {mbrRefIdUd1}, MbrRefIdUd2: {mbrRefIdUd2}, MbrRefIdUd3: {mbrRefIdUd3}, MbrRefIdUd4: {mbrRefIdUd4}, MbrRefIdUd5: {mbrRefIdUd5}, MbrRefIdUd6: {mbrRefIdUd6}, MbrRefIdUd7: {mbrRefIdUd7}, MbrRefIdUd8: {mbrRefIdUd8}")
'BRApi.ErrorLog.LogMessage(si,"Parameters bufferdatacell 46: " & dupk.ToString & " * " & intViewId.ToString)
Using dbConnFW As DBConnInfo = BRApi.Database.CreateFrameworkDbConnInfo(si)
Using dbConnApp As DBConnInfo = BRApi.Database.CreateApplicationDbConnInfo(si)
listDc = BRApi.Finance.Data.GetDataBufferDataCells(dbConnFW, dbConnApp, dupk, intViewId, dbcpk, False, True)
End Using
End Using