Forum Discussion
DanTenneco
3 years agoNew Contributor II
USD Override on Local Currency Parent but in USD value.
Hello All,
Need assistance in getting the USD Override amounts to populate Local Currency Parents in USD values. The USD Parents are working correctly when data is retrieved in Local or USD.
Exa...
DanTenneco
3 years agoNew Contributor II
We are leveraging the text1 field = USD for accounts and added in the flow dimension If (api.Entity.HasChildren()) And LocalCurrency.Name.ToString <> "USD" Then Api.Data.Calculate(....). Even using this it pulls local currency to the parent and then translates it to USD.
- JackLacava3 years ago
OneStream Employee
Ah, I guess you're using a specific Flow Processing Type then...? It's a bit above my pay grade, but for the benefit of anyone who might really know how it works, you might want to paste the "Flow Processing" section of your Flow member to complete the picture.
As general tips, always make sure your "if" blocks actually get executed, liberally dropping something like api.LogMessage("running") inside them and then checking the log; and maybe use api.Cons.IsLocalCurrencyForEntity or isForeignCurrencyForEntity, rather than comparing strings (which should be done with .xfEqualsIgnoreCase anyway).
Related Content
- 2 years ago