How to Create a Drop-Down Box Smart List Prompt
Image 1: Business rule containing Smart List Run Time Prompt
Smart Lists are very powerful tools within Planning
Budgeting Cloud Service (PBCS) software. I have recently created a PBCS Forecasting
system that utilises Smart Lists to drive the Forecast Process; allowing users
to populate the forecast using a customised forecast method selection tool.
The Forecast Process is as follows:
1.
An admin will load in the latest month of Actual
data and open the new Forecast for use;
2.
A business rule will be launched to pre-populate
the whole Forecast with a single Forecast Method of choice;
·
For example
- The forecast method ‘Average’ is chosen and so ‘Forecast 3+9’ becomes
populated with 3 months’ worth of Actual data and the remaining 9 months are
populated with the average of the first 3 months’ Actual data, for the whole
forecast.
3.
Users then review the forecast and apply the following
actions;
·
Select alternative forecast methods for individual
Account/Entity combinations (Image 2 displays this);
·
Launch a rule to populate a whole division or
account sub hierarchy with an alternative forecast method (Image 1 displays this).
Image 2: Smart List in use with a Form
Here are the steps involved for creating the drop-down list:
These steps involve: Calculation Manager, Business Rules, Smart Lists, Variables / Run Time Prompts.
These steps involve: Calculation Manager, Business Rules, Smart Lists, Variables / Run Time Prompts.
1.
Create the Smart
List;
2.
Navigate to Rules
(Calculation Manager) -> Variable Designer;
Image 3: Accessing the Variable Designer
3.
Navigate to the relevant database in the Variable
Navigator;
4.
Click Actions
-> New;
5.
Name the Variable;
6.
Change the variable type to ‘Numeric’ (Misleading, I know!).
A Smart List box will appear;
Image 4: Selecting the Smart List: ‘FcstCalc’ containing
the Forecast Methods
7.
Select the Smart List;
8.
Tick RTP
(Run Time Prompt) and enter the RTP Text – this text will display upon
launch of the rule next to the drop-down box;
9.
Optional:
Select a default value or limit the entries the user can select;
Image 5: Applying Limits to the Run Time Prompt
10.
Reference the Run Time Prompt in a business rule
using the format: {RTPName}.
The result should appear as follows in the user interface:
The main benefit of this – aside from the smooth end user process
– is that the Forecast Method selected by the user gets dropped into the
variable referenced in the business rule and can therefore be used as a direct
Smart List reference as if it was written: [[SmartList.Entry]] in the business
rule.
I hunted, unsuccessfully,
online looking for help on how to achieve this in PBCS because I never would
have thought ‘Numeric’ would be the variable type for a Smart List!
Hi,
ReplyDeletethat's a pretty nifty solution. I must admit though that I'm not a 100% on how you've put this together. From what dimension did you create the member (Forecast Method) that holds the smartlist?
Thanks
Hi Matthias,
DeleteThanks!
So we have quite a small model here but we did have a custom dimension called Activity that holds the member Forecast Method.
You'd need to place it in a dimension that does not contain chart of accounts members that are to be forecast against.
Hope that helps!
Is there a way in a calc or rule to search for a member to see if it exists in an outline?
ReplyDeleteHi,
DeleteI'm sure there is a way, but might not be super quick, it depends whether you're looking to search through every dimension or just one?
You can probably do this using Groovy if you have EPBCS.
If you have PBCS you might be able to by using a Text Run Time Prompt, and the @RETURN function if you'd like a message to return whether the member exists or not.
You'd have to consider a method of ensuring you are always searching on a block that exists within your calculation script.
Hope that gives you a starting point!
smvralj
ReplyDeletelmvrarlh