GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Twenty-three — XBRL Functions (continued)
XBRLViewGetPrimaryContext Function
Overview
The XBRLViewGetPrimaryContext function retrieves the “primary context” index for the XBRL Object.
Syntax/Parameters
Syntax
int = XBRLViewGetPrimaryContext ( handle hXBRL );
Parameters
hXBRL
A handle containing the reference to an XBRL object.
Return Value
An int representing the context zero-based index to the contexts or a formatted error code. The index value can be used to reference an array of contexts as retrieved using the XBRLViewGetContexts function.
Remarks
The “primary context” is determined by examining the Document and Entity Information (DEI) and specifies the instance context for the ending period of the report.
Note that the XBRL and US-GAAP specifications do not contain a designation for a primary context.
Related Functions
Platform Support
GoFiler Complete, GoFiler Corporate, GoXBRL
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.