36
#Kscope What would happen if I did... in HFM? Chris Barbieri Practice Director Property of Edgewater Ranzal

What Would Happen if I Did... in HFM?

  • View
    27

  • Download
    4

Embed Size (px)

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...?"

Citation preview

Page 1: What Would Happen if I Did... in HFM?

#Kscope

What would happen if I did...

in HFM?

Chris Barbieri Practice Director

Property of Edgewater Ranzal

Page 2: What Would Happen if I Did... in HFM?

#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

Page 3: What Would Happen if I Did... in HFM?

#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

Page 4: What Would Happen if I Did... in HFM?

#Kscope

Enter Data

Enter “78” in <EC>

Naturally “155” is

calculated (Translated)

Property of Edgewater Ranzal

Page 5: What Would Happen if I Did... in HFM?

#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

Page 6: What Would Happen if I Did... in HFM?

#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

Page 7: What Would Happen if I Did... in HFM?

#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

Page 8: What Would Happen if I Did... in HFM?

#Kscope

Extract Data

Type “16” data can be

extracted

Extract Calculated will

include type “32” data

Property of Edgewater Ranzal

Page 9: What Would Happen if I Did... in HFM?

#Kscope

Change Flag to IsCalculated

Turn on IsCalculated

Property of Edgewater Ranzal

Page 10: What Would Happen if I Did... in HFM?

#Kscope

Load Metadata Only

Database still shows Input (16)

Grid shows “no

input”

Data extract shows

not calculated

Property of Edgewater Ranzal

Page 11: What Would Happen if I Did... in HFM?

#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

Page 12: What Would Happen if I Did... in HFM?

#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

Page 13: What Would Happen if I Did... in HFM?

#Kscope

Classic Mode Metadata Change

Error during load

● Metadata Integrity Check

● Won‟t load

● Un-post then delete the journal?

Property of Edgewater Ranzal

Page 14: What Would Happen if I Did... in HFM?

#Kscope

Successfully Changed?

Before After load

Property of Edgewater Ranzal

Page 15: What Would Happen if I Did... in HFM?

#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

Page 16: What Would Happen if I Did... in HFM?

#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

Page 17: What Would Happen if I Did... in HFM?

#Kscope

Sample Sales for UKSales

Notice August Periodic and YTD

Property of Edgewater Ranzal

Page 18: What Would Happen if I Did... in HFM?

#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

Page 19: What Would Happen if I Did... in HFM?

#Kscope

Notice August Changes?

Property of Edgewater Ranzal

Page 20: What Would Happen if I Did... in HFM?

#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

Page 21: What Would Happen if I Did... in HFM?

#Kscope

Changes from New Entity to Top

Review status and

Calc Status of

ancestors change

Consolidate and

Publish each period

Property of Edgewater Ranzal

Page 22: What Would Happen if I Did... in HFM?

#Kscope

Move Europe

Change existing entity

structure

● Looking for NoData status

change

Property of Edgewater Ranzal

Page 23: What Would Happen if I Did... in HFM?

#Kscope

Move an Entity with NoData

No change to Calc status

Review Level stays same

Property of Edgewater Ranzal

Page 24: What Would Happen if I Did... in HFM?

#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

Page 25: What Would Happen if I Did... in HFM?

#Kscope

Rename “Sales” to “Revenue”

Load metadata in “Replace” mode

Property of Edgewater Ranzal

Page 26: What Would Happen if I Did... in HFM?

#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

Page 27: What Would Happen if I Did... in HFM?

#Kscope

Integrity Check “On”

Property of Edgewater Ranzal

Page 28: What Would Happen if I Did... in HFM?

#Kscope

Remove Check Integrity Flag

Don‟t try this at home!!!

No metadata load errors

Property of Edgewater Ranzal

Page 29: What Would Happen if I Did... in HFM?

#Kscope

…now, about that journal

Account is removed

It cannot be “looked up”

● Journal still refers to “133” Property of Edgewater R

anzal

Page 30: What Would Happen if I Did... in HFM?

#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

Page 31: What Would Happen if I Did... in HFM?

#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

Page 32: What Would Happen if I Did... in HFM?

#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

Page 33: What Would Happen if I Did... in HFM?

#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

Page 34: What Would Happen if I Did... in HFM?

#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

Page 35: What Would Happen if I Did... in HFM?

#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

Page 36: What Would Happen if I Did... in HFM?

#Kscope

Questions?

Chris Barbieri [email protected]

Needham, MA

USA

+1.617.480.6173

www.ranzal.com

Property of Edgewater Ranzal