Intro: Oracle Apex and Oracle Planning should be a match made in heaven, both are cloud based and full of API possibilities. You can even get a free trial of Apex here to see if these sort of features would prove useful for you, or your organisation. Our Objective: Here I will be outlining how to create a table in Oracle Apex that dynamically pulls through the substitution variables from a Planning application, In a follow-up blog post I will try and outline how to then push changes made to the substitution variables in Apex back into Planning. Let's Begin: We start off this process in the “Shared Components” area of the application you want to add the substitution variables table to . Then to “Web Source Modules” within the “Data Sources” tab. From here we click “Create” , then select the “From Scratch” option. Then here we select “Simple HTTP” , name the module anything of your choice; I’ve named mine “Planning_Substitution_Variables
Turns out there are alot of UDAs that we were never told about, I've compiled a list below but there may be more in which case let me know! These can be used to test for specific member properties such as the account type and time balance settings which could prove very useful in certain situations. I've tested them using the below script, fixing on a specific member to check if it pulls back the error message when the if statement was a success. You can use an @isuda to check which of these Account types is present: Expense Revenue Asset Liability Equity Saved Assumption These Time Balance types: Flow Balance Average (Worth noting it doesn't seem to distinguish between average "time balance" and average "exchange rate type", so if either is set to average this will be considered true) Fill These Exchange Rate Types: Average (Worth noting it doesn't seem to distinguish between average "time balance" and average "exch