Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

XBRLFindCalculationRole Function

Overview

The XBRLFindCalculationRole is a high level function that locates the first role and returns an index to the calculation items.

Syntax/Parameters

Syntax

int = XBRLFindCalculationRole ( handle hXM, string role );

Parameters

hXM

A handle to an XBRL Object containing taxonomy information.

role

A string specifying the role URI to find.

Return Value

Returns an int as the zero-based index to the calculation item list or a formatted error code on failure.

On no error, The GetLastError function can be used to get the key index.

Remarks

Finds the specified item using the role key. Data can be retrieved using the XBRLFindCalculationItem. Items can be extracted in order using the key index from the GetLastError function.

Related Functions

Platform Support

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

Legato IDE, Legato Basic