LoadCalcRules2

Scans or loads a rules file from a client computer, optionally validating whether the rules violate the referential integrity of any intercompany transactions.

LoadCalcRules2 returns Booleans that indicate whether validation errors, validation warnings, and validation information were included in the log file.

Note:

You must call SetSession before calling LoadCalcRules2. SetSession points to the application for which rules are being loaded.

Syntax

<HsvRulesLoadACV>.LoadCalcRules2 bstrClientFilename, bstrLogFilename, vbScanOnly, vbCheckRefInteg, pbErrorsWereFound, pbWarningsWereFound, pvbInfoWasProvided

Argument

Description

bstrClientFilename

String (ByVal). The name and path of the file containing the rules to be loaded or scanned. The path must be valid for the client computer.

For details on the file’s required format, see the Oracle Hyperion Financial Management, Fusion Edition Administrator's Guide.

bstrLogFilename

String (ByVal). The name and path of the log file for the load or scan operation.

vbScanOnly

Boolean (ByVal). A flag that specifies whether to load or scan the rules file. Pass TRUE to scan, FALSE to load.

vbCheckRefInteg

Boolean (ByVal). A flag that specifies whether to validate the referential integrity of intercompany transactions. Pass TRUE to validate intercompany transactions, FALSE otherwise.

pbErrorsWereFound

Boolean. Indicates whether LoadCalcRules2 included any validation errors in the log file. Returns TRUE if errors were found, FALSE otherwise.

pbWarningsWereFound

Boolean. Indicates whether LoadCalcRules2 included any validation warnings in the log file. Returns TRUE if warnings were found, FALSE otherwise.

pvbInfoWasProvided

Boolean. Indicates whether LoadCalcRules2 included any information not classified as errors or warnings in the log file. Returns TRUE if non-error and non-warning information was included, FALSE otherwise.