Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDGARArchiveGetOwner Function

Overview

The EDGARArchiveGetOwner function returns the data for a specified reporting owner entry within an archive file.

Syntax/Parameters

Syntax

string [] = EDGARArchiveGetOwner ( handle hArchive, int index );

Parameters

hArchive

A handle that specifies the EDGAR Archive opened with EDGARArchiveOpen function.

index

An int specifying a reporting owner position from 0 to 9. The owner information is in the order as presented in the source file.

Return Value

A string array containing reporting owner information or empty on failure. Use the GetLastError function to retrieve a formatted error code. Referencing passed the end of the data will result in an ERROR_RANGE error.

Remarks 

The following key name elements are defined (note that while all fields are defined by the EDGAR PDS format, they may not contain data):

  OwnerName  Reporting owner name.
  OwnerCIK  Reporting owner CIK.
  SIC  Standard Industry Classification if the owner is a legal entity.
  StateOfInc  State of Incorporation if the owner is a legal entity.
  FYE Fiscal  Year End if the owner is a legal entity.
  FormType  Applicable form type.
  SECAct  Applicable SEC Act (33 or 40).
  FileNumber  Associated file number.
  FilmNumber  Associated archive film number
  BusinessStreet1  Business Address.
  BusinessStreet2  Business Address.
  BusinessCity  Business Address.
  BusinessState  Business Address.
  BusinessZip  Business Address.
  BusinessPhone  Business Phone Number.
  MailingStreet1  Mailing Address.
  MailingStreet2  Mailing Address.
  MailingCity  Mailing Address.
  MailingState  Mailing Address.
  MailingZip  Mailing Address.

 

The number of owners is limited by the EDGAR System to ten. To find the last owner, iterate through the indices until an empty list is returned. In addition to an empty list, the last error will be set to ERROR_RANGE (0x87000000).

Related Functions

Platform Support

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

Legato IDE, Legato Basic