Skip to content

Latest commit

 

History

History
4777 lines (2824 loc) · 343 KB

jhat-in-hfm.md

File metadata and controls

4777 lines (2824 loc) · 343 KB

JHAT in HFM

Automation with JHAT

Overview

Adapted from: https://neonn.com/alwayson/using-jhat-automate-hfm-tasks/

The JHAT tool is another way to automatize tasks using a batch file and the HFM API. JHAT offers the opportunity to use any scheduler to launch HFM tasks and provide a better flexibility than Task Flows.

How does it work?

JHAT utility is present in the path hereunder:

E:\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Server\jhat.bat

The batch file embeds all libraries, paths and other references to execute HFM tasks.

Before the first run, it’ mandatory to create setenv.cmd file and set the parameter EPM_ORACLE_INSTANCE_FOR_JHAT to point to the EPM instance:

JHAT usage

A text file provides the tasks to be executed against HFM. Basically, the structure of the file is as below:

Logon()
OpenApplication()
SetPOV()
Consolidate() '(or other HFM function)'
CloseApplication()
Logout()

Example:

In most cases, you will need to call the `Logon`, `OpenApplication`, `CloseApplication` and `Logout` commands as part of the script execution.

Certain commands will necessitate running the `SetPOV` command.

The JHAT API is not fully documented by Oracle. Commands used are based on examples from others.

You only have to provide the file previously create as argument and call the utility to run the task:

jhat.bat -I E:\JHAT\test.txt

Use jhat.bat -H command to explore the available options:

This utility can be used to launch consolidations, data load, data extraction, etc...

JHAT Commands: Administration

Overview

These JHAT Commands will deal with administration of HFM

Commands

DeleteFilteredDataAuditRecords

Delete Data Audit Records based on POV

Input

**Parameter****Mandatory****Comment**
User NameUser Name
POV StringPOV String

Example

DeleteFilteredDataAuditRecords("User Name","POV String");
DeleteFilteredTaskAuditRecords

Delete Filtered Task Audit Records

Input

**Parameter****Mandatory****Comment**
UserNameUserName
Task NameTask Name
  • Task
  • ALL

Example

DeleteFilteredTaskAuditRecords("UserName","Task|ALL");
GetLatestTaskAuditAttachment

Get the Last Audit Attachment

Input

**Parameter****Mandatory****Comment**
UserNameUserName
Task NameTask Name
  • Task
  • ALL
Output File Path Path to store the Audit Attachment

Example

GetLatestTaskAuditAttachment("UserName","Task|ALL","");
FilterTaskAudit

Filter the task audit and export to file

Input

**Parameter****Mandatory****Comment**
UserNameUserName
Task NameTask Name
  • Task
  • ALL
Output File Path Path to store the audit

Example

FilterTaskAudit("UserName","Task|ALL","");
GetTaskAudit

Get All Task Audit Records

Input

**Parameter****Mandatory****Comment**
Output File PathPath to store the audit

Example

GetTaskAudit("C:\TaskAudit\task.txt");
FilterDataAudit

Filter the Data Audit Records

Input

**Parameter****Mandatory****Comment**
User NameUser Name
POV StringPOV String
Output File Path Path to store the audit

Example

FilterDataAudit("User Name","POV String","<output>");</output>
GetDataAudit

Get the data audit records and store them in a file

Input

**Parameter****Mandatory****Comment**
Output File PathPath to store the audit

Example

GetDataAudit("<Output File Path>");

JHAT Commands: Application

Overview

These JHAT Commands will handle the application.

Commands

SetPOV / SetPOVName

Sets the Point of View (POV) for the commands to follow.

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod

Should be a base

ViewView
EntityEntity

Can use member lists

ValueValue
AccountAccount
ICPIntercompany Partner
Custom 1Custom 1
Custom 2Custom 2
Custom 3Custom 3
Custom 4Custom 4

Example

SetPOV("ACTatACIFRS","2023","DEC","YTD","TGROUP","<Entity Currency>","TOTNI","[ICP Top]","TOTC1","TOTC2","TOTC3","TOTC4");
SetPOVExtDim

Sets the Point of View (POV) for the commands to follow.

Input

**Parameter****Mandatory****Comment**
POVPoint of View in String Syntax

e.g S#ACTatACIFRS.E#TGROUPCONT.Y#2023.P#DEC

Member Display TypeWhether you are providing the ID of the member or the name.
  • SHOWIDS
  • SHOWNAMES

Example

SetPOVExtDim("S#ACTatACIFRS.Y#2023.P#DEC.W#YTD.E#TGROUP.V#<Entity Currency>.A#TOTNI.I#[ICP Top].C1#TOTC1.C2#TOTC2.C3#TOTC3.C4#TOTC4","SHOWNAMES");
Logon

Logs into HFM based on the environment you are in.

Input

**Parameter****Mandatory****Comment**
UnusedDoes not appear to be used but should be True or False
DomainLogin Domain
UsernameLogin User Name
PasswordLogin Password

Example

Logon("false", "", "user", "password");
Logout

Logs out of HFM

Input

None

Example

Logout();
DeleteApplication

Deletes the Application from the Server

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
ServerServer or Cluster to run the command
ApplicationApplication to be deleted.

Example

DeleteApplication("Server","Application");
CreateApplicationExtDim

Creates an Application on the Server

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
ServerServer or Cluster to run the command
ApplicationApplication to be created.
Application DescriptionDescription of the Application
Profile FilePath to Profile File

Creating a Profile File: [https://docs.oracle.com/cd/E57185\_01/HFMAD/ch02s04.html](https://docs.oracle.com/cd/E57185_01/HFMAD/ch02s04.html)

Local StorageWhere the application should be stored
Project NameProject Name
Web URLURL to App
Application TypeType of Application:
  • STANDARD_CONSOL (Consolidation app)
  • TAX_PROV (Tax App)

Example

CreateApplicationExtDim("Server","Application","ApplicationDescription","ProfilePath","StorageFolder","ProjectName","http://myServer:80/HFM","6");
OpenApplication

Opens the specified application

Input

**Parameter****Mandatory****Comment**
ClusterCluster or Server to Open Application On
ApplicationApplication to Open

Example

OpenApplication("Cluster","Application");
CloseApplication

Closes application that was opened in the session

Input

None

Example

CloseApplication();
shutdownApplication

Shuts down the application on all the Jhsxserver instances across all the clusters and servers.

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
ApplicationApplication to be shutdown.

Example

shutdownApplication("Application");
deleteAllApplications

Deletes all registered applications

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
ServerServer to delete applications on

Example

DeleteAllApplications("Server");
CopyApplication

Copies one application to another

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
Source ApplicationThe application to copy from
Target ApplicationThe new application
Application DescriptionNew application description
ClusterCluster to copy application on
Project NameProject Name
Copy Audit TablesCopy the audit tables?
  • true
  • false
Copy Data TablesCopy the data tables?
  • true
  • false

Example

CopyApplication("Original Application Name", "New Application Name", "Application Description", "Cluster","Project Name", "Copy Audit Tables", "Copy Data Tables");
SetPreferences

Sets Preferences of Application

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
ApplicationApplication to set preferences on
ClusterCluster to set preferences on
LanguageLanguage Preference
  • English
  • French
  • German
  • Italian
  • Japanese
Decimal CharacterDecimal Preference
Thousands CharacterThousands delimiter
Save in Unicode FormatSave in Unicode
  • true
  • false
Use Doc Manager as DefaultOpen Document Manager by Default
  • true
  • false

Example

SetPreferences("Application Name", "Cluster","Language", "Decimal Character", "Thousands Character", "Save in Unicode format", "Use DocManager as default Page");
GetPreferences

Gets the preferences of an application and writes them to an output file

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
ApplicationApplication to set preferences on
ClusterCluster to set preferences on
Output File PathPath to output file

Example

GetPreferences("Application Name", "Cluster","Output File Path");
ModifyApplication

[Modify the application](https://docs.oracle.com/cd/E57185_01/OHFMA/help_modifyapp.htm#OHFMA-applications_508)

Be careful when running this command.

Input

**Parameter****Mandatory****Comment**
ApplicationApplication to set preferences on
ClusterCluster to set preferences on
Number of YearsNumber of years the application should have from beginning
Enable Process ControlEnable Process Control
  • true
  • false
Enable Manage OwnershipEnable Manage Ownership
  • true
  • false
Enable JournalsEnable Journals
  • true
  • false
Enable Data ManagementEnable Data Management
  • true
  • false
Enable Task AuditEnable Task Audit
  • true
  • false
Enable Intercompany TransactionsEnable Intercompany Transactions
  • true
  • false
Enable Equity PickupEnable Equity Pickup
  • true
  • false

Example

ModifyApplication("Application Name","Cluster Name", "No Of Years", "EnableProcessControl", "EnableManageOwnership","EnableJournals", "EnableDataManagement", "EnableAuditTasks", "EnableIntercompanyTransactions", "EnableEquityPickUp");

JHAT Commands: Data Form

Overview

These commands are related to the Data Form

Commands

GetForm

Get the data form and save it to an output file in HTML format.

Input

**Parameter****Mandatory****Comment**
Path in document managerPath in Document Manager where Form is located
Form NameForm Name to Get
Output FileOutput file
Use the user POVUse the user POV
  • true
    • Use POV set by SetPOV
  • false
    • Use the POV defined in the form
Suppress Row Header RepeatsSuppress Row Header Repeats
  • true
  • false
Suppress NoData RowsSuppress NoData Rows
  • true
  • false
Suppress Invalid RowsSuppress Invalid Rows
  • true
  • false
Suppress Column Header RepeatsSuppress Column Header Repeats
  • true
  • false
Suppress NoData ColumnSuppress NoData Column
  • true
  • false
Suppress Invalid ColumnSuppress Invalid Column
  • true
  • false

Example

GetForm("Path in the document manager", "Form name", "Out file", "Use the user POV", "Supress row header repeats", "Supress NoData Rows", "Supress Zero Rows","Supress Invalid Rows", "Supress column header repeats", "Supress No data Columns", "Supress zero columns", "Supress Invalid Columns");
ExecuteOnDemandRule

Execute an On Demand Rule based on Set POV

Input

**Parameter****Mandatory****Comment**
Rule NameOn Demand Rule to Execute
  • Must be a valid Rule
  • Uses POV set by SetPOV

Example

ExecuteOnDemandRule("RuleName");

JHAT Commands: Data Grid

Overview

These JHAT Commands relate to the data grid.

Data grids are a powerful feature in HFM (Hyperion Financial Management) that allow users to view and manipulate financial data in a flexible and dynamic manner. Essentially, a data grid is a spreadsheet-like interface that displays financial data organized by dimensions such as time, accounts, entities, and scenarios.

With data grids in HFM, users can perform a range of tasks such as entering, editing, and aggregating data, performing calculations and consolidations, and exporting data for analysis or reporting. They can also customize the appearance and behavior of the data grid by selecting columns, filtering data, and applying formatting options.

Data grids in HFM offer several benefits for financial reporting and analysis. They provide a highly interactive and user-friendly interface for accessing and manipulating financial data, which can improve efficiency and accuracy in financial reporting processes. They also allow for real-time data analysis and scenario planning, which can help organizations to make informed financial decisions and respond quickly to changes in the business environment.

Overall, data grids are an essential tool for any organization using HFM for financial management and reporting, providing a powerful and flexible way to manage financial data and support effective decision-making.

Commands

DefineGrid

The define Grid Command will set up a grid with a POV that can be used in later commands.

Should call `SetPOV` prior to running this function to set up the rest of the POV.

Input

**Parameter****Mandatory****Comment**
Row DimensionRow Dimension
Row ListRow List
Row Top MemberRow Top Member
Column DimensionColumn Dimension
Column ListColumn List
Column Top MemberColumn Top Member

Example

DefineGrid("Row Dimension"," Row List"," Row Top Member"," Column Dimension"," Column List"," Column Top Member");
DefineGrid("Account","[Hierarchy]","","Period","[Hierarchy]","");
DefineGridExtDim / DefineDataRetrieval

Defines a Grid by passing in Rows and Dimensions. The grid can be used in later commands.

Both commands appear to call the same API codes.

Should call `SetPOV` prior to running this function to set up the rest of the POV.

Input

**Parameter****Mandatory****Comment**
Row DimensionsRow Dimensions
Column DimensionsColumn Dimensions

Example

DefineGridExtDim("Account","ICP");
DefineDataRetrieval("Account","ICP");
GetGrid

Extract a previously defined grid to a flat file.

Must run `SetPOV` and `DefineGrid` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Output FileLocation to store the output file
Type of ExtractType of Extract
  • VALUE - Values in Grid
  • STATUS - Calculation Status
  • NOTHING - Returns how many rows would be retrieved.
  • DROID - Unknown
  • CALCSTATUS - Calculation Status
  • PROCESS - Process Level
  • STATUSHEX - Cell Status in Hex
Direction to ExtractDirection of Extract
  • UP - If number of rows to extract is set, it will start from the top.
  • DOWN - If number of rows to extract is set, it will start from the bottom.
  • ALL - Will start from the top.
Number of Rows To ExtractNumber of Rows To Extract

Example

GetGrid("Output File"," Type of Extract"," Direction to Extract"," Number of Rows To Extract");
GetGridExtDim / GetCellsExtDim

Extract a previously defined grid to a flat file.

Both commands call the same Java code.

Must run `SetPOV` and `DefineGrid` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Output FileLocation to store the output file
Type of ExtractType of Extract
  • VALUE - Values in Grid
  • STATUS - Calculation Status
  • NOTHING - Returns how many rows would be retrieved.
  • DROID - Unknown
  • CALCSTATUS - Calculation Status
  • PROCESS - Process Level
  • STATUSHEX - Cell Status in Hex

Example

GetGridExtDim("<Output File Path>", "<Type of Extract>");
SetCell

Sets the value of a Cell based on a POV. Cell will have to be inputable.

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
ValueValue

Example

SetCell("999999");
GetCell

Gets the value of a Cell based on a POV.

Must run `SetPOV` prior to running this command.

Input

None

Example

GetCell();

Returns the following information to the log:

  • Displayed Data
  • Full Resolution data
  • Stored data
  • Calculation status
  • Cell status
GetCellInfo

Gets the Cell Info and Outputs it to the log.

Must run `SetPOV` prior to running this command.

Input

None

Example

GetCellInfo();

Returns the following information to the log:

---- Point of view ----
Process Unit
POV Detail
View
Phase
Account Calculation Attribute
---- Status ----
Calculation status
Process Level
Cell status
Cell security class
---- Data ----
Scale
Num Decimals
Displayed Data
Full Resolution data
Stored data
Lock

Runs the [Lock](https://docs.oracle.com/cd/E57185_01/HFMUR/ch04s09.html) command on the selected POV

Must run `SetPOV` prior to running this command.

Input

None

Example

Lock();
Unlock

Runs the [Unlock](https://docs.oracle.com/cd/E57185_01/HFMUR/ch04s10.html) command on the selected POV

Must run `SetPOV` prior to running this command.

Input

None

Example

Unlock();
Translate

Runs the [Translate](https://docs.oracle.com/cd/E57185_01/HFMUR/ch05s05.html) command on the selected POV

Must run `SetPOV` prior to running this command.

Input

None

Example

Translate();
Allocate

Runs the [Allocate](https://docs.oracle.com/cd/E57185_01/HFMUR/ch04s07.html) command on the selected POV

Must run `SetPOV` prior to running this command.

Input

None

Example

Allocate();
Consolidate

Runs the [Consolidate](https://docs.oracle.com/cd/E57185_01/HFMUR/ch05s07.html) command based on the `SetPOV`.

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Consolidation TypeThe type of consolidation to run:
  • Impacted
  • AllWithData
  • All
  • EntityOnly (Calculate Contribution)
  • ForceEntityOnly (Force Calculate Contribution)

Example

Consolidate("Impacted");
ChartLogic

Runs the [Calculate](https://docs.oracle.com/cd/E57185_01/HFMUR/ch05s04.html) command based on the `SetPOV`.

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Force CalculateForce Calculate
  • true
  • false

Example

ChartLogic("true");
SetCellTextEnhanced

Sets the cell text for an intersection.

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Cell labelCell label
Text for the labelText for the label

Example

SetCellTextEnhanced("Cell label"," Text for the label");
deleteCellTextEnhanced

Deletes Cell Text for an Intersection

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Cell labelCell label
What to DeleteWhat to Delete:
  • All
  • Text
  • Attachments

Example

deleteCellTextEnhanced("Cell label"," All or Text or Attachments;");
DetachCellDocument

Removes a document from the Cell

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Cell labelCell label
File NameFile Name

Example

DetachCellDocument("Cell Text Label","File Name");
AttachCellDocumentEnhanced \\ AttachCellDocument

Attach a document to the Cell

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Cell labelCell label
File NameFile Name
Full Directory from Manage DocumentsFull Directory from Manage Documents

Example

AttachCellDocumentEnhanced("<Cell Text Label>", "<File name>", "<Full Directory from Manage Documents>");
AttachCellDocument("<Cell Text Label>", "<File name with Full Directory>");
GetCellTextAttachmentsEnhanced

Get Cell Text Attachments

Input

**Parameter****Mandatory****Comment**
Cell labelCell label
Full Path to File NameFull Path to File Name

Example

GetCellTextAttachmentsEnhanced("<Cell Text Label or All>", "<Full Path to File Name>");
GetCellTextEnhanced

Get Cell Text Attachments

Input

**Parameter****Mandatory****Comment**
Cell labelCell label
Full Path to File NameFull Path to File Name

Example

GetCellTextEnhanced("<Cell Text Label or All>", "<Full Path to File Name>");
LockICEntity

Locks an entity for a given scenario, year, and period.

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
EntityEntity

Example

LockICEntity("Scenario"," Year"," Period"," Entity");
UnlockICEntity

Unlocks an entity for a given scenario, year, and period.

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
EntityEntity

Example

UnlockICEntity("Scenario"," Year"," Period"," Entity");
GetCellHistory

Gets the history of an intersection.

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
File PathOutput file path

Example

GetCellHistory("output file path");
GetCellEntityDetails

Gets the Cell Entity Details

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
File PathOutput file path

Example

GetCellEntityDetails("output file path");
GetProcessControlGrid

Output the process control grid to a file.

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Output FileFile to output the Grid to
Type of ExtractType of Extract
  • VALUE - Values in Grid
  • STATUS - Calculation Status
  • NOTHING - Returns how many rows would be retrieved.
  • DROID - Unknown
  • CALCSTATUS - Calculation Status
  • PROCESS - Process Level
  • STATUSHEX - Cell Status in Hex
Direction to Extract Direction of Extract
  • UP - If number of rows to extract is set, it will start from the top.
  • DOWN - If number of rows to extract is set, it will start from the bottom.
  • ALL - Will start from the top.
Number of Rows To ExtractNumber of Rows To Extract

Example

GetProcessControlGrid("Output File"," Type of Extract"," Direction to Extract"," Number of Rows To Extract");
GetSourceTransactions

Returns information on source transactions for a cell in a statutory application.

Must run `SetPOV` prior to running this command.

The following information is returned:

  • Header information, such as the dimension members that define the cell, the current username, the cell’s data, and so on. This information is returned in two arrays that have a one-to-one correspondence; one array contains labels for the header information, the other contains the values that correspond to the labels.
  • Detailed information on the transactions, such as the dimension members and data for the transactions. This information is contained in several arrays; the arrays contain one item per transaction, and have a one-to-one correspondence.
  • The sums of the cell’s source and destination transaction amounts.

Input

**Parameter****Mandatory****Comment**
Output File Path Output File Path

Example

GetSourceTransactions("Output File Path");
GetDestinationTransactions

Returns information on destination transactions for a cell in a statutory application.

Must run `SetPOV` prior to running this command.

The following information is returned:

  • Header information, such as the dimension members that define the cell, the current username, the cell’s data, and so on. This information is returned in two arrays that have a one-to-one correspondence; one array contains labels for the header information, the other contains the values that correspond to the labels.
  • Detailed information on the transactions, such as the dimension members and data for the transactions. This information is contained in several arrays; the arrays contain one item per transaction and have a one-to-one correspondence.
  • The sums of the cell’s source and destination transaction amounts.

Input

**Parameter****Mandatory****Comment**
Output File Path Output File Path

Example

GetDestinationTransactions("Output File Path");
GetLineItemDetail

In the Entity Detail Report, the option to display line item detail is only applicable for the scenario and account defined to use line item detail. Line item detail information is available only for the Entity Currency Value dimension.

Must run `SetPOV` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Output File PathOutput File Path

Example

GetLineItemDetail("Output File Path");
SetLineItemDetail

Line item detail enables you to collect detailed information about accounts. This function sets the detail

Input

**Parameter****Mandatory****Comment**
POV Item List NumberPOV Item List Number
Cell Values Item List NumberCell Values Item List Number
DescriptionDescription

Example

SetLineItemDetail("POV ITem List Number","Cell Values Item List Number","Description");
FilterProcessControlGrid

Export Process Control Grid based on a Filter

Input

**Parameter****Mandatory****Comment**
Output File NameOutput File Name
Type of ExtractType of Extract
  • VALUE - Values in Grid
  • STATUS - Calculation Status
  • NOTHING - Returns how many rows would be retrieved.
  • DROID - Unknown
  • CALCSTATUS - Calculation Status
  • PROCESS - Process Level
  • STATUSHEX - Cell Status in Hex
Direction to ExtractDirection of Extract
  • UP - If number of rows to extract is set, it will start from the top.
  • DOWN - If number of rows to extract is set, it will start from the bottom.
  • ALL - Will start from the top.
Number of Rows To ExtractNumber of Rows To Extract
PhasePhase to filter on
  • All
  • 1
  • 2
  • 3
  • etc
Review LevelReview Level to filter on
  • ALL
  • NOT STARTED
  • FIRST PASS
  • LEVEL 1
  • LEVEL 2
  • LEVEL 3
  • LEVEL 4
  • LEVEL 5
  • LEVEL 6
  • LEVEL 7
  • LEVEL 8
  • LEVEL 9
  • LEVEL 10
  • SUBMITTED
  • APPROVED
  • PUBLISHED
RangeRange
  • ALL
  • AND ABOVE
  • AND BELOW
  • ONLY
Show Pass/FailShow Pass/Fail
  • PASS AND FAIL
  • PASS ONLY
  • FAIL ONLY
StatusStatus
  • NODATA
  • OK
  • OK SC
  • CH
  • CN
  • TR
  • OK ND
  • CH ND
  • CN ND
  • TR ND
  • LOCKED
  • ALL
Data ViewData View
  • Value
  • Translation
  • Contribution
SORTSORT
  • Ascending
  • Descending

Example

FilterProcessControlGrid("Output File Name"," Type of Extract"," Direction to Extract"," Number of Rows To Extract"," Phase"," Review Level","Range"," Show Pass/Fail"," Status"," Data View"," SORT");
DisplayProcessControlGrid

Output the Process Control Grid

Input

**Parameter****Mandatory****Comment**
Output File NameOutput File Name
Type of ExtractType of Extract
  • VALUE - Values in Grid
  • STATUS - Calculation Status
  • NOTHING - Returns how many rows would be retrieved.
  • DROID - Unknown
  • CALCSTATUS - Calculation Status
  • PROCESS - Process Level
  • STATUSHEX - Cell Status in Hex
Direction to ExtractDirection of Extract
  • UP - If number of rows to extract is set, it will start from the top.
  • DOWN - If number of rows to extract is set, it will start from the bottom.
  • ALL - Will start from the top.
Number of Rows To ExtractNumber of Rows To Extract
Data ViewData View
  • Value
  • Translation
  • Contribution
StyleStyle
  • Tree
  • <Blank> (Default)
Entity ViewEntity View
  • Label
  • Description
  • Both
ActiveActive
  • Y
  • N
Period ViewPeriod View
  • All
  • Single
Review Level ColumnsReview Level Columns.

Multiple selections can be comma delimited.

  • REVIEW
  • PASS
  • VALIDATION
Status ColumnsStatus Columns
  • CALC
  • JOURNAL
PhasesALL | Phase NumberPhases

Multiple selections can be comma delimited.

  • ALL
  • 1
  • 2
  • 3

Example

DisplayProcessControlGrid("File Name"," Type of Extract"," Direction to Extract"," Number of Rows To Extract"," Data View"," Style"," Entity View"," ActiveY|N"," Period View "," Review Level Columns"," Status Columns"," PhasesALL | Phase Number");
GetReviewLevelSummary

Output the Review Level Summary to a file.

Must run `SetPOV` and `DefineGrid` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Output File NameOutput File Name

Example

GetReviewLevelSummary("File Name");
GetCalcStatusSummary

Output Calculation Status Summary which shows the number of entities at each status.

Must run `SetPOV` and `DefineGrid` prior to running this command.

Input

**Parameter****Mandatory****Comment**
Output File NameOutput File Name
DATA VIEWData View
  • Value
  • Translation
  • Contribution

Example

GetCalcStatusSummary("File Name","DATA VIEW");
GetValidationAccountInfo

Get information on Validation Account

Input

**Parameter****Mandatory****Comment**
POVPoint of View
PhasePhase Number
Data ViewData View
  • Value
  • Translation
  • Contribution
Suppress ZeroSuppress Zero
  • true
  • false
Suppress NODATASuppress NODATA
  • true
  • false
Formatted DataFormatted Data
  • true
  • false
OUTPUT file pathOUTPUT file path

Example

GetValidationAccountInfo("POV"," PHASE NO."," DATA VIEW"," Suppress ZEROs"," Suppress NODATA"," Formatted Data"," OUTPUT file path");
GetCellStatus

Get the Cell Status

Input

None

Example

GetCellStatus("");

JHAT Commands: Documents

Overview

These JHAT Commands are related to document management

Commands

EnumDocuments

Get a list of all the documents in a defined path

Input

**Parameter****Mandatory****Comment**
PathPath
Document TypeDocument Type
Document File typeDocument File type
Show PrivateShow Private
Output File PathOutput File Path

Example

EnumDocuments(" Path"," Document Type"," Document File type"," Show Private"," Output File Path");
EnumTasksUnderTaskList

Get a List of all tasks under a task list

Input

**Parameter****Mandatory****Comment**
PathPath
TaskList NameTaskList Name
OutFileOutFile

Example

EnumTasksUnderTaskList("Path"," TaskList Name"," OutFile");
DeleteDocument

Delete a document

Input

**Parameter****Mandatory****Comment**
Doc nameDoc name
Doc TypeDoc Type
File TypeFile Type
FolderFolder

Example

DeleteDocument("Doc name"," Doc Type"," File Type"," Folder");
CreateTaskList

Create a Task List

Input

**Parameter****Mandatory****Comment**
namename
DescriptionDescription
Security ClassSecurity Class
isPrivateisPrivate
OverwriteOverwrite
LocationLocation

Example

CreateTaskList("name"," Description"," Security Class"," isPrivate"," Overwrite"," Location");
AddTaskToTaskList

Add Task to a Task List

Input

**Parameter****Mandatory****Comment**
task list nametask list name
task list pathtask list path
doc namedoc name
doc pathdoc path
doc typedoc type
file typefile type
overWriteoverWrite

Example

AddTaskToTaskList("task list name "," task list path"," doc name"," doc path"," doc type"," file type"," overWrite");
DeleteTaskFromTaskList

Delete a task from the task list

Input

**Parameter****Mandatory****Comment**
task list nametask list name
task list pathtask list path
doc namedoc name
doc pathdoc path
doc typedoc type
file typefile type
overWriteoverWrite

Example

DeleteTaskFromTaskList("task list name "," task list path"," doc name"," doc path"," doc type"," file type"," overWrite");

JHAT Commands: EPU

Overview

These JHAT commands are related to Equity Pickup

Equity pickup (EPU) functionality enables you to revaluate the investments owned by a holding company. The purpose of the reevaluation is to adjust the investments in the Balance Sheet of the holding company to reflect the current value of the corresponding share in the equity of the subsidiary. The underlying principle of the equity pickup adjustment is to provide a fair picture of the value of the portfolio owned by the holding company.

Like most assets, investments are presented in the Balance Sheet at their historical cost. Investment amounts reflect acquisition prices. However, due to profit or loss incurred in the subsidiary since the acquisition, historical cost may differ from the actual value of the investment owned. In the case of a subsidiary in a foreign country, exchange currency fluctuations may also affect the value of the investment when translated into the holding company's currency. Equity pickup adjustments account for this difference.

An equity pickup adjustment replaces the historical cost with the actual value of the equity owned. In this respect, equity pickup is similar to the equity method in statutory consolidation.

Equity pickup adjustments are made in the local currency of the holding company, before any consolidation of this holding into the group. These adjustments belong to the holding company, independently from any ultimate parent entity.

For each company owned, the adjustment is expressed as follows:

Direct Ownership Percentage * Equity of Owned Entity
= Current Equity Value
- Investment
= Equity Pickup Adjustment

Commands

FilterEPUGrid

Filter an EPU Grid

Input

**Parameter****Mandatory****Comment**
“Scenario”“Scenario”
”Year””Year”
“Period”“Period”
“Owner”“Owner”
“Owned”“Owned”
“Circular Ownership”“Circular Ownership”
“Status”“Status”
“ShowCombination”“ShowCombination”
“Column Display Type”“Column Display Type”
“No of decimals”“No of decimals”
“%EPU comparator”“%EPU comparator”
“%EPU”“%EPU”
“Min Level”“Min Level”
“Max Level”“Max Level”
“OutputFilePath”“OutputFilePath”

Example

FilterEPUGrid("“Scenario”","”Year”","“Period”","“Owner”","“Owned”","“Circular Ownership”","“Status”","“ShowCombination”","“Column Display Type”","“No of decimals”","“%EPU comparator”","“%EPU”","“Min Level”","“Max Level”","“OutputFilePath”");
CalcEPU

Calculate an EPU Grid

Input

**Parameter****Mandatory****Comment**
Run/Force for type of EPU;Run/Force for type of EPU;

Example

CalcEPU("Run/Force for type of EPU;"," ");
GenerateEPUReport

Generate an EPU Report

Input

**Parameter****Mandatory****Comment**
“POV”“POV”
”HFM\_FORMAT””HFM\_FORMAT”
“OutputFilePath”“OutputFilePath”

Example

GenerateEPUReport("“POV”","”HFM_FORMAT”","“OutputFilePath”");
GenerateFilteredEPUReport

Generate a Filtered EPU Report

Input

**Parameter****Mandatory****Comment**
“POV”“POV”
”HFM\_FORMAT””HFM\_FORMAT”
“Owner”“Owner”
“Owned”“Owned”
“Circular Ownership”“Circular Ownership”
“Status”“Status”
“ShowCombination”“ShowCombination”
“OutputFilePath”“OutputFilePath”

Example

GenerateFilteredEPUReport("“POV”","”HFM_FORMAT”","“Owner”","“Owned”","“Circular Ownership”","“Status”","“ShowCombination”","“OutputFilePath”");

JHAT Commands: Extracts

Overview

These JHAT commands are related to extracting data from HFM

Commands

InitLists

Initializes a list that can be attached to an extract

Input

**Parameter****Mandatory****Comment**
InitListsInitLists

Example

InitLists();
ClearList

Clear List

Input

**Parameter****Mandatory****Comment**
List to ClearSelect Which List to Clear

Example

ClearList("List to Clear");
AddItemsToListFromMemberlist

Add Item to List from Member List

Input

**Parameter****Mandatory****Comment**
ListNumeric Value of the List
DimensionWhich Dimension
ListList
Parent NameParent Name

Example

AddItemsToListFromMemberlist("9","Entity"," [Descendants]"," Regional; ");
AddItemToList

Add item to a list

Input

**Parameter****Mandatory****Comment**
ListNumeric Value of the List
ValueValue
ListList

Example

AddItemToList("1","Value"," [elimination]");
ExtractMetaData

Extract Metadata from HFM

Input

**Parameter****Mandatory****Comment**
Output File NameOutput File Name
Output LogOutput Log
DelimiterDelimiter
  • ;
  • ,
Extract CurrenciesExtract Currencies
  • true
  • false
Extract ScenariosExtract Scenarios
  • true
  • false
Extract EntitiesExtract Entities
  • true
  • false
Extract AccountsExtract Accounts
  • true
  • false
Extract Custom 1Extract Custom 1
  • true
  • false
Extract Custom 2Extract Custom 2
  • true
  • false
Extract Custom 3Extract Custom 3
  • true
  • false
Extract Custom 4Extract Custom 4
  • true
  • false
Extract Consolidation MethodsExtract Consolidation Methods
  • true
  • false
Extract App SettingsExtract App Settings
  • true
  • false
Extract System Accounts Extract System Accounts
  • true
  • false
Extract ValuesExtract Values
  • true
  • false
Extract ICPsExtract ICPs
  • true
  • false
Extract Cell Text LabelsExtract Cell Text Labels
  • true
  • false

Example

ExtractMetaData("C:hfmoutboxMetadata__HFM2.04.app"," C:hfmoutboxMetadataExtract.log"," ;"," true"," true"," false"," false"," false"," false"," true"," false"," false"," true","true","true","true"," true");
ExtractMetaDataExtDim

Extracting Metadata from HFM

Input

**Parameter****Mandatory****Comment**
File NameExtract File Name
Log File NameLog File Name
DelimiterDelimiter
Dimensions to ExtractDimensions to Extract delimited by period
Extract CurrenciesExtract Currencies
  • true
  • false
Extract Application SettingsExtract Application Settings
  • true
  • false
Extract Consolidation MethodsExtract Consolidation Methods
  • true
  • false
Extract System AccountsExtract System Accounts
  • true
  • false
Extract Cell Label TextsExtract Cell Label Texts
  • true
  • false

Example

ExtractMetaDataExtDim("<Extract filename>", "<Log filename>", "<Delimiter>", "<DimensionsToExtract>", "<ExtractCurrencies>", "<Extract AppSettings>", "<ExtractConsolMethods>", "<Extract SystemAccounts>", "<cell text labels>");
ExtractData

Extracting Data from HFM

Input

**Parameter****Mandatory****Comment**
File NameExtract File Name
LogLog File
DelimiterDelimiter
  • ,
  • ;
ViewView
YearYear
ScenarioScenario
PeriodPeriod
  • All
  • Use Add item to List
EntityEntity
  • All
  • Use Add item to List
AccountAccount
  • All
  • Use Add item to List
Inclue Calculated DataInclude Calculated Data
  • true
  • false

Example

ExtractData("d:\\Data_Extract.txt", "d:\\Data_Extract.log", ";", "YTD", "2021", "Actual", "6", "7", "8", "true");
EAExtract

Extended Analytics (to table) Extract

Input

DSN NameDSN Name
Table PrefixTable Prefix
Aggregate OptionAggregate Option
Filter Dynamic AccountsFilter Dynamic Accounts
ScenarioScenario
YearYear
Period ListPeriod List
View ListView List
Entity ListEntity List
Value ListValue List
Account ListAccount List
ICP ListICP List
Custom 1Custom 1
Custom 2Custom 2
Custom 3Custom 3
Custom 4Custom 4

Example

EAExtract("DSN Name","Table prefix","Aggregate option","Filter dynamic accoutns", "Scenario","Year", "Period list", "View List","Entity list", "Value list", "Account list", "ICP list", "custom 1", "Cusom 2", "Custom 3", "Custom 4");
ExtractPhaseInfo

Extract information about the Phases

Input

**Parameter****Mandatory****Comment**
Export FileExport File Path
Log FileLog File Path
DelimiterDelmiter

Example

ExtractPhaseInfo("c:VoyagerData_Extract.dat"," c:VoyagerData_Extract.log","; ");
ExtractSecurity

Extract Security Information

Input

**Parameter****Mandatory****Comment**
Security FilePath to Security File
Log FilePath to Log File

Example

ExtractSecurity("c:VoyagerSecurity_Extract.sec","c:VoyagerSecurity_Extract.log");
ExtractSecurityExpanded

Extract Security

Input

**Parameter****Mandatory****Comment**
Security FilePath to Security File
Log FilePath to Log File

Example

ExtractSecurityExpanded("c:VoyagerSecurity_Extract.sec","c:VoyagerSecurity_Extract.log");
ExtractJournal

Extract Journal Entries

Input

**Parameter****Mandatory****Comment**
Export FilePath to Export File
Log FilePath to Log File
Extract StandardExtract Standard
  • true
  • false
Extract RecurringExtract Recurring
  • true
  • false
Extract RegularExtract Regular
  • true
  • false
ScenarioScenario
Year Year
PeriodPeriod
DelimiterDelimiter

Example

ExtractJournal("Journal File"," Log File","Extract Standard","Extract Recurring", "Extract Regular","Scenario","Year","Period","Delmiter");
ExtractJournalPlus

Extract Journals Plus

Must Use `AddItemsToListFromMemberlist` function for Dimension parameters.

Input

**Parameter****Mandatory****Comment**
File NamePath to Export File
Log FilePath to Log File
Extract StandardExtract Standard
  • true
  • false
Extract RecurringExtract Recurring
  • true
  • false
Extract RegularExtract Regular
  • true
  • false
ScenarioScenario
YearYear
PeriodPeriods
  • All
  • JAN
  • FEB
  • MAR
  • etc
EntityEntity
  • All
  • Valid Member List
ValueValue
  • All
  • Valid Member List
LabelsLabels
  • Multiple can be delmited by ;
GroupsGroups
  • Multiple can be delmited by ;
Include `Working` Status?Include `Working` Status?
  • true
  • false
Include `Submitted` Status?Include `Submitted` Status?
  • true
  • false
Include `Approved` Status?Include `Approved` Status?
  • true
  • false
Include `Rejected` Status? Include `Rejected` Status?
  • true
  • false
Include `Posted` Status?Include `Posted` Status?
  • true
  • false
Include `Regular`?Include `Regular`?
  • true
  • false
Include `Auto Reversing`?Include `Auto Reversing`?
  • true
  • false
Include `Auto Reversed`?Include `Auto Reversed`?
  • true
  • false
Include `Balanced`?Include `Balance`?
  • true
  • false
Include `Unbalanced`?Include `Unbalanced`?
  • true
  • false
Include `Balanced by Entity`?Include `Balanced by Entity`?
  • true
  • false
DelimiterDelimiter

Example

ExtractJournalPlus("File Name","Log File","Extract Standard","Extract Recurring","Extract Regular","Scenario","Year","Period","Entity","Value","Labels","Groups","Include Working Status?","Include Submitted Status?","Include Approved Status?","Include Rejected Status? ","Include Posted Status?","Include Regular?","Include Auto Reversing?","Include Auto Reversed?","Include Balanced?","Include Unbalanced?","Include Balanced by Entity?","Delimiter");
ExtractICTransactions

Extract Intercompany Transactions

Must Use `AddItemsToListFromMemberlist` function for Dimension parameters.

Input

**Parameter****Mandatory****Comment**
Extract FilePath to Extract File
ScenarioScenario
YearYear
PeriodPeriod
Entity ListEntity
  • All
  • Valid Member List
ICP ListICP
  • All
  • Valid Member List
Include `Unmatched` Transactions?Include `Unmatched` Transactions?
  • YES
  • NO
Include `Matched` Transactions?Include `Matched` Transactions?
  • YES
  • NO
Include `Mismatched` Transactions?Include `Mismatched` Transactions?
  • YES
  • NO
Include `Posted` Transactions?Include `Posted` Transactions?
  • YES
  • NO
Include `Unposted` Transactions?Include `Unposted` Transactions?
  • YES
  • NO
Include `Unmatched` Transactions?Include `Unmatched` Transactions?
  • YES
  • NO
Include `Reason Code`?Include `Reason Code`?
  • YES
  • NO
Transaction CurrencyTransaction Currency
Match CodeMatch Code

Example

ExtractICTransactions("Extract File","Scenario","Year","Period","Entity List","ICP List","Include Unmatched Transactions?","Include Matched Transactions?","Include Mismatched Transactions?","Include Posted Transactions?","Include Unposted Transactions?","Include Unmatched Transactions?","Include Reason Code?","Transaction Currency","Match Code");
ExtractRules

Extract Rules from HFM

Input

**Parameter****Mandatory****Comment**
Rule File FormatRule File Format
  • RLE
  • XML
Output File PathOutput File Path
Log File PathLog File Path

Example

ExtractRules("Rule File Format","Output File","Log File");
ExtractMemberlists

Extract Member Lists from HFM

Input

**Parameter****Mandatory****Comment**
Output FileOutput File
Log FileLog File

Example

ExtractMemberlists("Output File","Log File");
ExtractDataExtDim

Extract Data Extended

Input

**Parameter****Mandatory****Comment**
POVPOV
Include `Header`?Include `Header`?
  • true
  • false
Include `Data`?Include `Data`?
  • true
  • false
Include `Dynamic Accounts`?Include `Dynamic Accounts`?
  • true
  • false
Include `Calc Data`?Include `Calc Data`?
  • true
  • false
Include `Derived Data`?Include `Derived Data`?
  • true
  • false
Line Item DetailsLine Item Details
  • <Blank> (Exclude)
  • Individual
  • Detail
Include `Cell Text`?Include `Cell Text`?
  • true
  • false
Include `Phase Data`?Include `Phase Data`?
  • true
  • false
DelimiterDelimiter
Output FileOutput File
Log FileLog File

Example

ExtractDataExtDim("POV","Include Header?","Include Data?","Include Dynamic Accounts?","Include Calc Data?","Include Derived Data?","Line Item Details","Include Cell Text?","Include Phase Data?","Delimiter","Output File","Log File");
ExtractDocument

Extract a Document from HFM

Input

**Parameter****Mandatory****Comment**
Document NameDocument Name
Extract FileExtract File
Document TypeDocument Type
File TypeFile Type
FolderFolder

Example

ExtractDocument("Document Name","Extract File","Document Type","File Type","Folder");
ExtractModuleConfiguration

Extract Module Configuration

Input

**Parameter****Mandatory****Comment**
Output File PathOutput File Path
Log File PathLog File Path

Example

ExtractModuleConfiguration("Output File Path","Log File Path");

JHAT Commands: InterCompany

Overview

These JHAT commands will perform intercompany tasks

Commands

InitICTransactionList

Initialize Intercompany Transactions List

Input

None

Example

InitICTransactionList("");
AddICTransactionToList

Add Intercompany Transaction to List

Input

**Parameter****Mandatory****Comment**
POVPoint of View
Transaction IDTransaction ID
Transaction Sub IDTransaction Sub ID

Example

AddICTransactionToList("S#ActMon.Y#2004.P#January.E#C.I#A.A#PayltIC.C1#Increases.C2#[None].C3#[None].C4#[None]","X785","S01");
OpenICPeriod

Open Intercompany Period

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
LabelLabel
MVPBMVPB
  • No
  • Yes
Account ToleranceAccount Tolerance
Manual ToleranceManual Tolerance
Tid ToleranceTid Tolerance
Tid PercentTid Percent

Example

OpenICPeriod("Actual","2000"," Quarter2"," “yes”","","","","");
UpdateICPeriod

Update Intercompany Period

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
LabelLabel
MVPBMVPB
  • No
  • Yes
Account ToleranceAccount Tolerance
Manual ToleranceManual Tolerance
Tid ToleranceTid Tolerance
Tid PercentTid Percent

Example

UpdateICPeriod("Actual","2000"," Quarter2"," “yes”","","","","");
ProcessAllICTransactions

Process All Intercompany Transactions

Input

**Parameter****Mandatory****Comment**
Process ActionAction to perform on IC Transactions
  • Post
  • UnPost
  • Delete
  • UnMatch
ScenarioScenario
YearYear
PeriodPeriod

Example

ProcessAllICTransactions("Delete","ActMon","2004","January");
ProcessICTransaction

Process Intercompany Transaction

Input

**Parameter****Mandatory****Comment**
Process ActionAction to perform on IC Transactions
  • Post
  • UnPost
  • Delete
  • UnMatch
ScenarioScenario
YearYear
PeriodPeriod

Example

ProcessICTransaction("Delete","Scenario","Year","Period");
ProcessICTransactions

Process Intercompany Transactions

Input

**Parameter****Mandatory****Comment**
Process ActionAction to perform on IC Transactions
  • Post
  • UnPost
  • Delete
  • UnMatch
POVPoint of View
Transaction IDTransaction ID
Transaction Sub IDTransaction Sub ID

Example

ProcessICTransactions("Delete","S#ActMon.Y#2004.P#January.E#C.I#A.A#PayltIC.C1#Increases.C2#[None].C3#[None].C4#[None]","X785","S01"," ");
CreateICTransaction

Create IC Transaction

Input

**Parameter****Mandatory****Comment**
POVPoint of View
Transaction IDTransaction ID
Sub IDSub ID
Reference IDReference ID
Transaction DateTransaction Date
Transaction CurrencyTransaction Currency
Transaction AmountTransaction Amount
Entity Currency Amount Entity Currency Amount
Comment 1Comment 1
Comment 2Comment 2
Reason codeReason code
Conversion RateConversion Rate

Example

CreateICTransaction("S#ActMon.Y#2004.P#January.E#C.I#A.A#PayltIC.C1#Increases.C2#[None].C3#[None].C4#[None]","Trans id","Sub id"," Ref id","trans date"," trans currency"," trans amount"," entity currency amount"," commnet1 "," comment2","Reason code","Conversion Rate");
ICAutoMatchByID

Intercompany Auto Match by ID

Must Call `AddICTransactionToList` prior to calling this

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Entity ListEntity List
  • All
  • Valid Entity List
ICP ListICP List
  • All
  • Valid ICP List
Transaction Currencyno
Transno
nono
TransactionTransaction
S12S12
Is Transaction IdIs Transaction Id
Transaction IDsTransaction IDs

Example

ICAutoMatchByID("ActMon","2004","January","1","2","no","no","no","Transaction","S12","S13","S15");
CloseICPeriod

Close Intercompany Period

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
LabelLabel

Example

CloseICPeriod("Actual","2000"," Quarter2");
ICAutoMatchByAccount

Intercompany Auto match by Account

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Entity ListEntity List
ICP ListICP List
Transaction CurrencyTransaction Currency
nono
nono
Entity AccountsEntity Accounts
Parent AccountsParent Accounts

Example

ICAutoMatchByAccount("ActMon","2004","January","1","2","no","no","no","","");
CreateReasonCode

Create Reason Code

Input

**Parameter****Mandatory****Comment**
LabelLabel
DescriptionDescription

Example

CreateReasonCode("Label","Description");
DeleteReasonCode

Delete Reason Code

Input

**Parameter****Mandatory****Comment**
LabelLabel

Example

DeleteReasonCode("Label");
DeleteAllReasonCodes

Delete All Reason Codes

Input

None

Example

DeleteAllReasonCodes("");
ListReasonCodes

List Reason Codes

Input

**Parameter****Mandatory****Comment**
File PathOutput file path

Example

ListReasonCodes("File Path");
ListICPeriods

List Intercompany Periods

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
Output FileOutput File Path

Example

ListICPeriods("Scenario","Year","Output File");
GetICTransactions

Get Inter Company Transactions

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Output FileOutput File

Example

GetICTransactions("Scenario","Year","Period","Output File");
FilterICTransactions

Filter Intercompany Transactions

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
EntityEntity
ICPICP
Entity Account ListEntity Account List
Partner AccountPartner Account
Transaction IDTransaction ID
Transaction Sub IDTransaction Sub ID
Reference IDReference ID
Amount FromAmount From
Amount ToAmount To
Reason CodeReason Code
Match CodeMatch Code
Transaction CurrencyTransaction Currency
Start DateStart Date
End DateEnd Date
Display Entity TransactionDisplay Entity Transaction
Display Partner TransactionDisplay Partner Transaction
Include Matched?Include Matched?
  • true
  • false
Include Unmatched?Include Unmatched?
  • true
  • false
Include Mismatched?Include Mismatched?
  • true
  • false
Include Posted?Include Posted?
  • true
  • false
Include Unposted?Include Unposted?
  • true
  • false
Output FileOutput File

Example

FilterICTransactions("ActMon","2012","January","Entity","ICP","Entity Account List","Partner Account","Trans ID","Trans SUB ID","Reference ID","Amount From","Amount to","Reason Code","Match Code","Trans Currency","Start date", "End Date", "Display entity trans", "Display partner trans", "include matched", "inlucded unmatched", "include mismatched", "include posted", "include unposted", "C:SourceJhatreportsgetICTTransactions.txt");
DisplayICTransactions

Display Intercompany Transactions

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Scale FactorScale Factor
Decimal OverrideDecimal Override
Common CurrencyCommon Currency
Display OptionDisplay Option
  • Label
  • Description
  • Both
Output FileOutput File

Example

DisplayICTransactions("Scenario","Year","Period","Scale Factor","Decimal Override","Common Currency","Display Option","Output File");
LockICEntity

Lock Intercompany Entity

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
LabelLabel
Entity StringEntity String delimited by `,`

Example

LockICEntity("Actual","2000"," Quarter2","EastSales,China");
UnLockICEntity

Unlock Intercompany Entity

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
LabelLabel
Entity StringEntity String delimited by `,`

Example

UnLockICEntity("Actual","2000"," Quarter2"," EastSales,China");
EditICTransaction

Edit Intercompany Transaction

Input

**Parameter****Mandatory****Comment**
POVPOV
Transaction IDTID
Transaction SUB IDT Sub ID
List number which has field name to updateList number which has field name to update
List number of which has corresponding valuesList number of which has corresponding values

Example

EditICTransaction("POV","TID"," T Sub ID"," List number wihcih has filed name to update"," List number of which has corresponding values");
CreateAutoMatchByIDTemplate

Create Auto Match By ID Template

Input

**Parameter****Mandatory****Comment**
namename
DescriptionDescription
Security ClassSecurity Class
isPrivateisPrivate
OverwriteOverwrite
LocationLocation
POVPOV
EntityEntity
ICPICP
CurrencyCurrency
ID TypeID Type
IDsIDs

Example

CreateAutoMatchByIDTemplate("name"," Description"," Security Class"," isPrivate"," Overwrite"," Location","POV","  Entity"," ICP"," Currency"," ID Type"," IDs");
CreateAutoMatchByAccountTemplate

Create Auto Match by Account Template

Input

**Parameter****Mandatory****Comment**
namename
DescriptionDescription
Security ClassSecurity Class
isPrivateisPrivate
OverwriteOverwrite
LocationLocation
POVPOV
EntityEntity
ICPICP
CurrencyCurrency
AccountsAccounts
Matching AccountsMatching Accounts

Example

CreateAutoMatchByAccountTemplate("name"," Description"," Security Class"," isPrivate"," Overwrite"," Location","POV","  Entity"," ICP"," Currency"," Accounts"," Matching Accounts");
ListMonitorIntercompany

List Monitor Intercompany

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
LabelLabel
Output FileOutput File

Example

ListMonitorIntercompany("Actual","2010"," Quarter1","C:SourceJhatreportsgetMonitorIntercompanyTranscations.txt");
ListMonitorIntercompanySummary

List Monitor Intercompany Cummary

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
LabelLabel
Output FileOutput File

Example

ListMonitorIntercompanySummary("Actual","2010"," Quarter1","C:SourceJhatreportsgetMonitorIntercompanyTranscations.txt");
FilterMonitorIntercompany

Filter Monitor Intercompany

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
EntitiesString of Entities delimited by `;`
Output FileOutput File
ActiveActive
  • true
  • false
Process StatusProcess Status
  • Started
  • Not Started
Lock StatusLock Status
  • Lockable
  • Not Lockable
  • Locked

Example

FilterMonitorIntercompany("Actual","2010"," Quarter1","","A;B;C;","C:SourceJhatreportsgetMonitorIntercompanyTranscations.txt"," ActiveTrue/false"," ProcessStatus"," LockStatus","");

JHAT Commands: Journals

Overview

These JHAT commands are related to Journal Entries

Commands

SubmitJournal

Submit Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

SubmitJournal("Scenario"," Year"," Period"," Journal Label");
ApproveJournal

Approve Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

ApproveJournal("Scenario"," Year"," Period"," Journal Label");
GetAdjustments

Get Adjustments

Input

None

Example

GetAdjustments("");
OpenPeriod

Open Period

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod

Example

OpenPeriod("Scenario"," Year"," Period");
ClosePeriod

Close Period

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod

Example

ClosePeriod("Scenario"," Year"," Period");
PostJournal

Post Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

PostJournal("Scenario"," Year"," Period"," Journal Label");
UnPostJournal

UnPost Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

UnPostJournal("Scenario"," Year"," Period"," Journal Label");
UnSubmitJournal

UnSubmit Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

UnSubmitJournal("Scenario"," Year"," Period"," Journal Label");
RejectJournal

Reject Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

RejectJournal("Scenario"," Year"," Period"," Journal Label");
DeleteJournal

Delete Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

DeleteJournal("Scenario"," Year"," Period"," Journal Label");
GetJournal

Get Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

GetJournal("Scenario"," Year"," Period"," Journal Label");
ScanJournal

Scan Journal

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
PeriodPeriod
Journal LabelJournal Label

Example

ScanJournal("Scenario"," Year"," Period"," Journal Label");
ValidateJournalTemplatePOV

Validate Journal Template POV

Input

**Parameter****Mandatory****Comment**
POV StringPOV String

Example

ValidateJournalTemplatePOV("POV String");
GetTemplate

Get Template

Input

**Parameter****Mandatory****Comment**
Template LabelTemplate Label

Example

GetTemplate("Template Label");
DeleteTemplate

Delete Template

Input

**Parameter****Mandatory****Comment**
Template LabelTemplate Label

Example

DeleteTemplate("Template Label");
GenerateRecurringJournal

Generate Recurring Journal

Input

**Parameter****Mandatory****Comment**
POVPOV
TypeType
BalanceTypeBalanceType
LabelLabel
DescriptionDescription
GroupGroup
SecurityClassSecurityClass
Single or MultiSingle or Multi

Example

GenerateRecurringJournal("POV","Type"," BalanceType"," Label"," Description"," Group"," SecurityClass"," Single or Multi");
CreateJournal

Create Journal

Input

**Parameter****Mandatory****Comment**
POVPOV
TypeType
  • AutoReversing
  • AutoReversal
  • Unit
  • Regular
Balance TypeBalance Type
  • Balanced
  • UnBalanced
  • BalancedByEntity
LabelLabel
DescriptionDescription
GroupGroup
Security ClassSecurity Class
Single or MultiSingle or Multi

Example

CreateJournal("POV","Type"," BalanceType"," Label"," Description"," Group"," SecurityClass"," Single or Multi");
CreateTemplate

Create Journal Template Template

Input

**Parameter****Mandatory****Comment**
POVPOV
Balance TypeBalance Type
  • Balanced
  • UnBalanced
  • BalancedByEntity
LabelLabel
DescriptionDescription
GroupGroup
Standard or RecurringStandard or Recurring
Single Or MultiSingle Or Multi
SecurityClassSecurityClass

Example

CreateTemplate("POV","Balance Type"," Label"," Description"," Group"," Standard or Recurring"," Single Or Multi"," SecurityClass");
FilterJournals

Filter Journals

Input

**Parameter****Mandatory****Comment**
Output fileoutput file
Sort typeSort type
ScenarioScenario
YearYear
PeriodPeriod
ValueValue
ColumnsColumns
  • Jnl_Label (Label)
  • Jnl_Status (Journal Status)
  • Jnl_Type (Journal Type)
  • Jnl_LastActedOn (Last Acted On)
  • Jnl_BalanceAttribute (Balance Attribute)
  • Jnl_Group (Journal Group)
  • Jnl_Description (Description)
  • Jnl_SecurityClass (Secutiry Class)
  • Jnl_TruncatedDescription (Truncated Description)
  • Jnl_CreatedBy (Created By)
  • Jnl_CreatedOn (Created On)
  • Jnl_LineItemEntity (Line Item Entity)
  • Jnl_ApprovedBy (Journal Approved By)
  • Jnl_ApprovedOn (Journal Approved On)
  • Jnl_LastActedBy (Journal Last Acted By)
  • Jnl_LineItemParent (Journal Line Item Parent)
Entity FilterEntity Filter

Can be blank

Group FilterGroup Filter

Can be blank

Label FilterLabel Filter

Can be blank

Journal TypesJournal Types (delimited by `;`)
  • Reversing
  • Auto Reversal
  • Unit
  • Regular
Balance TypesBalance types (delimited by `;`)
  • Balanced
  • Unbalanced
  • Balanced by Entity
Status typesStatus types (delimited by `;`)
  • Approved
  • Posted
  • Rejected
  • Submitted
  • Working

Example

FilterJournals("output file"," Sort type"," Scenario"," Year"," Period"," Value"," Columns"," Entity Filter","Group Filter","Label Filter","Journal Types"," Balance Types"," Status types");
AddLineItemToJournal

Add Line Item To Journal

Input

**Parameter****Mandatory****Comment**
POVPOV
Journal LabelJournal Label
TypeType
  • Debit
  • Credit
  • Unit
AmountAmount
DescriptionDescription

Example

AddLineItemToJournal("POV","Journal Label","Type"," Amount"," Description");
GenerateRecurring

Generate Recurring

Input

**Parameter****Mandatory****Comment**
POVPOV
template Labeltemplate Label

Example

GenerateRecurring("POV","template Label");
AddLineToTemplate

Add Line To Template

Input

**Parameter****Mandatory****Comment**
POVPOV
Template LabelTemplate Label
TypeType
  • Debit
  • Credit
  • Unit
AmountAmount
DescriptionDescription

Example

AddLineToTemplate("POV","Teplate Label","Type"," Amount"," Description");
CreateJournalFromTemplate

Create Journal From Template

Input

**Parameter****Mandatory****Comment**
POVPOV
LabelLabel
NewLabelNewLabel
TypeType
Balance TypeBalance Type
  • Balanced
  • UnBalanced
  • BalancedByEntity
DescriptionDescription
GroupGroup
SecurityClassSecurityClass

Example

CreateJournalFromTemplate("POV","Label"," NewLabel"," Type"," Balance Type"," Description"," Group"," SecurityClass");
AddRegKey

Add Reg Key

Input

**Parameter****Mandatory****Comment**
keykey

Example

AddRegKey("key");
DeleteRegKey

Delete Reg Key

Input

**Parameter****Mandatory****Comment**
keykey

Example

DeleteRegKey("key");
CreateJournalGroup

Create Journa lGroup

Input

**Parameter****Mandatory****Comment**
NameName
DescriptionDescription

Example

CreateJournalGroup("Name","Description");
GetJournalGroups

Get Journal Groups

Input

None

Example

GetJournalGroups("");
ListJournalPeriods

List Journal Periods

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear

Example

ListJournalPeriods("Scenario","Year");
DeleteJournalGroup

Delete Journal Group

Input

**Parameter****Mandatory****Comment**
LabelLabel

Example

DeleteJournalGroup("Label");
DeleteAllJournalGroups

Delete All Journal Groups

Input

None

Example

DeleteAllJournalGroups("");
FilterTemplates

Filter Templates

Input

**Parameter****Mandatory****Comment**
Output FileOutput File
SortSort
  • A (Ascending)
  • D (Descending)
ColumnsColumns to Return in the Filter
  • Tmp_Label (Label)
  • Tmp_BalanceAttribute (Balance Attribute)
  • Tmp_Group (Journal Group)
  • Tmp_Description (Template Description)
  • Tmp_TruncatedDescription (Template Truncated Description
  • Tmp_Type (Journal Template Type)
  • Tmp_LineItemEntity (Line Item Entity)
  • Tmp_LineItemParent (Line Item Parent)
  • Tmp_SecurityClass (Template Security Class)
  • Tmp_ValueDimension (Template Value Dimension)
Entity FilterEntity Filter

Can be blank

Group FilterGroup Filter

Can be blank

Label FilterLabel Filter

Can be blank

DescriptionDescription

Can be blank

Template TypeTemplate Type (delimited by `;`)
  • None
  • Standard
  • Recurring
Balance typesBalance types (delimited by `;`)
  • Balanced
  • Unbalanced
  • Balanced by Entity

Example

FilterTemplates("output file"," SORTA|D"," Columns"," Entity Filter","Group Filter","Label Filter","Description   "," Template Type"," Balance types");

JHAT Commands: Load

Overview

These JHAT Commands have to do with Loading Data, Journals, etc.

Commands

LoadSecurity

Load Security Into HFM

Input

**Parameter****Mandatory****Comment**
Security FileSecurity File
LogLog
DelmiterDelmiter
Clear before LoadClear before Load
  • true
  • false
Validate UsersValidate Users
  • true
  • false
Load UsersLoad Users
  • true
  • false
Load ClassesLoad Classes
  • true
  • false
Load RolesLoad Roles
  • true
  • false
Load AccessesLoad Accesses
  • true
  • false

Example

LoadSecurity("C:HfmSecurityLoadFile.sec"," C:HfmSecurityLoad.log",";"," True/False Clear before Load"," True/False Validate Users"," True/False Load Users"," True/False Load Classes"," True/False Load Roles"," True/False Load Accesses");
LoadSecurityExpanded

Load Security Expanded

Input

**Parameter****Mandatory****Comment**
Security FileSecurity File
Log FileLog File
DelimiterDelimiter
Clear All?Clear All?
  • true
  • false
Validate Users?Validate Users?
  • true
  • false
Filter Users?Filter Users?
  • true
  • false
Filter Security Class?Filter Security Class?
  • true
  • false
Filter Role Access?Filter Role Access?
  • true
  • false
Filter Security Class Access?Filter Security Class Access?
  • true
  • false

Example

LoadSecurityExpanded("Security File","Log File","Delimiter","Clear All?","Validate Users?","Filter Users?","Filter Security Class?","Filter Role Access?","Filter Security Class Access?");
LoadMetaData

Load MetaData

Can have 3, 17 or 18 parameters

Input

**Parameter****Mandatory****Comment**
Load FileLoad File
Log File Log File
DelimiterDelimiter
ModeMode
  • Merge
  • Replace
  • Clear
Load Currencies?Load Currencies
  • true
  • false
Load Scenarios?Load Scenarios
  • true
  • false
Load Entities?Load Entities
  • true
  • false
Load Accounts?Load Accounts
  • true
  • false
Load Custom1?Load Custom1
  • true
  • false
Load Custom2?Load Custom2
  • true
  • false
Load Custom3?Load Custom3
  • true
  • false
Load Custom4?Load Custom4
  • true
  • false
Load Consolidation Methods?Load Consolidation Methods
  • true
  • false
Load App Settings?Load App Settings
  • true
  • false
System Accounts?System Accounts
  • true
  • false
Load Value Dimension?Load Value Dimension
  • true
  • false
Load ICP?Load ICP
  • true
  • false
Integrity Check?Integrity Check
  • true
  • false

Example

LoadMetaData("C:HfmMetadataLoadFile.xml"," C:HfmMetadataLoad.log",";","Merge, Replace or Clear Mode"," True or False Load Currencies"," True or FalseLoad Scenarios"," True or False Load Entities"," True or False Load Accounts"," True or False Load Custom1"," True or False Load Custom2"," True or False Load Custom3"," True or False Load Custom4"," True or False Load Consolidation Methods"," True or False Load App Settings","True or False System Accounts","True or False Load Value Dimension","True or False Load ICP","True or False Integrity Check");
LoadMetaDataExtDim

Load MetaData Extended

Input

**Parameter****Mandatory****Comment**
Load FileLoad File
Log FileLog File
DelimiterDelimiter
ModeMode
  • Merge
  • Replace
  • Clear
Check IntegrityCheck Integrity
  • true
  • false
Dimensions to Load Dimensions to Load
Load CurrenciesLoad Currencies
  • true
  • false
Load App SettingsLoad App Settings
  • true
  • false
Load Consolidation MethodsLoad Consolidation Methods
  • true
  • false
Load System AccountsLoad System Accounts
  • true
  • false

Example

LoadMetaDataExtDim("Load Filename", "Log Filename", "Delimiter", "ReplaceMode", "CheckIntegrity", "DimensionsToLoad","Load Currencies", "LoadAppSettings", "Load Consol Methods", "LoadSystemAccounts");
LoadICTransactions

Load Intercompany Transactions

Input

**Parameter****Mandatory****Comment**
Load Filec:HFMICTrans.trn
Log Filec:HFMICtrans.log
ModeMode
  • Load
  • Scan
Load OptionLoad Option
  • Merge
  • Replace
DelimiterDelimiter

Example

LoadICTransactions("c:HFMICTrans.trn"," c:HFMICtrans.log"," Load","Merge",";");
LoadDocument

Load Document

Input

**Parameter****Mandatory****Comment**
File NameFile Name
File DescriptionFile Description
Path to DocumentPath to Document on Local Machine
Security ClassSecurity Class
OverwriteOverwrite
  • true
  • false
Document TypeDocument Type
  • WEBFORM
  • JOURNAL
  • INTERCOMPANY
  • ICTRANSACTION
  • ICMATCHACCOUNT
  • ICMATCHID
  • ICMATCHTEMPLATE
  • DATAEXPLORER
  • WEBGRID
  • WORKSPACE
  • CUSTOM
  • TASK
  • FOLDER
  • All
File TypeFile Type
  • FORM
  • REPORT
  • XML
  • HTML
  • REPORTXML
  • CUSTOM
  • FOLDER
  • All
Is Private?Is Private?
  • true
  • false
Path in HFMPath in HFM

Example

LoadDocument("FormTest","Test Description"," C:inputdirCalc2col.wdf"," US"," true","WebForm","FORM","true","/RootFolder/Test");
LoadRules

Load Rules

Input

**Parameter****Mandatory****Comment**
Rule FilePath to Rule File
Log FilePath to Log File
Scan Only?Scan Only
  • true
  • false

Optional

Example

LoadRules("C:HfmRuleLoadFile.rul"," C:HfmRulesLoad.log"," Optional True or False Scan Only");
LoadMemberLists

Load Member Lists

Input

**Parameter****Mandatory****Comment**
Member List FileMember List File
Log FilePath to Log File
Scan Only?Scan Only
  • true
  • false

Optional

Example

LoadMemberLists("C:HfmMemberListsLoadFile.lst"," C:HfmMemberListsLoad.log"," Optional True or False Scan Only");
LoadData

Load Data

Input

**Parameter****Mandatory****Comment**
Load ModeLoad Mode
  • Merge
  • Replace
  • Accumulate
  • ReplaceBySecurity
Data FileData File
Log FileLog File
Accumulate withing File?Accumulate withing File?
  • true
  • false
Contains Ownership?Contains Ownership?
  • true
  • false

Example

LoadData("Merge"," C:HfmDataLoadFile.dat"," C:HfmDataLoad.log"," True or False Accumulate in File"," True or False contains ownership data"," ");
StartLoadData

Start Load Data

Calls the same API as `LoadData`

Input

**Parameter****Mandatory****Comment**
Load ModeLoad Mode
  • Merge
  • Replace
  • Accumulate
  • ReplaceBySecurity
Data FileData File
Log FileLog File
Accumulate withing File?Accumulate withing File?
  • true
  • false
Contains Ownership?Contains Ownership?
  • true
  • false

Example

StartLoadData("Merge"," C:HfmDataLoadFile.dat"," C:HfmDataLoad.log"," True or False Accumulate in File"," True or False contains ownership data"," ");
LoadPhaseInfo

Load Phase Info

Input

**Parameter****Mandatory****Comment**
Load ModeLoad Mode
  • Merge
  • Replace
Data FileData File
Log FileLog File
DelmiterDelimiter

Example

LoadPhaseInfo("Merge or Replace"," C:HfmDataLoadFile.dat"," C:HfmDataLoad.log"," ");
LoadJournal

Load Journal

Input

**Parameter****Mandatory****Comment**
Data FileData File
Log FileLog File
DelmiterDelimiter

Example

LoadJournal("C:HfmDataLoadFile.dat"," C:HfmDataLoad.log"," ");
LoadModuleConfiguration

Load Module Configuration

Input

**Parameter****Mandatory****Comment**
Data FileData File
Log FileLog File

Example

LoadModuleConfiguration("C:HfmModuleConfiguration.XML"," C:HfmModuleConfiguration.log");

JHAT Command: Macros

Overview

These JHAT Commands are related to Macros

Commands

SubstituteMacro

Substitute Macro

Input

**Parameter****Mandatory****Comment**
Macro NameMacro Name

Example

SubstituteMacro("__MacroName__");
DefineMacro

Define Macro

Input

**Parameter****Mandatory****Comment**
Macro NameMacro Name
Macro Replacement TextMacro Replacement Text

Example

DefineMacro("__MacroName__"," MacroRecplacmentText");
DefineMacroEx

Define Macro Ex

Input

**Parameter****Mandatory****Comment**
\_\_ExMacroName\_\_\_\_ExMacroName\_\_
\_\_MacroName\_\_/MacroRecplacmentText\_\_MacroName\_\_/MacroRecplacmentText
\_\_MacroName\_\_/MacroRecplacmentText ...\_\_MacroName\_\_/MacroRecplacmentText ...

Example

DefineMacroEx("__ExMacroName__","__MacroName__/MacroRecplacmentText"," __MacroName__/MacroRecplacmentText ...");
RemoveMacro

Remove Macro

Input

**Parameter****Mandatory****Comment**
Macro NameMacro Name

Example

RemoveMacro("__MacroName__");
ShowMacros

ShowMacros

Input

None

Example

ShowMacros("");
Comment

Comment

Input

**Parameter****Mandatory****Comment**
Comment TextComment Text

Example

Comment("comment text");
LoadMacros

Load Macros

Input

**Parameter****Mandatory****Comment**
Macro File NameMacro File Name

Example

LoadMacros("macro file name");

JHAT Commands: Configuration

Overview

These JHAT Commands are related to configuration actions

Commands

DisableEnableModule

DisableEnableModule

Input

**Parameter****Mandatory****Comment**
Module NameModule Name
Enable/DisableEnable/Disable

Example

DisableEnableModule("Module Name"," Enable/Disable");

JHAT Commands: Miscellaneous Actions

Overview

These JHAT Commands are related to miscellaneous actions

Commands

CalculateOwnership

Calculate Ownership

Must add periods to list.

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
Period ListPeriod List
  • All
  • Valid Period List
ParentParent
Shares Calculation Control?Shares Calculation Control?
  • true
  • false
Shares Calculation Method?Shares Calculation Method?
  • true
  • false
Shares Calculation Ownership?Shares Calculation Ownership?
  • true
  • false
Shares Percent Control?Shares Percent Control?
  • true
  • false
Shared Direct OwnershipShared Direct Ownership?
  • true
  • false
ModeMode
  • Current Entity
  • Descendants
  • All Entities

Example

CalculateOwnership("Scenario","2001","1","Parent","TRUE","TRUE","TRUE","TRUE"," TRUE"," All Entities");
CopyData

Copy Data

Input

**Parameter****Mandatory****Comment**
Source ScenarioSource Scenario
Target ScenarioTarget Scenario
Source YearSource Year
Target YearTarget Year
Source Period ListSource Period List
  • All
  • Valid Period List
Target Period ListTarget Period List
  • All
  • Valid Period List
Entity ListEntity List
  • All
  • Valid Entity List
Account ListAccount List
  • All
  • Valid Account List
Log FileLog File
Factor to MultiplyFactor to Multiply
Copy Cell Text?Copy Cell Text?
  • true
  • false
Copy Derived Data?Copy Derived Data?
  • true
  • false
Copy ModeCopy Mode
  • MERGE
  • REPLACE
  • ACCUMULATE
ViewView
Copy Data?Copy Data?
  • true
  • false
Copy Rates?Copy Rates?
  • true
  • false
Enable LoggingEnable Logging
  • true
  • false

Example

CopyData("Actual"," Budget"," 2000"," 2005"," 1"," 2"," 1"," 1"," C:hfmoutboxDataCopy.log"," 1.5"," true"," true"," merge"," YTD"," Entity Curr Data"," Rates Sys Data"," Enable Logging");
ClearData

Clear Data

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
YearYear
Period ListPeriod List
  • All
  • Valid Period List
Entity ListEntity List
  • All
  • Valid Entity List
Account ListAccount List
  • All
  • Valid Account List
Clear Rates and System Data?Clear Rates and System Data?
Enable Detailed LoggingEnable Detailed Logging
  • true
  • false
Clear DataClear Data
  • true
  • false
Log FileLog File
  • true
  • false

Example

ClearData("Actual"," 2005"," 1"," 2"," 1"," true"," true","true","C:hfmoutboxcleardata.log");
DeleteInvalidRecords

Delete Invalid Records

Input

**Parameter****Mandatory****Comment**
Clear Invalid Records?Clear Invalid Records?
  • true
  • false
Log FileLog File

Example

DeleteInvalidRecords("false","C:hfmoutboxInvalidRecords.log");
exit

exit

Input

None

Example

exit();
UpdateParameter

Update Parameter

Updates the `XFM_PARAMETERS` table

Input

**Parameter****Mandatory****Comment**
Parameter NameParameter Name
Parameter ValueParameter Value

Example

UpdateParameter(""," ");
GetMemberProperties

Get Member Properties

Input

**Parameter****Mandatory****Comment**
Dimension NameDimension Name
Dimension MembersDimension Members
File PathFile Path

Example

GetMemberProperties("Dimension Name","Dimension Members","File Path");

JHAT Commands: Process Management

Overview

These JHAT Commands are related to Process Management actions

Commands

ProcessFlowGetHistory

Process Flow Get History

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
Log FileLog File
Suppress Time?Suppress Time?
  • true
  • false
Suppress User?Suppress User?
  • true
  • false

Example

ProcessFlowGetHistory("C:hfmhistoryfile.log"," true|false"," true|false");
ProcessFlowChangeIncludeDescendants

Process Flow Change Include Descendants

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
ActionAction
  • START
  • PROMOTE
  • SIGNOFF
  • SUBMIT
  • APPROVE
  • PUBLISH
  • REJECT
Not ApplicableNot Applicable
PhasesPhases (can be comma Delimited)

Example

ProcessFlowChangeIncludeDescendants("Start","NA"," 1");
ProcessFlowStart

Process Flow Start

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
CommentComment
Use All Member ValuesUse All Member Values
Output FileOutput File
Suppress TimestampSuppress Timestamp
  • true
  • false
Suppress User IDSuppress User ID
  • true
  • false

Example

ProcessFlowStart("Comment"," Use all members values true or false"," Filename to put history in"," Supress timestamp true||false "," Supress user idtrue||false");
ProcessFlowPromote

Process Flow Promote

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
CommentComment
Use All Member ValuesUse All Member Values
Output FileOutput File
Review Level to Promote to RL#Review Level to Promote to RL#
  • RL1
  • RL2
  • RL3
  • etc
Suppress TimestampSuppress Timestamp
  • true
  • false
Suppress User IDSuppress User ID
  • true
  • false

Example

ProcessFlowPromote("Comment"," Use all members values true or false"," Filename to put history in"," Review Level to Promote to RL#"," Supress timestamp true||false "," Supress user idtrue||false");
ProcessFlowSubmit

Process Flow Submit

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
CommentComment
Use All Member ValuesUse All Member Values
Output FileOutput File
Suppress TimestampSuppress Timestamp
  • true
  • false
Suppress User IDSuppress User ID
  • true
  • false

Example

ProcessFlowSubmit("Comment"," Use all members values true or false"," Filename to put history in"," Supress timestamp true||false "," Supress user idtrue||false");
ProcessFlowApprove

Process Flow Approve

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
CommentComment
Use All Member ValuesUse All Member Values
Output FileOutput File
Suppress TimestampSuppress Timestamp
  • true
  • false
Suppress User IDSuppress User ID
  • true
  • false

Example

ProcessFlowApprove("Comment"," Use all members values true or false"," Filename to put history in"," Supress timestamp true||false "," Supress user idtrue||false");
ProcessFlowPublish

Process Flow Publish

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
CommentComment
Use All Member ValuesUse All Member Values
Output FileOutput File
Suppress TimestampSuppress Timestamp
  • true
  • false
Suppress User IDSuppress User ID
  • true
  • false

Example

ProcessFlowPublish("Comment"," Use all members values true or false"," Filename to put history in"," Supress timestamp true||false "," Supress user idtrue||false");
ProcessFlowSignOff

Process Flow Sign Off

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
CommentComment
Use All Member ValuesUse All Member Values
Output FileOutput File
Suppress TimestampSuppress Timestamp
  • true
  • false
Suppress User IDSuppress User ID
  • true
  • false

Example

ProcessFlowSignOff("Comment"," Use all members values true or false"," Filename to put history in"," Supress timestamp true||false "," Supress user idtrue||false");
ProcessFlowReject

Process Flow Reject

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
CommentComment
Use All Member ValuesUse All Member Values
Output FileOutput File
Suppress TimestampSuppress Timestamp
  • true
  • false
Suppress User IDSuppress User ID
  • true
  • false

Example

ProcessFlowReject("Comment"," Use all members values true or false"," Filename to put history in"," Supress timestamp true||false "," Supress user idtrue||false");
GetPhaseSubmissionGrid

GetPhaseSubmissionGrid

Must Call `SetPOV` prior to calling this.

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
PhasePhase
  • All
  • 1
  • 2
  • 3
  • etc
Output File PathOutput File Path

Example

GetPhaseSubmissionGrid("Scenario"," All | Phase number"," Output File Path");
ViewUnassignedGroups

View Unassigned Groups

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
PeriodPeriod
Output File PathOutput File Path

Example

ViewUnassignedGroups("Scenario"," Period"," Output File Path");
SetSubmissionGroup

Set Submission Group

Input

**Parameter****Mandatory****Comment**
ScenarioScenario
PeriodPeriod
PhasePhase
Group ValueGroup Value

Example

SetSubmissionGroup("Scenario"," Period"," Phase"," Group Value");

JHAT Commands: Journal Reports

Overview

These JHAT Commands are related to Journal Report actions

Commands

GetAutoJournalReportWithFilter

Export an Auto Journal Report with Entity and Group filters to a flat file

Input

**Parameter****Mandatory****Comment**
POVPOV
Output File PathOutput File Path
Entity FilterEntity Filter
Group FilterGroup Filter

Example

GetAutoJournalReportWithFilter("POV","Output File Path","Entity Filter","Group Filter");
GetAutoJournalReport

Export an Auto Journal Report to a flat file

Input

**Parameter****Mandatory****Comment**
POVPOV
Output File PathOutput File Path

Example

GetAutoJournalReport("POV","Output File Path");
GenerateReport

Run a Journal Report and Save the File

Input

**Parameter****Mandatory****Comment**
Path Path to Report in Documents
Report NameReport Name
Report TypeReport Type:
  • JOURNAL_REPORT
  • SYSTEM_MATCHING_REPORT
  • EPU_REPORT
  • SECURITY_ACCESS_CLASS_BY_USER_REPORT
  • SECURITY_ACCESS_ROLES_BY_USER_REPORT
  • SECURITY_ACCESS_CLASS_AND_ROLES_BY_USER_REPORT
  • SECURITY_ACCESS_USERS_BY_GROUP_REPORT
  • ICP_REPORT_TYPE_ID
  • ICM_REPORT_TYPE_ACCOUNT
  • ICM_REPORT_TYPE_TRANSACTION
Report FormatFormat of Export Report:
  • HFM_FORMAT - HFM format
  • PDF_FORMAT - PDF format
  • RTF_FORMAT - Rich Text File format
  • HTML_FORMAT - HTML Format
  • XLS_FORMAT - Excel 2010 and prior format
  • XLSX_FORMAT - Excel 2013 and newer format
Output File PathFile Path to Export the Report
POV OverrideEnter a POV to override any prior defined POVs by `SetPOV`

Example

GenerateReport("","C1detail","ReportType","HFM_FORMAT","OutputFilePath","Overridden POVSlice");

JHAT Commands: Runtime Actions

Overview

These JHAT Commands are related to Runtime actions

Commands

Delay

Delay

Input

**Parameter****Mandatory****Comment**
intervalInterval in miliseconds

Example

Delay("interval");
ReplaceLineInTextFile

Replace Line In Text File

Input

**Parameter****Mandatory****Comment**
File Name“\_\_@SCRIPTDIR\_\_Rules.rle”
Text to Find“Const BuildandTieFolder =”
Replacement Text“Const BuildandTieFolder = \_\_@DQUOTECHAR\_\_\_\_@BASEDIR\_\_\_\_@DQUOTECHAR\_\_

Example

ReplaceLineInTextFile("“__@SCRIPTDIR__Rules.rle”"," “Const BuildandTieFolder =”"," “Const BuildandTieFolder = __@DQUOTECHAR____@BASEDIR____@DQUOTECHAR__ ");
BeginLoop

Begin Loop

Input

**Parameter****Mandatory****Comment**
Repeat countRepeat count

Example

BeginLoop("Repeat count");
EndLoop

End Loop

Input

None

Example

EndLoop();
StartTimer

StartTimer

Input

**Parameter****Mandatory****Comment**
Timer IDTimer ID
Timer NameTimer Name

Example

StartTimer("3","Time to Load Metadata");
StopTimer

Stop Timer

Must Run `StartTimer` first

Input

**Parameter****Mandatory****Comment**
Timer ID1

Example

StopTimer("1");
AbortOnError

Abort On Error

Input

**Parameter****Mandatory****Comment**
Abort on ErrorAbort on Error
  • true
  • false

Example

AbortOnError("true");
SetNegativeTestingFlag

SetNegativeTestingFlag

Input

**Parameter****Mandatory****Comment**
Set Negative Testing FlagSet Negative Testing Flag
  • true
  • false

Example

SetNegativeTestingFlag("true");
CallOtherProcess

Call Other Process

Can have up to 100 arguments

JHAT will add double quotes around each argument.

Input

**Parameter****Mandatory****Comment**
ExecutableExecutable
Argument 1Argument 1
Argument 2Argument 2

Example

CallOtherProcess("Wscript.exe","C:hfmconsolidate.wsf","");
CompareFiles

Compare Files

Input

**Parameter****Mandatory****Comment**
File 1File 1
File 2File 2
ModeMode
Diff FileDiff File
Exclusion RulesExclusion Rules

Example

CompareFiles("file1"," file2"," mode"," diffFile"," exclusion_rules");
CompareFilesContentNotOrdered

Compare Files Content Not Ordered

Input

**Parameter****Mandatory****Comment**
File 1File 1
File 2File 2
Diff FileDiff File

Example

CompareFilesContentNotOrdered("file1"," file2"," diffFile");
CompareMultipleFiles

Compare Multiple Files

Input

**Parameter****Mandatory****Comment**
File SpecFile Spec
DirectoryDirectory
ModeMode
  • TEXT
Exclusion RulesExclusion Rules
Difference DirectoryDifference Directory

Example

CompareMultipleFiles("filenamespec"," directory"," mode"," rules","  diffDirectory;"," ");