what would happen if i did... in hfm?
Post on 13-Sep-2014
27 views
DESCRIPTION
On a dare, HFM expert and Oracle ACE Chris Barbieri takes a Mythbusters style approach to debunking a series of potentially damaging changes to HFM applications to find out exactly "What would happen if I did...?"TRANSCRIPT
#Kscope
What would happen if I did...
in HFM?
Chris Barbieri Practice Director
Property of Edgewater Ranzal
#Kscope
What would happen if I…
Changed the IsCalculated flag on an account?
Changed an entity‟s currency?
Changed the Zero View settings?
Inserted a new entity into a locked hierarchy?
Loaded metadata without integrity check?
Changed number of review levels for a scenario?
Property of Edgewater Ranzal
#Kscope
Changed the IsCalculated flag on an account/custom?
IsCalculated does two things:
● Built-in No Input rule
● HFM automatically clears the values
Sample account “CalculatedAccount”
Not checked = Input-able
Property of Edgewater Ranzal
#Kscope
Enter Data
Enter “78” in <EC>
Naturally “155” is
calculated (Translated)
Property of Edgewater Ranzal
#Kscope
What’s Under the Hood?
Kscope_DCE_1_2005 table
● Stores <EC> and <PC> data
What‟s are these code
numbers?
Need to convert labels to
ItemIDs*
Property of Edgewater Ranzal
#Kscope
Dp0_Input & Dp0_InputTransType
Dp*_InputTransType tells HFM what sort of number it is ● Input (16)
● Calculated (32)
● Derived (128)
Dp*_Input stores YTD number
● Each record holds 12 months, numbered “0” through
“11”
Property of Edgewater Ranzal
#Kscope
This is Critical to Understand
The InputTransType is the metadata attribute
at the time the number is written to
the database! If the IsCalculated attribute changes on the
Account, this is not updated in the table!
…until a new number is written to that cell
Property of Edgewater Ranzal
#Kscope
Extract Data
Type “16” data can be
extracted
Extract Calculated will
include type “32” data
Property of Edgewater Ranzal
#Kscope
Change Flag to IsCalculated
Turn on IsCalculated
Property of Edgewater Ranzal
#Kscope
Load Metadata Only
Database still shows Input (16)
Grid shows “no
input”
Data extract shows
not calculated
Property of Edgewater Ranzal
#Kscope
Consolidate Data
Data remains
● HFM clears cells with type “32”, not “16”
● Despite the IsCalculated flag
● Must clear it manually using HS.Clear in rules
Must remove data Prior to changing flag
Property of Edgewater Ranzal
#Kscope
Changed an Entity’s Currency?
Data and journals are
stored by currency ID
UKSales
● Originally GBP
● Change to EUR
● Parent EastRegion USD Property of Edgewater Ranzal
#Kscope
Classic Mode Metadata Change
Error during load
● Metadata Integrity Check
● Won‟t load
● Un-post then delete the journal?
Property of Edgewater Ranzal
#Kscope
Successfully Changed?
Before After load
Property of Edgewater Ranzal
#Kscope
Translate
Parent Currency Translate GBP
● Is now translated value
from EUR to GBP
Time to
reload all
data and
journals!
Property of Edgewater Ranzal
#Kscope
Changed the Zero View settings?
Scenario setting
“How should I treat missing data?”
● Zero YTD
● HFM will derive a periodic value so we arrive at zero on a
YTD basis, reversing out the entire YTD balance from
prior period
● Zero Periodic
● HFM adds the periodic zero to prior period YTD,
essentially carrying prior period forward
Applies only to Revenue/Expense/Flow
Property of Edgewater Ranzal
#Kscope
Sample Sales for UKSales
Notice August Periodic and YTD
Property of Edgewater Ranzal
#Kscope
Change Actual Zero View to “Periodic”
Metadata load prevented
Unpost/reject journals and re-load metadata
● Re-post same journals Property of Edgewater Ranzal
#Kscope
Notice August Changes?
Property of Edgewater Ranzal
#Kscope
Inserted a new entity into a locked hierarchy?
July and August 2005 are
consolidated, published,
and locked
Insert new parent “West”
Property of Edgewater Ranzal
#Kscope
Changes from New Entity to Top
Review status and
Calc Status of
ancestors change
Consolidate and
Publish each period
Property of Edgewater Ranzal
#Kscope
Move Europe
Change existing entity
structure
● Looking for NoData status
change
Property of Edgewater Ranzal
#Kscope
Move an Entity with NoData
No change to Calc status
Review Level stays same
Property of Edgewater Ranzal
#Kscope
Loaded metadata without the integrity check enabled?
Has no bearing on data, only journals
Prevents broken journal entries from:
● Deleted / renamed base members
● Make an intersection invalid
● Change Custom 1..4 Top Member
● Remove IsICP
● Promote a base Account / Custom to parent
● Change currency on an entity
● Change Zero View on scenario
Property of Edgewater Ranzal
#Kscope
Rename “Sales” to “Revenue”
Load metadata in “Replace” mode
Property of Edgewater Ranzal
#Kscope
Item IDs
Appname_Account_Item
Data and journals use ItemID
number “133”, not “Sales”
● Journal records in
Appname_JLENT_1_2005
Property of Edgewater Ranzal
#Kscope
Integrity Check “On”
Property of Edgewater Ranzal
#Kscope
Remove Check Integrity Flag
Don‟t try this at home!!!
No metadata load errors
Property of Edgewater Ranzal
#Kscope
…now, about that journal
Account is removed
It cannot be “looked up”
● Journal still refers to “133” Property of Edgewater R
anzal
#Kscope
Account_Item table
Replace mode
● Removes “Sales” from
Appname_Account_Item
table
● Adds “Revenue”
● Assigns a new Item ID
● “177” is the next number
available
Property of Edgewater Ranzal
#Kscope
Reload Original Metadata?
Try to “bring „Sales‟ back” by
reloading
Enable “Check Integrity”
No errors this time around
“Sales” is assigned a new ID
“178”
● Treated like a new member
● Next ID in sequence
Property of Edgewater Ranzal
#Kscope
Delete Invalid Records
HFM deletes any data records or tables for
ItemIDs which don‟t exist in *_Item tables
No way to tell what account “133” was
Leaves journal records though
● Forever orphaned
Property of Edgewater Ranzal
#Kscope
Changed the Maximum Review Level?
September: all entities approved Levels 1- 5
Scenario Settings at default “10”
● Change to “2”
Property of Edgewater Ranzal
#Kscope
MaxReviewLevel = 2
No bearing on
existing review
levels
● Still at “5”
No change to promote options
● All “10” levels still available
No error when promoting
straight to “10”
Placebo
Property of Edgewater Ranzal
#Kscope
Disable Process Management for a scenario
Actual: set SupportsProcessManagement = “N”
All levels for scenario revert to “Not Supported”
Add it back? SupportsProcessManagement = “Y”
Eureka!
Property of Edgewater Ranzal
#Kscope
Questions?
Chris Barbieri [email protected]
Needham, MA
USA
+1.617.480.6173
www.ranzal.com
Property of Edgewater Ranzal