Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

XBRLSetOptions Function

Overview

The XBRLSetOptions function allows various options to be set for the XBRL Model.

Syntax/Parameters

Syntax

int = XBRLSetOptions ( handle hXM, dword options );

Parameters

hXM

A handle to an XBRL Object.

options

A dword specifying the options to set.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure.

Remarks

The following options can be set:

  SDK Definition   Bitwise   Descritption  
  API Options          
    XM_OPTIONS_TERSE_DATA_SETS   0x00000001   Do Not Report Certain Items  
    XM_OPTIONS_VERBOSE_DATA_SETS   0x00000002   Report Extra Items Certain Items  
  Model Processing          
    XM_OPTIONS_NO_TAXONOMY_ERRORS   0x00010000   Do Not Report Taxonomy Errors  

 

The XM_OPTIONS_NO_TAXONOMY_ERRORS option suppresses certain taxonomy errors from being added to the log. this is helpful if the taxonomies in use may have errors that the user cannot control but other errors need to be reported. An instance can be loaded with XBRLLoadInstance, this option set and then the XBRLLoadTaxonomy and XBRLPostProcess functions can be run.

The terse and verbose options apply in particular to retrieving fact data sets both that are very large or desire all the associated data to be reported in a single call.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic