XBRLProcessor Class [AX 2012]

The XBRLProcessor class encapsulates most of functionality that is used for XBRL reporting.

class XBRLProcessor

Run On

Client

  MethodDescription
Gg800838.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg800838.protmethod(en-us,AX.60).gif importElements Imports elements from the specified taxonomy schema file.
Gg800838.protmethod(en-us,AX.60).gif importInternalLinkbases Runs through a list of linkbase names and imports them one by one by using the XBRLProcessor.importLinkbase Method method.
Gg800838.pubmethod(en-us,AX.60).gif importLinkbase Goes through a linkbase file, finds the XBRL locators, labels, references and arcs that are stored there, and then fills appropriate tables.
Gg800838.pubmethod(en-us,AX.60).gif importSchema
Gg800838.protmethod(en-us,AX.60).gif initForImport Initializes the XBRLProcessor class before taxonomy import.
Gg800838.pubmethod(en-us,AX.60).gif loadTaxonomyFromFile Imports the main schema file of the taxonomy, and runs several update methods thereafter.
Gg800838.protmethod(en-us,AX.60).gif loadXmlDocument
Gg800838.privmethod(en-us,AX.60).gif new Initializes a new instance of the XBRLProcessor class.
Gg800838.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::construct Creates an instance of the XBRLProcessor class and initializes it either for import or for transfer.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::convertRelativeFileName
Gg800838.privmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::copyChildren
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::generateXbrlInstance Launches the appropriate instance document generation method for each XBRL version.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::generateXbrlInstanceV2 Generates an XBRL instance document in accordance with XBRL Specification 2.0.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::generateXbrlInstanceV2p1 Generates an XBRL instance document in accordance with XBRL Specification 2.1.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::getFileName Analyzes the full file name, which may also be a simple file name or have an additional part separated with a number sign (#), for example, c:\sample.xml#some_element. The method then finds the actual file name, which is sample.xml in this case.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::getFullFolderName Extracts a folder name from a full file name.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::isMonetary
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::meaningfulPhrasePart Finds the first occurrence of one of the specified symbols in the phrase, and then returns the text to the right of that symbol.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::transferBranchesByLocatorIds
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::updateCalculationRows
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::updateDefaultLabels Finds labels for each taxonomy element and chooses one of them as a default.
Gg800838.pubmethod(en-us,AX.60).gif Gg800838.static(en-us,AX.60).gif ::updateHasChildrenField Collects and stores information in the taxonomy elements table on whether taxonomy elements have sub-elements in different types of relations (presentation, calculation, and definition). The method is used due to performance issues.
Top

This class has the following two main functions:

  • To import XBRL taxonomies to Microsoft Dynamics AX.

  • To transfer imported taxonomies (or their parts) to row structures for further printing or writing into XML files.

static void example(XBRLTaxonomyIdentificator _XBRLTaxonomyIdentificator) 
{ 
    XBRLProcessor processor = XBRLProcessor::construct( 
        _XBRLTaxonomyIdentificator); 
    // Initialize for import. 
 
    if(!processor.loadTaxonomyFromFile( 
        'http://sample.org/sample.xsd')) 
    { 
        return; 
    } 
}

Object Class
  XBRLProcessor Class

Community Additions

ADD
Show: