Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 536.4K On-Premises Infrastructure
- 138.3K Analytics Software
- 38.6K Application Development Software
- 5.8K Cloud Platform
- 109.5K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
Can arrays be used as OpenDataUnit POV Lists?

Hi all,
This is probably related to any HS.function "POV" type of problem, but I'm currently at a specific case with OpenDataUnit. I need to retrieve a dataset for a handful of accounts, and I know that in POV I can provide a system list or a custom member list reference, like "A{SomeParent.[Base]}" or "A{MyCustomList}". However I'm wondering if I can reference an array, something like "A{" & MyArray & "}", or list in plain text, like "A{acc1;acc2;acc3}"?
The reason I wish to do it this way is to be able to quickly prototype and test Rules code without having to update metadata or memberlists, and the decide on the proper place for the list to be maintained once prototyping is done.
Thanks in advance
Daniel
Answers
-
I think you can, but I would personally create the list prior to the HS.OpenDataUnit function since I'm not confident HFM can resolve the Array function inside the OpenDataUnit function (but I have not tried this):
aListOfExpenses = Array("Rent", "Salaries", "Materials")
HS.OpenDataUnit(A{aListOfExpenses})
- Chris