Workaround for version formatted line items
This is my issue:
- I have a module called "Billings" where I have my billings by version (version A, version B and version C)
- I would like the end user to select a version (A, B or C) - Ideally from a dropdown
- Then, I want to create a line item (it can be in a different module) called "Billings (from selected version)". That line item would return the billings from the "Billings" module for the selected version.
This would be very easy if we could format the line items as versions...but we can't.
What I have done so far:
I have created a dummy list with 3 items (version A dummy, version B dummy, version C dummy). Then I have created a module where I "map" the version with the dummy list. For the end users, I have created a line item called "select version" formatted as the dummy list. So from their perspective, they are selecting the version they want.
Now I am struggling to use the mapping to pull the billings for the selected scenario!
Any help is highly appreciated.