MarkusWipp
16 days agoContributor
Issues getting currency displayed on CV for dynamic calc account
Hi all,
I'm currently facing a challenge and do not seem to be able to get this to work.
I have a CV displaying (amongst other things) a Dynamic Calc-Account (in Column) across Entities (in Rows), where entities have various currency. I want to be able to display the currency in the cell (with setting on CV cell format (ShowCurrency = True)
I tried in essence the following in the business rule that calculates the value:
Dim currencyID As Integer = api.Pov.Cons.MemberId
Dim value As Decimal = 120.10
Dim result As DataCell = New DataCell(New DataCellPk(), value, New DataCellStatus(DataCellExistenceType.IsDerivedData, DataCellStorageType.Calculation))
Dim resultEx As New DataCellEx(result, "", currencyID, AccountTypeId.Asset)
Return resultEx
But that is not working unfortunately. Does anyone have an idea on how to get this working?
Thanks
Markus