ExtractDrillableRegions

Retrieves all ERPI URL definitions.

Syntax

<HsvData>.ExtractDrillableRegions bstrRegionsFilename, bstrLogFileName, pvbErrors, pvbWarnings
ArgumentDescription
bstrRegionsFilenameString (ByVal). The file path to the definition file on the Financial Management application server.
bstrLogFileNameString (ByVal). The name and path of the log file. The path must exist on the application server.
pvbErrorsBoolean. Returns TRUE if errors occurred during the load task. See the log file for details.
pvbWarningsBoolean. Returns TRUE if warnings occurred during the load task.

Examples

This function is intended to be used by HFMAwbAgent. The following example will extract all existing definitions and save it to C:\\temp\\~RD416e.tmp. Progress messages and errors are saved in the log file C:\\temp\\~RD9bc2.tmp. If errors or warnings occur, vbError or vbWarnings will be set to VARIANT_TRUE.

ExtractDrillableRegions(_T(“C:\\temp\\~RD416e.tmp”), T(“C:\\temp\\~RD9bc2.tmp”), &vbError, &vbWarnings);