At our institution, we are migrating reporting systems. In our prior system, we were able to have nested prompts, and each aspect of the nested prompt was returned to the report. If we asked for college and department, both prompts would be returned to the report. This allowed searching on both fields, since departments could have multiple colleges associated with them
When attempting to do the same in BO 4.3, I am running into the issue where only the last LOV value is returned. In the college and department example, I can only see department returned by the prompt, not the associated college.
This is sample code from the department LOV:
SELECT
SMRPRLE_SOBCURR.SORCMJR_DEPT_DESC,
SMRPRLE_SOBCURR.SORCMJR_DEPT_CODE
FROM @DerivedTable("SMRPRLE_SOBCURR")
WHERE SMRPRLE_SOBCURR.SOBCURR_COLL_CODE = ANY @Prompt(STVCOLL - Active Colleges)
GROUP BY
SMRPRLE_SOBCURR.SORCMJR_DEPT_DESC,
SMRPRLE_SOBCURR.SORCMJR_DEPT_CODE
ORDER BY
SMRPRLE_SOBCURR.SORCMJR_DEPT_DESC,
SMRPRLE_SOBCURR.SORCMJR_DEPT_CODE
For my report, I need to know the selection for both prompts, college and department. When I use this in Webi, I am only getting the department code.
The only workaround that I can think of is using composite keys, such as:
college$$$department. This would allow parsing out both keys from the selection.