Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter Twenty-threeXBRL Functions (continued)

XBRLViewOpenTransactionLog Function

Overview

The XBRLViewOpenTransactionLog function consumes an XDX Transaction Log and creates an XBRL View object and optionally export an XBRL file set.

Syntax/Parameters

Syntax

int = XBRLViewOpenTransactionLog (string source, [string xfr], [dword flags] );

Parameters

source

A string specifying the source XDX Transaction Log.

xfr

An optional string specifying a fully qualified filename and path to write the XBRL Financial Report File. This parameter is required to export an XBRL file set. If the xfr parameter is not set (or an empty string), the function will result in an XBRL View being opened and remaining open at the end of the translation process.

flags

A dword array of containing specific flags for processing. In the prerelease, setting this to TRUE will export an XBRL file set to the same path as the xfr parameter.

Return Value

Returns an int as a formatted error code on failure. Use the GetLastError function to retrieve error information. Additional error information may be available depending on the error using the GetLastErrorMessage function.

Remarks

Note that this function will result a view being opened and possible subsequently closed depending of the parameters.

See Appendex F, XDX Transaction Log, for the transaction log specification.

Platform Support

GoFiler Complete, GoFiler Corporate, GoXBRL